Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",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 1.785/1.785, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001004/0.001005, allocations: 185.3 kB / 487 MB, free: 5.363 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.152/1.152, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0008641/0.0008641, allocations: 88.89 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4288/0.4297, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.6145, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/1.12, allocations: 153.1 MB / 1.355 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/1.121, allocations: 89.45 kB / 1.355 GB, free: 15.68 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.02076/1.141, allocations: 9.206 MB / 1.364 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/1.141, allocations: 12 kB / 1.364 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.75e-05/1.141, allocations: 71.09 kB / 1.364 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/1.142, allocations: 437 kB / 1.364 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/1.142, allocations: 16 kB / 1.364 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/1.142, allocations: 32 kB / 1.364 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005086/1.143, allocations: 325 kB / 1.365 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/1.143, allocations: 435.7 kB / 1.365 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/1.143, allocations: 0 / 1.365 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/1.143, allocations: 4 kB / 1.365 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/1.143, allocations: 12 kB / 1.365 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/1.145, allocations: 1.613 MB / 1.367 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008903/1.146, allocations: 461.7 kB / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/1.146, allocations: 176.9 kB / 1.367 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/1.146, allocations: 8.594 kB / 1.367 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/1.146, allocations: 225 kB / 1.368 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/1.146, allocations: 0 / 1.368 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0004226/1.147, allocations: 285.3 kB / 1.368 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.147, allocations: 162.2 kB / 1.368 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/1.147, allocations: 326.5 kB / 1.368 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/1.147, allocations: 29.73 kB / 1.368 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/1.147, allocations: 228 kB / 1.369 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/1.147, allocations: 124 kB / 1.369 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/1.147, allocations: 0 / 1.369 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.585e-05/1.147, allocations: 353.7 kB / 1.369 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/1.148, allocations: 103.1 kB / 1.369 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/1.148, allocations: 187.8 kB / 1.369 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/1.148, allocations: 113.4 kB / 1.369 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.148, allocations: 0 / 1.369 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004191/1.148, allocations: 340.8 kB / 1.37 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/1.148, allocations: 358.9 kB / 1.37 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.148, allocations: 8 kB / 1.37 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/1.148, allocations: 0 / 1.37 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/1.149, allocations: 91.38 kB / 1.37 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/1.149, allocations: 8 kB / 1.37 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/1.149, allocations: 75.64 kB / 1.37 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/1.149, allocations: 11.19 kB / 1.37 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.879e-06/1.149, allocations: 4 kB / 1.37 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003269/1.149, allocations: 247.7 kB / 1.37 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/1.149, allocations: 4 kB / 1.37 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-06/1.149, allocations: 0 / 1.37 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/1.15, allocations: 71.91 kB / 1.371 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/1.15, allocations: 0 / 1.371 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/1.15, allocations: 75.09 kB / 1.371 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/1.15, allocations: 8 kB / 1.371 GB, free: 7.035 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.367e-05/1.15, allocations: 115 kB / 1.371 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/1.15, allocations: 43.44 kB / 1.371 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/1.151, allocations: 310.4 kB / 1.371 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.151, allocations: 4 kB / 1.371 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/1.151, allocations: 64 / 1.371 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.151, allocations: 4 kB / 1.371 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/1.151, allocations: 0.9481 MB / 1.372 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.151, allocations: 0 / 1.372 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/1.152, allocations: 82.8 kB / 1.372 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/1.152, allocations: 4 kB / 1.372 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.152, allocations: 3.984 kB / 1.372 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.152, allocations: 4 kB / 1.372 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.152, allocations: 7.891 kB / 1.372 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005898/1.152, allocations: 0.5733 MB / 1.373 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007442/1.153, allocations: 1.105 MB / 1.374 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/1.153, allocations: 128 kB / 1.374 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/1.153, allocations: 128 / 1.374 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/1.154, allocations: 47.97 kB / 1.374 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/1.154, allocations: 27.52 kB / 1.374 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/1.154, allocations: 15.17 kB / 1.374 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.000185/1.154, allocations: 247.2 kB / 1.374 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001511/1.155, allocations: 178.9 kB / 1.374 GB, free: 3.887 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0001083/1.155, allocations: 118.5 kB / 1.374 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005178/1.156, allocations: 432.3 kB / 1.375 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.156, allocations: 0 / 1.375 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/1.156, allocations: 143.2 kB / 1.375 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/1.157, allocations: 67.02 kB / 1.375 GB, free: 3.344 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/1.158, allocations: 0.6279 MB / 1.376 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/1.158, allocations: 0.9098 MB / 1.377 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of SimCode: time 2.71e-07/1.158, allocations: 0 / 1.377 GB, free: 1.84 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.fmu > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)