Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.129/2.129, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001544/0.001544, allocations: 189.2 kB / 360.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 97.03 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.148e-05/1.15e-05, allocations: 4 kB / 0.8503 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.535, allocations: 115.2 MB / 0.9629 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2075/0.7426, allocations: 141.5 MB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.743, allocations: 76.84 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05177/0.7948, allocations: 11.75 MB / 1.113 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.283e-05/0.7949, allocations: 12.22 kB / 1.113 GB, free: 3.523 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002742/0.7976, allocations: 0.9175 MB / 1.114 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.7977, allocations: 8.031 kB / 1.114 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/0.798, allocations: 92.56 kB / 1.114 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.7991, allocations: 476.7 kB / 1.114 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.514e-05/0.7992, allocations: 27.98 kB / 1.114 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.7994, allocations: 48 kB / 1.114 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001522/0.8009, allocations: 434.5 kB / 1.115 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.8024, allocations: 479.9 kB / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.8024, allocations: 0 / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/0.8025, allocations: 0 / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.8026, allocations: 16 kB / 1.115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005324/0.8079, allocations: 1.825 MB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.8095, allocations: 464.6 kB / 1.117 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.8101, allocations: 166.2 kB / 1.117 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/0.8101, allocations: 16.41 kB / 1.117 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007911/0.8109, allocations: 301.6 kB / 1.118 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=55): time 3.366e-06/0.8109, allocations: 384 / 1.118 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=55): time 0.001339/0.8123, allocations: 430.5 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.8124, allocations: 142.9 kB / 1.118 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007227/0.8131, allocations: 372.9 kB / 1.119 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.238e-05/0.8132, allocations: 29.7 kB / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.8135, allocations: 268.2 kB / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.8137, allocations: 145.9 kB / 1.119 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.8138, allocations: 0 / 1.119 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002565/0.8141, allocations: 358.8 kB / 1.119 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/0.8147, allocations: 169.3 kB / 1.12 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.8154, allocations: 286.5 kB / 1.12 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8164, allocations: 220.6 kB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.8165, allocations: 4 kB / 1.12 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002/0.8185, allocations: 0.5374 MB / 1.121 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005471/0.819, allocations: 1.14 MB / 1.122 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.8191, allocations: 0 / 1.122 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.8191, allocations: 8 kB / 1.122 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009516/0.8201, allocations: 111.8 kB / 1.122 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.8201, allocations: 9.656 kB / 1.122 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.8214, allocations: 139.6 kB / 1.122 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.8215, allocations: 27.98 kB / 1.122 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.8215, allocations: 4.781 kB / 1.122 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001868/0.8234, allocations: 475.3 kB / 1.122 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.8234, allocations: 4 kB / 1.122 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8235, allocations: 4 kB / 1.122 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/0.8243, allocations: 104.2 kB / 1.123 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.8243, allocations: 4 kB / 1.123 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.8255, allocations: 115.7 kB / 1.123 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/0.8256, allocations: 31.98 kB / 1.123 GB, free: 8.867 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.conTSupSet.maxSupTemRes.tim.u,$PRE.conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.maxSupTemRes.sampler.firstTrigger,$whenCondition6,$whenCondition7,$whenCondition1,$PRE.conTSupSet.maxSupTemRes.tim.t_next,$whenCondition4,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition5,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.lesThr1.y,conTSupSet.maxSupTemRes.greThr2.y,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,$PRE.conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,$PRE.supFanSta.y,supFanSta.y,conTSupSet.maxSupTemRes.greThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.000253/0.8258, allocations: 142.7 kB / 1.123 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.826, allocations: 59.33 kB / 1.123 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.8274, allocations: 444.5 kB / 1.123 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.8275, allocations: 11.91 kB / 1.123 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8275, allocations: 0 / 1.123 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.8275, allocations: 7.984 kB / 1.123 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.8303, allocations: 1.354 MB / 1.125 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.8304, allocations: 3.984 kB / 1.125 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006877/0.831, allocations: 75.83 kB / 1.125 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.8311, allocations: 7.984 kB / 1.125 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.344e-05/0.8311, allocations: 9.797 kB / 1.125 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.8312, allocations: 0 / 1.125 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.8312, allocations: 8.062 kB / 1.125 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001212/0.8324, allocations: 0.5567 MB / 1.125 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.8325, allocations: 132.4 kB / 1.125 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.8327, allocations: 4 kB / 1.125 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007102/0.8334, allocations: 64.5 kB / 1.125 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.8336, allocations: 56.27 kB / 1.125 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.316e-05/0.8337, allocations: 23.98 kB / 1.126 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004589/0.8341, allocations: 267.2 kB / 1.126 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001103/0.8353, allocations: 242.9 kB / 1.126 GB, free: 5.309 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 28 (conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,supFanSta.y,conTSupSet.maxSupTemRes.lesThr1.y,conTSupSet.maxSupTemRes.greThr2.y) * Number of discrete states: 2 (conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002603/0.8355, allocations: 132.8 kB / 1.126 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002161/0.8377, allocations: 0.7734 MB / 1.127 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.8377, allocations: 448 / 1.127 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006804/0.8384, allocations: 253.5 kB / 1.127 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.839, allocations: 54.47 kB / 1.127 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.8417, allocations: 0.7525 MB / 1.128 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.8428, allocations: 0.9703 MB / 1.129 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/0.8428, allocations: 5.781 kB / 1.129 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of Templates: time 0.03067/0.8735, allocations: 9.024 MB / 1.138 GB, free: 9.512 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe 2>&1)