Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") [: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.259/2.259, 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.001614/0.001613, allocations: 185.2 kB / 360.4 MB, free: 7.477 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.816/1.816, allocations: 205.2 MB / 0.6188 GB, free: 12.42 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.001341/0.00134, allocations: 89.56 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.595e-05, allocations: 4 kB / 0.8503 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6667/0.6667, allocations: 115.2 MB / 0.9628 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.9008, allocations: 144 MB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/0.9012, allocations: 88.5 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05526/0.9565, allocations: 12.54 MB / 1.116 GB, free: 176 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.467e-05/0.9566, allocations: 8 kB / 1.116 GB, free: 168 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001171/0.9578, allocations: 0.6975 MB / 1.116 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.9578, allocations: 12.03 kB / 1.116 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.958, allocations: 63.23 kB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006613/0.9587, allocations: 340.2 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.9587, allocations: 0 / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.9587, allocations: 8.75 kB / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003079/0.9591, allocations: 100.1 kB / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.9594, allocations: 126.1 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.9594, allocations: 0 / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.9594, allocations: 0 / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.9595, allocations: 4 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.9607, allocations: 0.5204 MB / 1.118 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.961, allocations: 118.5 kB / 1.118 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.9611, allocations: 68.73 kB / 1.118 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/0.9612, allocations: 15.98 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.9615, allocations: 129.1 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 2.364e-06/0.9615, allocations: 0 / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0006897/0.9622, allocations: 204.9 kB / 1.118 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.9623, allocations: 77.11 kB / 1.118 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.9635, allocations: 0.6206 MB / 1.119 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.9635, allocations: 29.7 kB / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.9637, allocations: 167.8 kB / 1.119 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.9638, allocations: 23.66 kB / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.9638, allocations: 0 / 1.119 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.964, allocations: 374.8 kB / 1.119 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.9642, allocations: 51.92 kB / 1.119 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.9643, allocations: 50.81 kB / 1.119 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.9646, allocations: 55.95 kB / 1.119 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.9646, allocations: 0 / 1.119 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005309/0.9651, allocations: 212.9 kB / 1.12 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.9652, allocations: 9.094 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.9652, allocations: 1.188 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.9652, allocations: 3.906 kB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.9654, allocations: 8 kB / 1.12 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.9654, allocations: 0 / 1.12 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.9656, allocations: 11.92 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.9657, allocations: 11.94 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001462/0.9658, allocations: 149 kB / 1.12 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.9659, allocations: 63.25 kB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007542/0.9667, allocations: 234.8 kB / 1.12 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.9667, allocations: 3.906 kB / 1.12 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9667, allocations: 0 / 1.12 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9668, allocations: 3.219 kB / 1.12 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.9673, allocations: 342 kB / 1.12 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.9674, allocations: 0 / 1.12 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/0.9674, allocations: 4 kB / 1.121 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.9675, allocations: 0 / 1.121 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.9675, allocations: 15.89 kB / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.9675, allocations: 0 / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.9675, allocations: 4 kB / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006317/0.9682, allocations: 244.2 kB / 1.121 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.9685, allocations: 152.3 kB / 1.121 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.9686, allocations: 4 kB / 1.121 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.9688, allocations: 4 kB / 1.121 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.9689, allocations: 12.67 kB / 1.121 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.9689, allocations: 8 kB / 1.121 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001159/0.9701, allocations: 0.5069 MB / 1.121 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008028/0.9709, allocations: 145.7 kB / 1.122 GB, free: 9.922 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009529/0.9719, allocations: 367.4 kB / 1.122 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000376/0.9723, allocations: 149.6 kB / 1.122 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9723, allocations: 0 / 1.122 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.9725, allocations: 109.7 kB / 1.122 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.9733, allocations: 96.42 kB / 1.122 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.9755, allocations: 0.7844 MB / 1.123 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008908/0.9764, allocations: 0.9966 MB / 1.124 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of SimCode: time 1.142e-06/0.9764, allocations: 1.875 kB / 1.124 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of Templates: time 0.01755/0.994, allocations: 5.141 MB / 1.129 GB, free: 2.336 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.pipe 2>&1)