Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") [: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.389/2.389, allocations: 284.9 MB / 292.2 MB, free: 10.79 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.00171/0.00171, allocations: 185.3 kB / 360.4 MB, free: 7.5 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.827/1.827, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001241/0.00124, allocations: 99.06 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.259e-05/1.274e-05, allocations: 4 kB / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6684/0.6684, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.717/5.386, allocations: 2.085 GB / 3.048 GB, free: 34.62 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/5.386, allocations: 83.39 kB / 3.048 GB, free: 34.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.69/10.08, allocations: 1.037 GB / 4.085 GB, free: 90.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002833/10.08, allocations: 47.27 kB / 4.085 GB, free: 90.3 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006402/10.08, allocations: 2.068 MB / 4.087 GB, free: 88.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/10.08, allocations: 15.97 kB / 4.087 GB, free: 88.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006689/10.09, allocations: 0.6609 MB / 4.088 GB, free: 87.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005603/10.1, allocations: 1.465 MB / 4.089 GB, free: 85.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006951/10.1, allocations: 122.2 kB / 4.089 GB, free: 85.84 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005023/10.1, allocations: 76 kB / 4.089 GB, free: 85.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003467/10.1, allocations: 1.024 MB / 4.09 GB, free: 84.74 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/10.1, allocations: 1.228 MB / 4.092 GB, free: 83.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.458e-05/10.1, allocations: 4 kB / 4.092 GB, free: 83.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/10.1, allocations: 0 / 4.092 GB, free: 83.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/10.1, allocations: 42.22 kB / 4.092 GB, free: 83.39 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01507/10.12, allocations: 5.958 MB / 4.097 GB, free: 77.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/10.12, allocations: 0.6032 MB / 4.098 GB, free: 76.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/10.12, allocations: 484.8 kB / 4.098 GB, free: 76.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009192/10.12, allocations: 482.1 kB / 4.099 GB, free: 75.51 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/10.12, allocations: 0.5437 MB / 4.099 GB, free: 74.95 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 4.328e-06/10.12, allocations: 0 / 4.099 GB, free: 74.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01423/10.14, allocations: 3.16 MB / 4.103 GB, free: 71.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/10.14, allocations: 196.7 kB / 4.103 GB, free: 71.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/10.14, allocations: 0.9171 MB / 4.104 GB, free: 70.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003241/10.14, allocations: 26.58 kB / 4.104 GB, free: 70.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000465/10.14, allocations: 493.6 kB / 4.104 GB, free: 70.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004581/10.14, allocations: 311.3 kB / 4.104 GB, free: 69.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/10.14, allocations: 0 / 4.104 GB, free: 69.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/10.14, allocations: 344.3 kB / 4.105 GB, free: 69.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/10.14, allocations: 389.9 kB / 4.105 GB, free: 69.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/10.14, allocations: 0.599 MB / 4.106 GB, free: 68.34 MB / 0.948 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.007756/10.15, allocations: 1.436 MB / 4.107 GB, free: 66.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/10.15, allocations: 0 / 4.107 GB, free: 66.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007144/10.16, allocations: 1.62 MB / 4.109 GB, free: 65.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002611/10.16, allocations: 1.253 MB / 4.11 GB, free: 63.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/10.16, allocations: 4 kB / 4.11 GB, free: 63.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/10.16, allocations: 419 kB / 4.11 GB, free: 63.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/10.16, allocations: 175.7 kB / 4.11 GB, free: 63.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/10.17, allocations: 6.33 MB / 4.117 GB, free: 56.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/10.18, allocations: 131.8 kB / 4.117 GB, free: 56.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/10.18, allocations: 40.06 kB / 4.117 GB, free: 56.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/10.18, allocations: 4 kB / 4.117 GB, free: 56.46 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006377/10.18, allocations: 1.425 MB / 4.118 GB, free: 55.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/10.18, allocations: 96 / 4.118 GB, free: 55.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001735/10.18, allocations: 418.6 kB / 4.119 GB, free: 54.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/10.19, allocations: 175.8 kB / 4.119 GB, free: 54.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/10.2, allocations: 7.194 MB / 4.126 GB, free: 46.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/10.2, allocations: 123.8 kB / 4.126 GB, free: 46.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/10.2, allocations: 36.05 kB / 4.126 GB, free: 46.62 MB / 0.948 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaSte.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 10,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004525/10.2, allocations: 177 kB / 4.126 GB, free: 46.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/10.2, allocations: 150.2 kB / 4.126 GB, free: 46.29 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006112/10.21, allocations: 1.421 MB / 4.128 GB, free: 44.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/10.21, allocations: 8 kB / 4.128 GB, free: 44.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/10.21, allocations: 0 / 4.128 GB, free: 44.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005214/10.21, allocations: 1.288 MB / 4.129 GB, free: 43.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/10.22, allocations: 3.127 MB / 4.132 GB, free: 40.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/10.22, allocations: 4.5 kB / 4.132 GB, free: 40.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/10.23, allocations: 199.7 kB / 4.132 GB, free: 40.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007017/10.23, allocations: 193.6 kB / 4.132 GB, free: 39.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/10.23, allocations: 23.89 kB / 4.132 GB, free: 39.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004125/10.23, allocations: 2.411 MB / 4.135 GB, free: 37.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/10.23, allocations: 4 kB / 4.135 GB, free: 37.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007219/10.24, allocations: 2.371 MB / 4.137 GB, free: 34.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/10.24, allocations: 355.8 kB / 4.137 GB, free: 34.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004141/10.24, allocations: 8 kB / 4.137 GB, free: 34.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002613/10.24, allocations: 128.2 kB / 4.138 GB, free: 34.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/10.24, allocations: 60.48 kB / 4.138 GB, free: 34.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/10.24, allocations: 40.64 kB / 4.138 GB, free: 34.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001474/10.24, allocations: 0.699 MB / 4.138 GB, free: 33.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005858/10.25, allocations: 0.945 MB / 4.139 GB, free: 32.49 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004352/10.25, allocations: 2.643 MB / 4.142 GB, free: 29.66 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005251/10.26, allocations: 2.396 MB / 4.144 GB, free: 27.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/10.26, allocations: 7.938 kB / 4.144 GB, free: 27.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/10.26, allocations: 0.654 MB / 4.145 GB, free: 26.51 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006605/10.27, allocations: 0.7041 MB / 4.145 GB, free: 25.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/10.28, allocations: 2.618 MB / 4.148 GB, free: 23.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/10.28, allocations: 1.494 MB / 4.149 GB, free: 21.58 MB / 0.948 GB Notification: Performance of SimCode: time 2.414e-06/10.28, allocations: 0 / 4.149 GB, free: 21.58 MB / 0.948 GB Notification: Performance of Templates: time 0.5471/10.83, allocations: 50.28 MB / 4.199 GB, free: 245.2 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)