Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.38/1.38, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.0009438/0.0009437, allocations: 181.2 kB / 366.3 MB, free: 2.012 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.124/1.124, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0008069/0.000807, allocations: 80.28 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.216/0.2169, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.6921, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.8402, allocations: 142.2 MB / 1.112 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.8405, allocations: 93.11 kB / 1.112 GB, free: 6.191 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.01907/0.8596, allocations: 7.789 MB / 1.119 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.8596, allocations: 12 kB / 1.119 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.8598, allocations: 55.34 kB / 1.119 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/0.8604, allocations: 387.8 kB / 1.12 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.8604, allocations: 19.94 kB / 1.12 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/0.8605, allocations: 27.94 kB / 1.12 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004839/0.861, allocations: 274 kB / 1.12 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.8616, allocations: 364.2 kB / 1.12 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.8616, allocations: 0 / 1.12 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.8616, allocations: 0 / 1.12 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.8616, allocations: 8 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001898/0.8635, allocations: 1.264 MB / 1.122 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.864, allocations: 255.5 kB / 1.122 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.8642, allocations: 113.3 kB / 1.122 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.8643, allocations: 9.531 kB / 1.122 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.8645, allocations: 190.9 kB / 1.122 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 1.473e-06/0.8645, allocations: 0 / 1.122 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.000454/0.865, allocations: 241.8 kB / 1.122 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.8651, allocations: 162.2 kB / 1.122 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.8653, allocations: 251.4 kB / 1.123 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.8654, allocations: 29.7 kB / 1.123 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.8655, allocations: 204 kB / 1.123 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.8656, allocations: 86.72 kB / 1.123 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.8656, allocations: 4 kB / 1.123 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.8657, allocations: 338.8 kB / 1.123 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.8659, allocations: 105.2 kB / 1.123 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.8661, allocations: 174.9 kB / 1.124 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.8665, allocations: 140.2 kB / 1.124 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8665, allocations: 5.594 kB / 1.124 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006194/0.8671, allocations: 337.8 kB / 1.124 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.424e-05/0.8672, allocations: 268.9 kB / 1.124 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8673, allocations: 4 kB / 1.124 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8673, allocations: 7.938 kB / 1.124 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.8676, allocations: 59.91 kB / 1.124 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.8676, allocations: 0 / 1.124 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.868, allocations: 79.64 kB / 1.124 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.868, allocations: 19.98 kB / 1.124 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.8681, allocations: 4 kB / 1.124 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005479/0.8686, allocations: 272.4 kB / 1.125 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.8686, allocations: 7.984 kB / 1.125 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.8686, allocations: 0 / 1.125 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.8689, allocations: 55.98 kB / 1.125 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.8689, allocations: 0 / 1.125 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.8692, allocations: 67.7 kB / 1.125 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.8693, allocations: 19.98 kB / 1.125 GB, free: 8.27 MB / 0.7292 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 0.0001056/0.8694, allocations: 109.6 kB / 1.125 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.8694, allocations: 31.62 kB / 1.125 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.8699, allocations: 281.8 kB / 1.125 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.8699, allocations: 12.56 kB / 1.125 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8699, allocations: 0 / 1.125 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.8699, allocations: 3.984 kB / 1.125 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008231/0.8708, allocations: 0.7627 MB / 1.126 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8708, allocations: 0 / 1.126 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.871, allocations: 55.91 kB / 1.126 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.8711, allocations: 0 / 1.126 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.8711, allocations: 9.031 kB / 1.126 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.8711, allocations: 4 kB / 1.126 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.8711, allocations: 0 / 1.126 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000617/0.8717, allocations: 0.5386 MB / 1.127 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008663/0.8726, allocations: 1.046 MB / 1.128 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.8727, allocations: 108.7 kB / 1.128 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.8727, allocations: 7.984 kB / 1.128 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.873, allocations: 24.05 kB / 1.128 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.873, allocations: 23.88 kB / 1.128 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.873, allocations: 8 kB / 1.128 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001649/0.8732, allocations: 195.1 kB / 1.128 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00173/0.875, allocations: 171.8 kB / 1.128 GB, free: 4.727 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.0002062/0.8752, allocations: 115.2 kB / 1.128 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007751/0.876, allocations: 481.7 kB / 1.129 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.876, allocations: 0 / 1.129 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.8762, allocations: 123.9 kB / 1.129 GB, free: 4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.8766, allocations: 54.78 kB / 1.129 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.8777, allocations: 497.1 kB / 1.129 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.8783, allocations: 0.8587 MB / 1.13 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.8783, allocations: 0 / 1.13 GB, free: 2.539 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)