Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",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.829/1.829, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0009242/0.0009242, allocations: 180 kB / 490.8 MB, free: 1.949 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.132/1.132, allocations: 221.3 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008199/0.00082, allocations: 85.28 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4223/0.4232, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.6162, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5264/1.143, allocations: 154 MB / 1.362 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.143, allocations: 89.11 kB / 1.362 GB, free: 17.17 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0178/1.161, allocations: 7.741 MB / 1.37 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/1.161, allocations: 8.531 kB / 1.37 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.731e-05/1.161, allocations: 55.38 kB / 1.37 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/1.161, allocations: 387.8 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/1.161, allocations: 15.12 kB / 1.37 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/1.162, allocations: 30.5 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004541/1.162, allocations: 275.3 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/1.163, allocations: 354.2 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.163, allocations: 0 / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/1.163, allocations: 1.797 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/1.163, allocations: 10.66 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/1.164, allocations: 1.264 MB / 1.372 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/1.165, allocations: 231.9 kB / 1.372 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/1.165, allocations: 120.7 kB / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/1.165, allocations: 5.203 kB / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/1.165, allocations: 196.7 kB / 1.373 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.402e-06/1.165, allocations: 0 / 1.373 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0003926/1.166, allocations: 235.1 kB / 1.373 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/1.166, allocations: 162.5 kB / 1.373 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/1.166, allocations: 237.4 kB / 1.373 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/1.166, allocations: 29.02 kB / 1.373 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/1.166, allocations: 205.8 kB / 1.373 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/1.166, allocations: 89.02 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/1.166, allocations: 2.406 kB / 1.373 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/1.166, allocations: 340.1 kB / 1.374 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/1.166, allocations: 103.3 kB / 1.374 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/1.167, allocations: 170.7 kB / 1.374 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/1.167, allocations: 136 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.167, allocations: 0 / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006009/1.168, allocations: 331.6 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.963e-05/1.168, allocations: 281 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.168, allocations: 1.25 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/1.168, allocations: 2.594 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/1.168, allocations: 60.53 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.168, allocations: 7.5 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/1.168, allocations: 76.17 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/1.168, allocations: 11.25 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-06/1.168, allocations: 3.938 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005246/1.169, allocations: 274.4 kB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/1.169, allocations: 1.547 kB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-06/1.169, allocations: 2.781 kB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.169, allocations: 51.3 kB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/1.169, allocations: 4.344 kB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/1.169, allocations: 75.66 kB / 1.375 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/1.169, allocations: 14.97 kB / 1.375 GB, free: 29.94 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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 9.091e-05/1.17, allocations: 115.3 kB / 1.375 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/1.17, allocations: 29.34 kB / 1.375 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/1.17, allocations: 273.6 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.17, allocations: 3.656 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.17, allocations: 4 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.17, allocations: 7.219 kB / 1.376 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/1.171, allocations: 0.75 MB / 1.376 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.171, allocations: 1 kB / 1.376 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/1.171, allocations: 55.66 kB / 1.377 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/1.171, allocations: 6.281 kB / 1.377 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/1.171, allocations: 9.125 kB / 1.377 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.171, allocations: 1.312 kB / 1.377 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.171, allocations: 5.5 kB / 1.377 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006132/1.172, allocations: 0.527 MB / 1.377 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008666/1.173, allocations: 1.023 MB / 1.378 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/1.173, allocations: 114.6 kB / 1.378 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/1.173, allocations: 2.734 kB / 1.378 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/1.173, allocations: 24.27 kB / 1.378 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/1.173, allocations: 19.2 kB / 1.378 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/1.173, allocations: 9.25 kB / 1.378 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001637/1.173, allocations: 188.3 kB / 1.378 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001572/1.175, allocations: 166 kB / 1.379 GB, free: 28.35 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001472/1.175, allocations: 119.3 kB / 1.379 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006617/1.176, allocations: 473.7 kB / 1.379 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.176, allocations: 0 / 1.379 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/1.176, allocations: 127.7 kB / 1.379 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/1.176, allocations: 41.62 kB / 1.379 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009038/1.177, allocations: 495.8 kB / 1.38 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/1.178, allocations: 0.8537 MB / 1.381 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.178, allocations: 0 / 1.381 GB, free: 27.24 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.fmu > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1)