Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.29/2.29, allocations: 284.9 MB / 292.2 MB, free: 10.78 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.002408/0.002408, allocations: 185.2 kB / 360.4 MB, free: 7.539 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.971/1.971, allocations: 205.1 MB / 0.6188 GB, free: 13.18 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.001221/0.001221, allocations: 85.88 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.787e-06/8.886e-06, allocations: 0 / 0.8502 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.615, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9845/1.6, allocations: 389.3 MB / 1.343 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/1.6, allocations: 80.84 kB / 1.343 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.79/8.39, allocations: 1.508 GB / 2.851 GB, free: 151.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000234/8.391, allocations: 51.36 kB / 2.851 GB, free: 151.7 MB / 0.948 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.005266/8.396, allocations: 1.89 MB / 2.853 GB, free: 150.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/8.396, allocations: 7.906 kB / 2.853 GB, free: 150.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006252/8.402, allocations: 0.6668 MB / 2.854 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006628/8.409, allocations: 1.507 MB / 2.855 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.434e-05/8.409, allocations: 33.09 kB / 2.855 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/8.409, allocations: 73.14 kB / 2.855 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00284/8.412, allocations: 0.8276 MB / 2.856 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/8.415, allocations: 1.071 MB / 2.857 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/8.415, allocations: 0 / 2.857 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/8.415, allocations: 6.656 kB / 2.857 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/8.415, allocations: 24.56 kB / 2.857 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/8.431, allocations: 6.694 MB / 2.864 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/8.434, allocations: 0.8587 MB / 2.865 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/8.436, allocations: 0.4902 MB / 2.865 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002146/8.438, allocations: 2.258 MB / 2.867 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001672/8.44, allocations: 0.6393 MB / 2.868 GB, free: 140.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=97): time 5.38e-06/8.44, allocations: 0 / 2.868 GB, free: 140.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=97): time 0.005468/8.445, allocations: 1.312 MB / 2.869 GB, free: 139.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/8.445, allocations: 147.8 kB / 2.869 GB, free: 139.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/8.447, allocations: 0.9084 MB / 2.87 GB, free: 138.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/8.448, allocations: 29.48 kB / 2.87 GB, free: 138.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/8.448, allocations: 463.8 kB / 2.871 GB, free: 138.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/8.448, allocations: 315.1 kB / 2.871 GB, free: 138.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/8.449, allocations: 0 / 2.871 GB, free: 138.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/8.449, allocations: 345.8 kB / 2.871 GB, free: 137.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/8.45, allocations: 409.2 kB / 2.872 GB, free: 137.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/8.451, allocations: 0.7 MB / 2.872 GB, free: 137.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003477/8.455, allocations: 0.6904 MB / 2.873 GB, free: 136.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/8.455, allocations: 1.375 kB / 2.873 GB, free: 136.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.006891/8.462, allocations: 1.475 MB / 2.874 GB, free: 136.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006019/8.462, allocations: 2.145 MB / 2.877 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/8.462, allocations: 9.062 kB / 2.877 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.597e-05/8.462, allocations: 14.47 kB / 2.877 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/8.465, allocations: 298.3 kB / 2.877 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.188e-05/8.465, allocations: 16.69 kB / 2.877 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/8.469, allocations: 225.4 kB / 2.877 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004861/8.47, allocations: 68.61 kB / 2.877 GB, free: 133.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/8.47, allocations: 5.594 kB / 2.877 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0059/8.476, allocations: 1.264 MB / 2.878 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/8.476, allocations: 11.16 kB / 2.878 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/8.476, allocations: 11.06 kB / 2.878 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/8.479, allocations: 304 kB / 2.879 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/8.479, allocations: 14.34 kB / 2.879 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/8.482, allocations: 228.1 kB / 2.879 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003552/8.482, allocations: 62.7 kB / 2.879 GB, free: 132.9 MB / 0.948 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 (117): * Single equations (assignments): 114 * 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.0005475/8.483, allocations: 229.4 kB / 2.879 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006035/8.484, allocations: 163.1 kB / 2.879 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008281/8.492, allocations: 2.035 MB / 2.881 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.505e-05/8.492, allocations: 21.7 kB / 2.881 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/8.492, allocations: 0 / 2.881 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/8.492, allocations: 11.88 kB / 2.881 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/8.502, allocations: 3.122 MB / 2.884 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/8.502, allocations: 3.938 kB / 2.884 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/8.505, allocations: 251.7 kB / 2.885 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.666e-05/8.505, allocations: 3.062 kB / 2.885 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/8.505, allocations: 41.94 kB / 2.885 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/8.505, allocations: 5.188 kB / 2.885 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/8.505, allocations: 2.344 kB / 2.885 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007683/8.513, allocations: 2.591 MB / 2.887 GB, free: 128.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/8.514, allocations: 397.9 kB / 2.888 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005394/8.515, allocations: 15.34 kB / 2.888 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002849/8.518, allocations: 168 kB / 2.888 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/8.518, allocations: 64.39 kB / 2.888 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/8.518, allocations: 59.78 kB / 2.888 GB, free: 127.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001592/8.52, allocations: 0.686 MB / 2.889 GB, free: 127.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004327/8.524, allocations: 0.8807 MB / 2.889 GB, free: 127.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (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 (101): * Single equations (assignments): 79 * 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.00253/8.527, allocations: 0.9855 MB / 2.89 GB, free: 126.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004769/8.532, allocations: 1.931 MB / 2.892 GB, free: 125.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/8.532, allocations: 3 kB / 2.892 GB, free: 125.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/8.533, allocations: 0.808 MB / 2.893 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00497/8.538, allocations: 0.5248 MB / 2.894 GB, free: 125.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00834/8.547, allocations: 2.706 MB / 2.896 GB, free: 124 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/8.549, allocations: 1.498 MB / 2.898 GB, free: 123 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/8.549, allocations: 0 / 2.898 GB, free: 123 MB / 0.948 GB Notification: Performance of Templates: time 0.1156/8.664, allocations: 37.46 MB / 2.934 GB, free: 92.64 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)