Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") [: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/BuildSysPro 3.5.0/package.mo): time 0.7332/0.7332, allocations: 127.4 MB / 134.6 MB, free: 4.105 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 185.3 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.1 MB / 399.1 MB, free: 6.156 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 91 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.626e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.202, allocations: 76.73 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.455, allocations: 350 MB / 0.9627 GB, free: 131.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/1.455, allocations: 80.89 kB / 0.9628 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.184/7.64, allocations: 1.447 GB / 2.41 GB, free: 80.06 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003395/7.64, allocations: 52.39 kB / 2.41 GB, free: 80.06 MB / 0.6667 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.006369/7.647, allocations: 1.88 MB / 2.412 GB, free: 79.23 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/7.647, allocations: 11.56 kB / 2.412 GB, free: 79.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/7.651, allocations: 0.6663 MB / 2.412 GB, free: 79.13 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006323/7.657, allocations: 1.529 MB / 2.414 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.647e-05/7.657, allocations: 36.19 kB / 2.414 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005506/7.658, allocations: 69.22 kB / 2.414 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00256/7.661, allocations: 0.824 MB / 2.415 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/7.663, allocations: 1.064 MB / 2.416 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/7.664, allocations: 2.25 kB / 2.416 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/7.664, allocations: 7.781 kB / 2.416 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/7.664, allocations: 23.41 kB / 2.416 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/7.677, allocations: 7.345 MB / 2.423 GB, free: 73.86 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/7.679, allocations: 0.8236 MB / 2.424 GB, free: 73.83 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008822/7.68, allocations: 457.4 kB / 2.424 GB, free: 73.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002055/7.682, allocations: 2.094 MB / 2.426 GB, free: 71.48 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/7.683, allocations: 0.6121 MB / 2.427 GB, free: 71.33 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 5.401e-06/7.684, allocations: 0 / 2.427 GB, free: 71.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.004486/7.688, allocations: 1.309 MB / 2.428 GB, free: 71.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/7.688, allocations: 151.6 kB / 2.428 GB, free: 71.04 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/7.69, allocations: 0.9423 MB / 2.429 GB, free: 70.89 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001716/7.69, allocations: 29.3 kB / 2.429 GB, free: 70.86 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/7.691, allocations: 493.8 kB / 2.43 GB, free: 70.59 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/7.692, allocations: 286.2 kB / 2.43 GB, free: 70.41 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.531e-05/7.692, allocations: 3.969 kB / 2.43 GB, free: 70.41 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001146/7.692, allocations: 339.2 kB / 2.43 GB, free: 70.11 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007469/7.693, allocations: 424.9 kB / 2.431 GB, free: 70.11 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/7.693, allocations: 0.7009 MB / 2.431 GB, free: 69.77 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002306/7.696, allocations: 0.7044 MB / 2.432 GB, free: 69.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/7.696, allocations: 0 / 2.432 GB, free: 69.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.004115/7.7, allocations: 1.484 MB / 2.434 GB, free: 69.63 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006109/7.7, allocations: 2.145 MB / 2.436 GB, free: 67.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/7.701, allocations: 8.312 kB / 2.436 GB, free: 67.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.845e-05/7.701, allocations: 11.75 kB / 2.436 GB, free: 67.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/7.702, allocations: 318.8 kB / 2.436 GB, free: 67.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.799e-05/7.702, allocations: 10.16 kB / 2.436 GB, free: 67.35 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/7.704, allocations: 258.3 kB / 2.436 GB, free: 67.31 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/7.705, allocations: 59.64 kB / 2.436 GB, free: 67.31 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/7.705, allocations: 3.719 kB / 2.436 GB, free: 67.31 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003463/7.708, allocations: 1.255 MB / 2.438 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/7.708, allocations: 6.031 kB / 2.438 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/7.708, allocations: 12.84 kB / 2.438 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/7.71, allocations: 304.3 kB / 2.438 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/7.71, allocations: 10.97 kB / 2.438 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/7.712, allocations: 231.1 kB / 2.438 GB, free: 67.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/7.712, allocations: 60.22 kB / 2.438 GB, free: 67.25 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (116): * Single equations (assignments): 113 * 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.0004249/7.712, allocations: 245 kB / 2.438 GB, free: 67.04 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005197/7.713, allocations: 151.9 kB / 2.439 GB, free: 66.96 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004801/7.718, allocations: 1.858 MB / 2.44 GB, free: 66.88 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-05/7.718, allocations: 17.12 kB / 2.44 GB, free: 66.88 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/7.718, allocations: 2.25 kB / 2.44 GB, free: 66.88 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/7.718, allocations: 3.891 kB / 2.44 GB, free: 66.88 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/7.72, allocations: 1.179 MB / 2.442 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/7.72, allocations: 0 / 2.442 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/7.722, allocations: 241.1 kB / 2.442 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/7.722, allocations: 3.688 kB / 2.442 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/7.722, allocations: 37.05 kB / 2.442 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/7.722, allocations: 0 / 2.442 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/7.722, allocations: 0 / 2.442 GB, free: 66.68 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005157/7.727, allocations: 2.26 MB / 2.444 GB, free: 66.49 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008819/7.728, allocations: 233.7 kB / 2.444 GB, free: 66.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006146/7.729, allocations: 18.09 kB / 2.444 GB, free: 66.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/7.731, allocations: 166.2 kB / 2.444 GB, free: 66.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/7.731, allocations: 62.17 kB / 2.444 GB, free: 66.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/7.731, allocations: 48.03 kB / 2.445 GB, free: 66.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001491/7.733, allocations: 0.7085 MB / 2.445 GB, free: 66.19 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004277/7.737, allocations: 0.8792 MB / 2.446 GB, free: 66.06 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.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 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 15 * 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.002609/7.739, allocations: 1.002 MB / 2.447 GB, free: 65.81 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00368/7.743, allocations: 1.898 MB / 2.449 GB, free: 65.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/7.743, allocations: 5.25 kB / 2.449 GB, free: 65.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/7.744, allocations: 0.7472 MB / 2.45 GB, free: 65.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/7.748, allocations: 0.504 MB / 2.45 GB, free: 65.49 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0085/7.756, allocations: 2.632 MB / 2.453 GB, free: 64.93 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/7.759, allocations: 1.494 MB / 2.454 GB, free: 64.2 MB / 0.6667 GB Notification: Performance of SimCode: time 1.152e-06/7.759, allocations: 0 / 2.454 GB, free: 64.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.08469/7.844, allocations: 38.04 MB / 2.491 GB, free: 61.96 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)