Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.623/1.623, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001057/0.001057, allocations: 177.4 kB / 361.1 MB, free: 7.074 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.703/1.703, allocations: 205.1 MB / 0.6195 GB, free: 11.88 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.001031/0.001031, allocations: 87.44 kB / 0.7326 GB, free: 44.42 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.237e-06/9.257e-06, allocations: 0 / 0.8511 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8619/0.8619, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.126/1.988, allocations: 389.4 MB / 1.344 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003928/1.989, allocations: 82.23 kB / 1.344 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.777/7.766, allocations: 1.508 GB / 2.852 GB, free: 150.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003179/7.767, allocations: 50.41 kB / 2.852 GB, free: 150.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.005628/7.772, allocations: 1.893 MB / 2.854 GB, free: 149.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/7.772, allocations: 10.38 kB / 2.854 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003974/7.776, allocations: 0.665 MB / 2.855 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005086/7.781, allocations: 1.51 MB / 2.856 GB, free: 148.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/7.781, allocations: 37.06 kB / 2.856 GB, free: 148.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004363/7.782, allocations: 68.97 kB / 2.856 GB, free: 148.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002087/7.784, allocations: 0.8261 MB / 2.857 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/7.786, allocations: 1.066 MB / 2.858 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/7.786, allocations: 0 / 2.858 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/7.786, allocations: 7.625 kB / 2.858 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/7.786, allocations: 24.44 kB / 2.858 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/7.796, allocations: 6.704 MB / 2.865 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/7.798, allocations: 0.8528 MB / 2.866 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006953/7.799, allocations: 0.4948 MB / 2.866 GB, free: 141.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/7.8, allocations: 2.262 MB / 2.868 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008724/7.801, allocations: 0.6273 MB / 2.869 GB, free: 138.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=97): time 3.837e-06/7.801, allocations: 3.719 kB / 2.869 GB, free: 138.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=97): time 0.003809/7.805, allocations: 1.308 MB / 2.87 GB, free: 137.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/7.805, allocations: 153.4 kB / 2.87 GB, free: 137.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/7.807, allocations: 0.9108 MB / 2.871 GB, free: 136.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/7.808, allocations: 31.23 kB / 2.871 GB, free: 136.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000469/7.808, allocations: 458.3 kB / 2.872 GB, free: 136.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/7.808, allocations: 313.4 kB / 2.872 GB, free: 136.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/7.808, allocations: 1.156 kB / 2.872 GB, free: 136.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/7.809, allocations: 343.8 kB / 2.872 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007396/7.809, allocations: 413.5 kB / 2.873 GB, free: 135.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/7.81, allocations: 0.6972 MB / 2.873 GB, free: 135.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/7.813, allocations: 0.7045 MB / 2.874 GB, free: 134.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/7.813, allocations: 1.281 kB / 2.874 GB, free: 134.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003918/7.817, allocations: 1.462 MB / 2.876 GB, free: 134.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004955/7.817, allocations: 2.149 MB / 2.878 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/7.817, allocations: 4.438 kB / 2.878 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.155e-05/7.817, allocations: 11.12 kB / 2.878 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/7.819, allocations: 305.8 kB / 2.878 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/7.819, allocations: 18.06 kB / 2.878 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/7.821, allocations: 238.8 kB / 2.878 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/7.821, allocations: 58.94 kB / 2.878 GB, free: 131.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/7.821, allocations: 3.312 kB / 2.878 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003417/7.824, allocations: 1.264 MB / 2.879 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/7.824, allocations: 10.25 kB / 2.879 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/7.824, allocations: 10.16 kB / 2.88 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/7.826, allocations: 305.4 kB / 2.88 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/7.826, allocations: 16.39 kB / 2.88 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/7.828, allocations: 217.8 kB / 2.88 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/7.828, allocations: 62.22 kB / 2.88 GB, free: 130.8 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.0004286/7.829, allocations: 237.2 kB / 2.88 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005145/7.829, allocations: 162.7 kB / 2.88 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/7.834, allocations: 2.043 MB / 2.882 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.345e-05/7.834, allocations: 21.02 kB / 2.882 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/7.834, allocations: 0 / 2.882 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/7.834, allocations: 7.891 kB / 2.882 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007373/7.842, allocations: 3.127 MB / 2.886 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/7.842, allocations: 2.188 kB / 2.886 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/7.843, allocations: 242.3 kB / 2.886 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/7.843, allocations: 5.75 kB / 2.886 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/7.843, allocations: 33.69 kB / 2.886 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/7.843, allocations: 8.812 kB / 2.886 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/7.843, allocations: 2.562 kB / 2.886 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004847/7.848, allocations: 2.595 MB / 2.888 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/7.849, allocations: 396 kB / 2.889 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005254/7.85, allocations: 16.08 kB / 2.889 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/7.852, allocations: 175.4 kB / 2.889 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/7.852, allocations: 58.75 kB / 2.889 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/7.852, allocations: 57.06 kB / 2.889 GB, free: 125.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001305/7.853, allocations: 0.6882 MB / 2.89 GB, free: 125.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003782/7.857, allocations: 0.8754 MB / 2.891 GB, free: 125.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.002445/7.859, allocations: 0.9823 MB / 2.892 GB, free: 124.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003616/7.863, allocations: 1.933 MB / 2.893 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/7.863, allocations: 2.969 kB / 2.893 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/7.864, allocations: 0.8083 MB / 2.894 GB, free: 123.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003259/7.867, allocations: 0.5218 MB / 2.895 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008125/7.876, allocations: 2.71 MB / 2.897 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002629/7.878, allocations: 1.495 MB / 2.899 GB, free: 121 MB / 0.948 GB Notification: Performance of SimCode: time 3.597e-06/7.878, allocations: 3.156 kB / 2.899 GB, free: 121 MB / 0.948 GB Notification: Performance of Templates: time 0.07268/7.951, allocations: 37.47 MB / 2.935 GB, free: 88.86 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)