Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable") [: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.364/1.364, allocations: 289.8 MB / 297.1 MB, free: 6.727 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.001071/0.001071, allocations: 185.3 kB / 366.3 MB, free: 2.023 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.082/1.082, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0007672/0.0007672, allocations: 80.91 kB / 0.7396 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.554e-06, allocations: 4 kB / 0.8591 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4548, allocations: 116.3 MB / 0.9726 GB, free: 143.3 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.5988, allocations: 141.4 MB / 1.111 GB, free: 60.9 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.5991, allocations: 75.94 kB / 1.111 GB, free: 60.82 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.03514/0.6342, allocations: 18.37 MB / 1.129 GB, free: 42.8 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.906e-05/0.6343, allocations: 32 kB / 1.129 GB, free: 42.77 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.001624/0.6359, allocations: 1.345 MB / 1.13 GB, free: 41.38 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.636, allocations: 12.02 kB / 1.13 GB, free: 41.36 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.6362, allocations: 166 kB / 1.13 GB, free: 41.2 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.6372, allocations: 0.8094 MB / 1.131 GB, free: 40.35 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.6373, allocations: 44 kB / 1.131 GB, free: 40.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.6374, allocations: 72 kB / 1.131 GB, free: 40.23 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00118/0.6386, allocations: 0.7941 MB / 1.132 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.6399, allocations: 0.993 MB / 1.133 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.64, allocations: 4.594 kB / 1.133 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/0.64, allocations: 11.89 kB / 1.133 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.6401, allocations: 32 kB / 1.133 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/0.644, allocations: 3.521 MB / 1.136 GB, free: 34.8 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.645, allocations: 0.7337 MB / 1.137 GB, free: 34.05 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.6454, allocations: 328.6 kB / 1.137 GB, free: 33.72 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.6455, allocations: 15.98 kB / 1.137 GB, free: 33.7 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004463/0.6459, allocations: 430.2 kB / 1.138 GB, free: 33.25 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=81): time 2.084e-06/0.6459, allocations: 0 / 1.138 GB, free: 33.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81): time 0.0008223/0.6468, allocations: 0.6083 MB / 1.138 GB, free: 32.64 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.6468, allocations: 342.1 kB / 1.139 GB, free: 32.22 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.6474, allocations: 0.5896 MB / 1.139 GB, free: 31.62 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.6474, allocations: 25.7 kB / 1.139 GB, free: 31.59 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.6476, allocations: 471.1 kB / 1.14 GB, free: 31.12 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.6477, allocations: 248.2 kB / 1.14 GB, free: 30.88 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.6477, allocations: 0 / 1.14 GB, free: 30.88 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.6478, allocations: 338.1 kB / 1.14 GB, free: 30.54 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.6481, allocations: 221.6 kB / 1.141 GB, free: 30.33 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.6485, allocations: 403.2 kB / 1.141 GB, free: 29.87 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.6488, allocations: 256.1 kB / 1.141 GB, free: 29.62 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6488, allocations: 0 / 1.141 GB, free: 29.62 MB / 0.7605 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.000813/0.6496, allocations: 0.6683 MB / 1.142 GB, free: 28.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.6497, allocations: 0.7984 MB / 1.143 GB, free: 28.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6497, allocations: 4 kB / 1.143 GB, free: 28.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6498, allocations: 4 kB / 1.143 GB, free: 28.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/0.6505, allocations: 191.8 kB / 1.143 GB, free: 27.89 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.6505, allocations: 6.906 kB / 1.143 GB, free: 27.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005773/0.6511, allocations: 139.4 kB / 1.143 GB, free: 27.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.6511, allocations: 24.56 kB / 1.143 GB, free: 27.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-06/0.6511, allocations: 4 kB / 1.143 GB, free: 27.73 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006857/0.6518, allocations: 0.5309 MB / 1.143 GB, free: 27.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.6518, allocations: 4 kB / 1.143 GB, free: 27.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.732e-06/0.6518, allocations: 7.906 kB / 1.143 GB, free: 27.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.6524, allocations: 167.9 kB / 1.144 GB, free: 27.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.6524, allocations: 4 kB / 1.144 GB, free: 27.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.6529, allocations: 115.5 kB / 1.144 GB, free: 26.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.653, allocations: 20 kB / 1.144 GB, free: 26.88 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,damLim2.and2.y,damLim2.and3.y,damLim2.and3.u2,damLim2.and2.u2,damLim1.and2.y,damLim1.and3.y,damLim1.and3.u2,damLim1.and2.u2,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * 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 0.0001145/0.6531, allocations: 129.8 kB / 1.144 GB, free: 26.75 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.6532, allocations: 90.88 kB / 1.144 GB, free: 26.66 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009377/0.6541, allocations: 0.6916 MB / 1.145 GB, free: 25.96 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.6541, allocations: 12 kB / 1.145 GB, free: 25.95 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.6542, allocations: 4 kB / 1.145 GB, free: 25.94 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6542, allocations: 3.984 kB / 1.145 GB, free: 25.94 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.6563, allocations: 2.253 MB / 1.147 GB, free: 23.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6564, allocations: 4 kB / 1.147 GB, free: 23.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/0.657, allocations: 192.4 kB / 1.147 GB, free: 23.38 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.6571, allocations: 12 kB / 1.147 GB, free: 23.37 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.6571, allocations: 19.84 kB / 1.147 GB, free: 23.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.6571, allocations: 11.98 kB / 1.147 GB, free: 23.34 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6571, allocations: 11.94 kB / 1.147 GB, free: 23.32 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001352/0.6585, allocations: 1.729 MB / 1.149 GB, free: 21.35 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.6586, allocations: 187.8 kB / 1.149 GB, free: 21.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.6587, allocations: 15.98 kB / 1.149 GB, free: 21.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006241/0.6594, allocations: 91.92 kB / 1.149 GB, free: 21.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.6595, allocations: 75.67 kB / 1.149 GB, free: 20.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.6596, allocations: 39.98 kB / 1.149 GB, free: 20.93 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0004193/0.66, allocations: 427.2 kB / 1.15 GB, free: 20.52 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008575/0.6608, allocations: 406.2 kB / 1.15 GB, free: 20.12 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y,damLim2.damLimCon.I.y) * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,damLim.and3.y,damLim.and2.y,damLim1.and3.y,damLim1.and2.y,damLim2.and3.y,damLim2.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 87 * 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.0001589/0.661, allocations: 146 kB / 1.15 GB, free: 19.97 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.6621, allocations: 0.9399 MB / 1.151 GB, free: 19.02 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6622, allocations: 4 kB / 1.151 GB, free: 19.02 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.6626, allocations: 360 kB / 1.151 GB, free: 18.67 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6638, allocations: 320.2 kB / 1.152 GB, free: 18.37 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.6663, allocations: 1.553 MB / 1.153 GB, free: 16.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.667, allocations: 1.218 MB / 1.154 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of SimCode: time 2.61e-07/0.667, allocations: 0 / 1.154 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of Templates: time 0.01915/0.6861, allocations: 14.18 MB / 1.168 GB, free: 1.73 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe 2>&1)