Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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 9.1.1-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 177.3 kB / 487 MB, free: 5.379 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.371/1.371, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009853, allocations: 97.06 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5272/0.5282, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.7482, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7905/1.539, allocations: 374.8 MB / 1.571 GB, free: 15.64 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.539, allocations: 88.25 kB / 1.571 GB, free: 15.59 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.03425/1.573, allocations: 12.15 MB / 1.583 GB, free: 5.555 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.573, allocations: 8 kB / 1.583 GB, free: 5.547 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/1.574, allocations: 156.9 kB / 1.583 GB, free: 5.395 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/1.576, allocations: 343.1 kB / 1.584 GB, free: 5.035 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.576, allocations: 7.984 kB / 1.584 GB, free: 5.027 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/1.576, allocations: 8 kB / 1.584 GB, free: 5.02 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003017/1.576, allocations: 137.3 kB / 1.584 GB, free: 4.938 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/1.576, allocations: 143.6 kB / 1.584 GB, free: 4.828 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.576, allocations: 3.938 kB / 1.584 GB, free: 4.824 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/1.576, allocations: 0 / 1.584 GB, free: 4.824 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.576, allocations: 7.906 kB / 1.584 GB, free: 4.816 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/1.578, allocations: 0.5503 MB / 1.585 GB, free: 4.312 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/1.578, allocations: 102.8 kB / 1.585 GB, free: 4.234 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/1.578, allocations: 84.66 kB / 1.585 GB, free: 4.184 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007234/1.579, allocations: 0.5059 MB / 1.585 GB, free: 3.57 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.579, allocations: 38.47 kB / 1.585 GB, free: 3.523 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/1.579, allocations: 0 / 1.585 GB, free: 3.523 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.003538/1.582, allocations: 0.4977 MB / 1.586 GB, free: 3.094 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.582, allocations: 55.41 kB / 1.586 GB, free: 3.027 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/1.582, allocations: 218.8 kB / 1.586 GB, free: 2.844 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/1.583, allocations: 25.7 kB / 1.586 GB, free: 2.812 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/1.583, allocations: 117.3 kB / 1.586 GB, free: 2.703 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/1.583, allocations: 41.7 kB / 1.586 GB, free: 2.668 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/1.583, allocations: 0 / 1.586 GB, free: 2.668 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.583, allocations: 336.3 kB / 1.587 GB, free: 2.34 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/1.583, allocations: 85.48 kB / 1.587 GB, free: 2.289 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/1.583, allocations: 71.11 kB / 1.587 GB, free: 2.25 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008697/1.592, allocations: 0.901 MB / 1.588 GB, free: 1.43 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.592, allocations: 0 / 1.588 GB, free: 1.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.009014/1.601, allocations: 1.053 MB / 1.589 GB, free: 500 kB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.601, allocations: 8 kB / 1.589 GB, free: 492 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.601, allocations: 0 / 1.589 GB, free: 492 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.601, allocations: 0 / 1.589 GB, free: 492 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/1.602, allocations: 87.86 kB / 1.589 GB, free: 404 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.602, allocations: 4.625 kB / 1.589 GB, free: 400 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/1.602, allocations: 71.78 kB / 1.589 GB, free: 328 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/1.602, allocations: 4 kB / 1.589 GB, free: 324 kB / 1.01 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 (17): * Single equations (assignments): 17 * 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 0.0001147/1.602, allocations: 108.3 kB / 1.589 GB, free: 212 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/1.602, allocations: 31.7 kB / 1.589 GB, free: 180 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/1.606, allocations: 0.5266 MB / 1.589 GB, free: 15.72 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.606, allocations: 3.938 kB / 1.589 GB, free: 15.72 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.606, allocations: 0 / 1.589 GB, free: 15.72 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/1.606, allocations: 3.906 kB / 1.589 GB, free: 15.71 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/1.606, allocations: 274.8 kB / 1.59 GB, free: 15.45 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.606, allocations: 3.906 kB / 1.59 GB, free: 15.45 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004939/1.607, allocations: 83.92 kB / 1.59 GB, free: 15.37 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/1.607, allocations: 0 / 1.59 GB, free: 15.37 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/1.607, allocations: 7.984 kB / 1.59 GB, free: 15.36 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.607, allocations: 0 / 1.59 GB, free: 15.36 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.607, allocations: 0 / 1.59 GB, free: 15.36 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003372/1.61, allocations: 0.6024 MB / 1.59 GB, free: 14.82 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003599/1.614, allocations: 0.9799 MB / 1.591 GB, free: 13.9 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/1.614, allocations: 123.1 kB / 1.591 GB, free: 13.77 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/1.614, allocations: 4 kB / 1.591 GB, free: 13.77 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/1.615, allocations: 59.08 kB / 1.592 GB, free: 13.71 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/1.615, allocations: 14.72 kB / 1.592 GB, free: 13.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/1.615, allocations: 7.984 kB / 1.592 GB, free: 13.69 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.0001936/1.615, allocations: 166.8 kB / 1.592 GB, free: 13.56 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001042/1.616, allocations: 85.2 kB / 1.592 GB, free: 13.48 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 (13): * Single equations (assignments): 13 * 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.0003436/1.616, allocations: 184.2 kB / 1.592 GB, free: 13.3 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0003839/1.617, allocations: 177.7 kB / 1.592 GB, free: 13.19 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.617, allocations: 4 kB / 1.592 GB, free: 13.19 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001677/1.617, allocations: 92.84 kB / 1.592 GB, free: 13.13 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/1.617, allocations: 37.42 kB / 1.592 GB, free: 13.1 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007869/1.618, allocations: 301.7 kB / 1.593 GB, free: 12.82 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/1.619, allocations: 0.787 MB / 1.593 GB, free: 12.02 MB / 1.026 GB Notification: Performance of SimCode: time 3.4e-07/1.619, allocations: 0 / 1.593 GB, free: 12.02 MB / 1.026 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat does not exist to compare? outputFormat=mat