Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_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 8.0.1-maint.8.0.x/package.mo): time 1.299/1.299, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009325/0.0009327, allocations: 181.3 kB / 361.1 MB, free: 7.059 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.011/1.011, allocations: 205.1 MB / 0.6195 GB, free: 10.26 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007811/0.0007812, allocations: 100.3 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1667/0.1675, allocations: 121.4 MB / 0.8512 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.5591, allocations: 115.3 MB / 0.9638 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.6902, allocations: 141.2 MB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.6904, allocations: 80.97 kB / 1.102 GB, free: 14.67 MB / 0.7136 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.01842/0.7089, allocations: 7.794 MB / 1.109 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.7089, allocations: 9.312 kB / 1.109 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.709, allocations: 59.34 kB / 1.109 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.7096, allocations: 394.6 kB / 1.11 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.7097, allocations: 15.94 kB / 1.11 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.7097, allocations: 28 kB / 1.11 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004681/0.7102, allocations: 270 kB / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.7107, allocations: 364.1 kB / 1.11 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7107, allocations: 4 kB / 1.11 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.7108, allocations: 0 / 1.11 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.7108, allocations: 12 kB / 1.11 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.7126, allocations: 1.267 MB / 1.112 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/0.7131, allocations: 247.4 kB / 1.112 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.7132, allocations: 113.3 kB / 1.112 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.7133, allocations: 9.156 kB / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.7135, allocations: 187.7 kB / 1.112 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.7135, allocations: 0 / 1.112 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0004052/0.7139, allocations: 241.3 kB / 1.112 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.714, allocations: 162.2 kB / 1.113 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.7142, allocations: 255.4 kB / 1.113 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.7143, allocations: 25.7 kB / 1.113 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.7144, allocations: 208.1 kB / 1.113 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.7145, allocations: 86.72 kB / 1.113 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.7145, allocations: 0 / 1.113 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.7146, allocations: 350.6 kB / 1.113 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.7148, allocations: 104 kB / 1.114 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.715, allocations: 168.1 kB / 1.114 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.7153, allocations: 132.2 kB / 1.114 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7153, allocations: 0 / 1.114 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006103/0.7159, allocations: 353.2 kB / 1.114 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.683e-05/0.716, allocations: 271.9 kB / 1.114 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7161, allocations: 4 kB / 1.114 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.7161, allocations: 3.938 kB / 1.114 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.7164, allocations: 55.91 kB / 1.115 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.7164, allocations: 4 kB / 1.115 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.7167, allocations: 79.64 kB / 1.115 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.7168, allocations: 19.92 kB / 1.115 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/0.7168, allocations: 4 kB / 1.115 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005257/0.7173, allocations: 268.6 kB / 1.115 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.7173, allocations: 64 / 1.115 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.131e-06/0.7173, allocations: 11.98 kB / 1.115 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.7176, allocations: 51.92 kB / 1.115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7176, allocations: 7.672 kB / 1.115 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.7179, allocations: 71.64 kB / 1.115 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.7179, allocations: 11.98 kB / 1.115 GB, free: 0.8516 MB / 0.7136 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.84e-05/0.7181, allocations: 117 kB / 1.115 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.7181, allocations: 33.94 kB / 1.115 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004384/0.7185, allocations: 277.7 kB / 1.115 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.7186, allocations: 7.906 kB / 1.115 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.7186, allocations: 0 / 1.115 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7186, allocations: 3.984 kB / 1.115 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.7194, allocations: 0.7557 MB / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7194, allocations: 0 / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.7197, allocations: 59.91 kB / 1.116 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.7197, allocations: 4 kB / 1.116 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.7197, allocations: 4 kB / 1.116 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7197, allocations: 4.094 kB / 1.116 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.7197, allocations: 0 / 1.116 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006126/0.7203, allocations: 0.5514 MB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008121/0.7212, allocations: 1.039 MB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.7212, allocations: 115.3 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.7213, allocations: 3.984 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.7215, allocations: 19.98 kB / 1.118 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.7216, allocations: 27.94 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.7216, allocations: 13.75 kB / 1.118 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001598/0.7218, allocations: 191.1 kB / 1.118 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001553/0.7233, allocations: 171.1 kB / 1.118 GB, free: 13.3 MB / 0.7292 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.00015/0.7235, allocations: 123 kB / 1.118 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006757/0.7242, allocations: 470.1 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7242, allocations: 3.938 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.7244, allocations: 120.2 kB / 1.119 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.7247, allocations: 62.52 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000953/0.7257, allocations: 0.4954 MB / 1.12 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.7261, allocations: 0.851 MB / 1.12 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/0.7261, allocations: 2.062 kB / 1.12 GB, free: 11.12 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)