Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.948/1.948, allocations: 390.4 MB / 397.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 189.3 kB / 490.8 MB, free: 11.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.4 MB / 0.7863 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 90.67 kB / 0.9264 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3386/0.3396, allocations: 149.1 MB / 1.072 GB, free: 15.43 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7449/1.085, allocations: 143 MB / 1.212 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8996/1.984, allocations: 374.7 MB / 1.578 GB, free: 287 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/1.985, allocations: 84.41 kB / 1.578 GB, free: 286.9 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.02689/2.011, allocations: 11.33 MB / 1.589 GB, free: 283.4 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/2.012, allocations: 8.469 kB / 1.589 GB, free: 283.4 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/2.012, allocations: 22.34 kB / 1.589 GB, free: 283.4 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/2.012, allocations: 274.3 kB / 1.589 GB, free: 283.1 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/2.012, allocations: 1.125 kB / 1.589 GB, free: 283.1 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/2.012, allocations: 9.094 kB / 1.589 GB, free: 283.1 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002285/2.012, allocations: 87.94 kB / 1.589 GB, free: 283.1 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/2.013, allocations: 117.7 kB / 1.589 GB, free: 283.1 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/2.013, allocations: 0 / 1.589 GB, free: 283.1 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/2.013, allocations: 9.391 kB / 1.589 GB, free: 283 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/2.013, allocations: 0 / 1.589 GB, free: 283 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/2.014, allocations: 471.8 kB / 1.59 GB, free: 282.7 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/2.014, allocations: 75.11 kB / 1.59 GB, free: 282.7 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/2.014, allocations: 55.86 kB / 1.59 GB, free: 282.7 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/2.014, allocations: 0.5166 MB / 1.59 GB, free: 282.1 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/2.014, allocations: 39.83 kB / 1.59 GB, free: 282 MB / 1.026 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/2.014, allocations: 0 / 1.59 GB, free: 282 MB / 1.026 GB Notification: Performance of matching and sorting (n=11): time 0.003292/2.018, allocations: 454.9 kB / 1.591 GB, free: 281.9 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/2.018, allocations: 53.84 kB / 1.591 GB, free: 281.9 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/2.018, allocations: 195.3 kB / 1.591 GB, free: 281.7 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/2.018, allocations: 25.7 kB / 1.591 GB, free: 281.7 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/2.018, allocations: 116.5 kB / 1.591 GB, free: 281.6 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/2.018, allocations: 31.98 kB / 1.591 GB, free: 281.6 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/2.018, allocations: 0 / 1.591 GB, free: 281.6 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/2.018, allocations: 338.7 kB / 1.591 GB, free: 281.2 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/2.018, allocations: 46.75 kB / 1.592 GB, free: 281.2 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/2.018, allocations: 46.69 kB / 1.592 GB, free: 281.2 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/2.021, allocations: 361 kB / 1.592 GB, free: 281.2 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.021, allocations: 0 / 1.592 GB, free: 281.2 MB / 1.026 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.003211/2.025, allocations: 459 kB / 1.592 GB, free: 281 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/2.025, allocations: 9.922 kB / 1.592 GB, free: 281 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/2.025, allocations: 0 / 1.592 GB, free: 281 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/2.025, allocations: 0 / 1.592 GB, free: 281 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/2.025, allocations: 58.58 kB / 1.592 GB, free: 281 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/2.025, allocations: 3.938 kB / 1.592 GB, free: 281 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/2.025, allocations: 45.27 kB / 1.592 GB, free: 281 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/2.025, allocations: 13 kB / 1.592 GB, free: 280.9 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.851e-05/2.025, allocations: 108.9 kB / 1.593 GB, free: 280.8 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.213e-05/2.026, allocations: 30.66 kB / 1.593 GB, free: 280.8 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/2.029, allocations: 476.3 kB / 1.593 GB, free: 280.5 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/2.029, allocations: 4 kB / 1.593 GB, free: 280.5 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/2.029, allocations: 0 / 1.593 GB, free: 280.5 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/2.029, allocations: 0.7031 kB / 1.593 GB, free: 280.5 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/2.029, allocations: 243.2 kB / 1.593 GB, free: 280.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/2.029, allocations: 0 / 1.593 GB, free: 280.2 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/2.029, allocations: 64.34 kB / 1.593 GB, free: 280.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/2.029, allocations: 6.344 kB / 1.593 GB, free: 280.2 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/2.029, allocations: 2.297 kB / 1.593 GB, free: 280.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/2.029, allocations: 4 kB / 1.593 GB, free: 280.2 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/2.03, allocations: 0 / 1.593 GB, free: 280.2 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003163/2.033, allocations: 0.5488 MB / 1.594 GB, free: 279.7 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00321/2.036, allocations: 0.9371 MB / 1.595 GB, free: 278.9 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/2.036, allocations: 109 kB / 1.595 GB, free: 278.8 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/2.036, allocations: 5.078 kB / 1.595 GB, free: 278.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/2.036, allocations: 40.86 kB / 1.595 GB, free: 278.8 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/2.036, allocations: 13.91 kB / 1.595 GB, free: 278.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/2.036, allocations: 2.297 kB / 1.595 GB, free: 278.8 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.0001509/2.037, allocations: 159.3 kB / 1.595 GB, free: 278.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0009937/2.038, allocations: 72.77 kB / 1.595 GB, free: 278.5 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002971/2.038, allocations: 193.2 kB / 1.595 GB, free: 278.3 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002614/2.038, allocations: 116.8 kB / 1.596 GB, free: 278.2 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/2.038, allocations: 0 / 1.596 GB, free: 278.2 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/2.038, allocations: 62.66 kB / 1.596 GB, free: 278.2 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/2.039, allocations: 27.11 kB / 1.596 GB, free: 278.2 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/2.039, allocations: 254.6 kB / 1.596 GB, free: 277.9 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/2.04, allocations: 0.7631 MB / 1.597 GB, free: 277.2 MB / 1.026 GB Notification: Performance of SimCode: time 2.81e-07/2.04, allocations: 0 / 1.597 GB, free: 277.2 MB / 1.026 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat does not exist to compare? outputFormat=mat