Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.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.294/2.294, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001568/0.001568, allocations: 189.2 kB / 360.4 MB, free: 7.492 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.857/1.857, 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.001343/0.001342, allocations: 96.08 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.217e-06, allocations: 0 / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6301/0.6301, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9911/1.621, allocations: 409.2 MB / 1.362 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/1.622, allocations: 87.97 kB / 1.363 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 13.13/14.76, allocations: 2.739 GB / 4.101 GB, free: 56.31 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.00119/14.76, allocations: 170.1 kB / 4.102 GB, free: 56.28 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02067/14.78, allocations: 5.936 MB / 4.107 GB, free: 53.23 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/14.78, allocations: 9.062 kB / 4.107 GB, free: 53.23 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00524/14.78, allocations: 0.7845 MB / 4.108 GB, free: 52.86 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2666/15.05, allocations: 59.77 MB / 4.166 GB, free: 48.96 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/15.05, allocations: 134.2 kB / 4.167 GB, free: 48.95 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/15.05, allocations: 254 kB / 4.167 GB, free: 48.95 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01129/15.06, allocations: 2.535 MB / 4.169 GB, free: 48.93 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01556/15.08, allocations: 3.615 MB / 4.173 GB, free: 48.12 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/15.08, allocations: 22.03 kB / 4.173 GB, free: 48.11 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009893/15.08, allocations: 9.438 kB / 4.173 GB, free: 48.11 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002305/15.08, allocations: 122.6 kB / 4.173 GB, free: 48.11 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05644/15.14, allocations: 26.05 MB / 4.198 GB, free: 28.62 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/15.14, allocations: 1.09 MB / 4.2 GB, free: 28.19 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/15.14, allocations: 1.099 MB / 4.201 GB, free: 27.77 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003701/15.15, allocations: 3.933 MB / 4.204 GB, free: 23.31 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.223e-05/15.15, allocations: 70.02 kB / 4.204 GB, free: 23.24 MB / 1.057 GB Notification: Performance of pre-optimization done (n=225): time 5.981e-06/15.15, allocations: 2 kB / 4.204 GB, free: 23.24 MB / 1.057 GB Notification: Performance of matching and sorting (n=225): time 0.01464/15.16, allocations: 2.967 MB / 4.207 GB, free: 22.18 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/15.16, allocations: 77.17 kB / 4.207 GB, free: 22.11 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/15.17, allocations: 3.28 MB / 4.211 GB, free: 20.85 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0007818/15.17, allocations: 31.58 kB / 4.211 GB, free: 20.82 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.002376/15.18, allocations: 1.712 MB / 4.212 GB, free: 19.64 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001977/15.18, allocations: 0.7561 MB / 4.213 GB, free: 19.04 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/15.18, allocations: 0 / 4.213 GB, free: 19.04 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002201/15.18, allocations: 414 kB / 4.213 GB, free: 18.69 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/15.18, allocations: 0.7328 MB / 4.214 GB, free: 18.38 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003241/15.18, allocations: 1.709 MB / 4.216 GB, free: 16.82 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007097/15.19, allocations: 1.417 MB / 4.217 GB, free: 16.33 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.08e-05/15.19, allocations: 10.53 kB / 4.217 GB, free: 16.33 MB / 1.057 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.0167/15.21, allocations: 3.543 MB / 4.221 GB, free: 15.06 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.002221/15.21, allocations: 10.3 MB / 4.231 GB, free: 4.051 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/15.21, allocations: 21.22 kB / 4.231 GB, free: 4.051 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/15.21, allocations: 386.4 kB / 4.231 GB, free: 3.934 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004176/15.22, allocations: 0.51 MB / 4.232 GB, free: 3.879 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/15.22, allocations: 2.842 MB / 4.234 GB, free: 1.48 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00954/15.23, allocations: 0.5045 MB / 4.235 GB, free: 1.312 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/15.23, allocations: 127.9 kB / 4.235 GB, free: 1.242 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/15.23, allocations: 4 kB / 4.235 GB, free: 1.238 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01375/15.24, allocations: 2.854 MB / 4.238 GB, free: 14.88 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.204e-05/15.24, allocations: 24.19 kB / 4.238 GB, free: 14.86 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/15.25, allocations: 397 kB / 4.238 GB, free: 14.54 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004263/15.25, allocations: 0.5159 MB / 4.239 GB, free: 14.08 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01488/15.26, allocations: 7.306 MB / 4.246 GB, free: 6.707 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009148/15.27, allocations: 471.3 kB / 4.246 GB, free: 6.344 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009555/15.28, allocations: 126.6 kB / 4.246 GB, free: 6.23 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * Array equations: 0 * Algorithm blocks: 0 * 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 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001153/15.28, allocations: 180.6 kB / 4.247 GB, free: 6.047 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002293/15.28, allocations: 0.5017 MB / 4.247 GB, free: 5.539 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01892/15.3, allocations: 4.151 MB / 4.251 GB, free: 2.102 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001349/15.3, allocations: 39.08 kB / 4.251 GB, free: 2.07 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/15.3, allocations: 0 / 4.251 GB, free: 2.07 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01223/15.31, allocations: 2.749 MB / 4.254 GB, free: 15.7 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03239/15.34, allocations: 8.162 MB / 4.262 GB, free: 8.164 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/15.34, allocations: 4 kB / 4.262 GB, free: 8.16 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003678/15.35, allocations: 383.6 kB / 4.262 GB, free: 7.785 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009805/15.35, allocations: 225.4 kB / 4.262 GB, free: 7.555 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005601/15.35, allocations: 47.91 kB / 4.263 GB, free: 7.508 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/15.35, allocations: 2.522 MB / 4.265 GB, free: 4.887 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/15.35, allocations: 0 / 4.265 GB, free: 4.887 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.6432/15.99, allocations: 4.843 MB / 4.27 GB, free: 175.1 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005988/16, allocations: 0.9706 MB / 4.271 GB, free: 175 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002644/16, allocations: 7.25 kB / 4.271 GB, free: 175 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01123/16.01, allocations: 398.8 kB / 4.271 GB, free: 175 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000848/16.02, allocations: 137.5 kB / 4.271 GB, free: 175 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006838/16.02, allocations: 115.1 kB / 4.271 GB, free: 175 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.009823/16.03, allocations: 2.44 MB / 4.274 GB, free: 174.8 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02644/16.05, allocations: 3.414 MB / 4.277 GB, free: 174.8 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * 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 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01127/16.06, allocations: 3.431 MB / 4.28 GB, free: 173.7 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0148/16.08, allocations: 4.254 MB / 4.284 GB, free: 173.2 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/16.08, allocations: 2.719 kB / 4.284 GB, free: 173.2 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003661/16.08, allocations: 1.254 MB / 4.286 GB, free: 173.1 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02499/16.11, allocations: 2.534 MB / 4.288 GB, free: 173.1 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/16.13, allocations: 7.306 MB / 4.295 GB, free: 171.3 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00789/16.14, allocations: 3.452 MB / 4.299 GB, free: 170.5 MB / 1.089 GB Notification: Performance of SimCode: time 1.823e-06/16.14, allocations: 0 / 4.299 GB, free: 170.5 MB / 1.089 GB Notification: Performance of Templates: time 0.3232/16.47, allocations: 123.1 MB / 4.419 GB, free: 163.3 MB / 1.089 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)