Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") [: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 7.0.1/package.mo): time 2.061/2.061, allocations: 253.1 MB / 260.4 MB, free: 7.551 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.0017, allocations: 176.5 kB / 319.6 MB, free: 3.352 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 95.19 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.075e-05/1.081e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2225, allocations: 106.3 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9992/1.222, allocations: 382.4 MB / 1.262 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/1.222, allocations: 83.52 kB / 1.262 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.296/5.518, allocations: 0.9074 GB / 2.169 GB, free: 83.99 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002586/5.518, allocations: 43.2 kB / 2.169 GB, free: 83.95 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005581/5.524, allocations: 1.883 MB / 2.171 GB, free: 82.03 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/5.524, allocations: 14.77 kB / 2.171 GB, free: 82.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006354/5.53, allocations: 0.6651 MB / 2.172 GB, free: 81.39 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006615/5.537, allocations: 1.491 MB / 2.173 GB, free: 79.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/5.537, allocations: 39.88 kB / 2.173 GB, free: 79.86 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/5.537, allocations: 67.91 kB / 2.173 GB, free: 79.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003044/5.54, allocations: 0.8631 MB / 2.174 GB, free: 78.93 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/5.543, allocations: 1.052 MB / 2.175 GB, free: 77.82 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/5.543, allocations: 3.938 kB / 2.175 GB, free: 77.82 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/5.544, allocations: 4 kB / 2.175 GB, free: 77.81 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/5.544, allocations: 24 kB / 2.175 GB, free: 77.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/5.558, allocations: 6.484 MB / 2.181 GB, free: 70.96 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/5.56, allocations: 0.8655 MB / 2.182 GB, free: 70.09 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/5.561, allocations: 0.5029 MB / 2.183 GB, free: 69.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002044/5.563, allocations: 2.263 MB / 2.185 GB, free: 66.84 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/5.565, allocations: 0.6387 MB / 2.185 GB, free: 66.17 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=100): time 4.238e-06/5.565, allocations: 0 / 2.185 GB, free: 66.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100): time 0.005875/5.571, allocations: 1.379 MB / 2.187 GB, free: 64.79 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/5.571, allocations: 144.5 kB / 2.187 GB, free: 64.62 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/5.573, allocations: 0.8985 MB / 2.188 GB, free: 63.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/5.573, allocations: 29.7 kB / 2.188 GB, free: 63.68 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/5.574, allocations: 450.1 kB / 2.188 GB, free: 63.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/5.574, allocations: 315.4 kB / 2.189 GB, free: 62.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/5.574, allocations: 0 / 2.189 GB, free: 62.91 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/5.575, allocations: 349 kB / 2.189 GB, free: 62.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/5.576, allocations: 409.9 kB / 2.189 GB, free: 62.17 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/5.577, allocations: 0.6527 MB / 2.19 GB, free: 61.41 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003664/5.581, allocations: 0.7314 MB / 2.191 GB, free: 60.69 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/5.581, allocations: 0 / 2.191 GB, free: 60.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.006063/5.587, allocations: 1.476 MB / 2.192 GB, free: 59.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003619/5.587, allocations: 1.622 MB / 2.194 GB, free: 57.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/5.587, allocations: 7.938 kB / 2.194 GB, free: 57.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.109e-05/5.587, allocations: 12 kB / 2.194 GB, free: 57.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/5.59, allocations: 294.5 kB / 2.194 GB, free: 57.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.99e-05/5.59, allocations: 8 kB / 2.194 GB, free: 57.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/5.593, allocations: 218.9 kB / 2.194 GB, free: 56.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/5.594, allocations: 59.97 kB / 2.194 GB, free: 56.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/5.594, allocations: 6.5 kB / 2.194 GB, free: 56.89 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005324/5.599, allocations: 1.287 MB / 2.196 GB, free: 55.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/5.599, allocations: 6.844 kB / 2.196 GB, free: 55.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/5.599, allocations: 11.94 kB / 2.196 GB, free: 55.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/5.602, allocations: 293.5 kB / 2.196 GB, free: 55.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/5.602, allocations: 15.92 kB / 2.196 GB, free: 55.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/5.605, allocations: 208.2 kB / 2.196 GB, free: 55.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/5.605, allocations: 55.97 kB / 2.196 GB, free: 55.04 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0004553/5.605, allocations: 241.5 kB / 2.196 GB, free: 54.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/5.606, allocations: 158.1 kB / 2.196 GB, free: 54.63 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008471/5.614, allocations: 2.107 MB / 2.199 GB, free: 52.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.065e-05/5.615, allocations: 19.98 kB / 2.199 GB, free: 52.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/5.615, allocations: 3.875 kB / 2.199 GB, free: 52.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/5.615, allocations: 3.984 kB / 2.199 GB, free: 52.49 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/5.627, allocations: 3.22 MB / 2.202 GB, free: 49.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/5.627, allocations: 0 / 2.202 GB, free: 49.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/5.63, allocations: 250.8 kB / 2.202 GB, free: 48.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/5.63, allocations: 8 kB / 2.202 GB, free: 48.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/5.63, allocations: 31.97 kB / 2.202 GB, free: 48.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/5.63, allocations: 7.906 kB / 2.202 GB, free: 48.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/5.63, allocations: 3.938 kB / 2.202 GB, free: 48.94 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008272/5.638, allocations: 2.667 MB / 2.205 GB, free: 46.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001453/5.64, allocations: 404 kB / 2.205 GB, free: 45.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000481/5.64, allocations: 18.83 kB / 2.205 GB, free: 45.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002635/5.643, allocations: 171.7 kB / 2.205 GB, free: 45.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/5.643, allocations: 72.78 kB / 2.205 GB, free: 45.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/5.643, allocations: 51.97 kB / 2.205 GB, free: 45.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001384/5.645, allocations: 0.68 MB / 2.206 GB, free: 44.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003904/5.649, allocations: 0.8734 MB / 2.207 GB, free: 43.93 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.002538/5.651, allocations: 0.9718 MB / 2.208 GB, free: 43.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004569/5.656, allocations: 1.933 MB / 2.21 GB, free: 41.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/5.656, allocations: 2.125 kB / 2.21 GB, free: 41.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/5.658, allocations: 0.8194 MB / 2.21 GB, free: 40.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004813/5.663, allocations: 0.5218 MB / 2.211 GB, free: 39.76 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007298/5.67, allocations: 2.493 MB / 2.213 GB, free: 37.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/5.672, allocations: 1.505 MB / 2.215 GB, free: 35.71 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/5.672, allocations: 0 / 2.215 GB, free: 35.71 MB / 0.8855 GB Notification: Performance of Templates: time 0.09502/5.767, allocations: 37.4 MB / 2.251 GB, free: 14.88 MB / 0.9011 GB