Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [: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 7.0.1/package.mo): time 2.211/2.211, allocations: 253.1 MB / 260.4 MB, free: 7.648 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.001589, allocations: 189.2 kB / 319.6 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001941/0.001941, allocations: 90.02 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.249e-05/1.259e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.233, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7375/0.9705, allocations: 136.6 MB / 1.021 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.9709, allocations: 89.05 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05364/1.025, allocations: 11.8 MB / 1.033 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.142e-05/1.025, allocations: 12 kB / 1.033 GB, free: 7.621 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00179/1.026, allocations: 0.8666 MB / 1.034 GB, free: 6.758 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.027, allocations: 12.03 kB / 1.034 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002367/1.029, allocations: 265.6 kB / 1.034 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/1.03, allocations: 0.5603 MB / 1.035 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/1.03, allocations: 8 kB / 1.035 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/1.03, allocations: 16 kB / 1.035 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001352/1.032, allocations: 411.8 kB / 1.035 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/1.033, allocations: 347.5 kB / 1.035 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/1.033, allocations: 3.938 kB / 1.035 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/1.033, allocations: 0 / 1.035 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/1.033, allocations: 8 kB / 1.035 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007857/1.041, allocations: 2.151 MB / 1.038 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/1.042, allocations: 246.7 kB / 1.038 GB, free: 3.379 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/1.043, allocations: 89.72 kB / 1.038 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.384e-05/1.043, allocations: 7.984 kB / 1.038 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/1.043, allocations: 34.12 kB / 1.038 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 2.775e-06/1.043, allocations: 0 / 1.038 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.001016/1.044, allocations: 264.8 kB / 1.038 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/1.044, allocations: 59.41 kB / 1.038 GB, free: 3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/1.047, allocations: 1.051 MB / 1.039 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/1.047, allocations: 25.7 kB / 1.039 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000283/1.047, allocations: 238.4 kB / 1.04 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/1.047, allocations: 64.58 kB / 1.04 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/1.047, allocations: 0 / 1.04 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001991/1.048, allocations: 317.3 kB / 1.04 GB, free: 1.613 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/1.048, allocations: 167.9 kB / 1.04 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/1.049, allocations: 195.1 kB / 1.04 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/1.05, allocations: 268.7 kB / 1.04 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.05, allocations: 0 / 1.04 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.002672/1.053, allocations: 0.568 MB / 1.041 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.053, allocations: 4 kB / 1.041 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.053, allocations: 0 / 1.041 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/1.053, allocations: 0 / 1.041 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009567/1.054, allocations: 91.64 kB / 1.041 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.054, allocations: 0 / 1.041 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/1.055, allocations: 59.8 kB / 1.041 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.317e-05/1.055, allocations: 19.98 kB / 1.041 GB, free: 0.582 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001842/1.055, allocations: 101 kB / 1.041 GB, free: 488 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/1.056, allocations: 86.31 kB / 1.041 GB, free: 404 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/1.057, allocations: 308.7 kB / 1.042 GB, free: 168 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.057, allocations: 4 kB / 1.042 GB, free: 164 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.057, allocations: 0 / 1.042 GB, free: 164 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/1.057, allocations: 0 / 1.042 GB, free: 164 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/1.06, allocations: 1.029 MB / 1.043 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.06, allocations: 8 kB / 1.043 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/1.061, allocations: 80.05 kB / 1.043 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/1.061, allocations: 4 kB / 1.043 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/1.061, allocations: 4 kB / 1.043 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/1.061, allocations: 4 kB / 1.043 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.061, allocations: 0 / 1.043 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00112/1.062, allocations: 494.9 kB / 1.043 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/1.063, allocations: 230.6 kB / 1.043 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/1.063, allocations: 4 kB / 1.043 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009124/1.064, allocations: 51.95 kB / 1.044 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.064, allocations: 27.56 kB / 1.044 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/1.064, allocations: 8 kB / 1.044 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002005/1.066, allocations: 0.8168 MB / 1.044 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009393/1.067, allocations: 111.7 kB / 1.044 GB, free: 13.76 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004882/1.068, allocations: 180 kB / 1.045 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007888/1.068, allocations: 248.8 kB / 1.045 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.068, allocations: 0 / 1.045 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/1.069, allocations: 103.4 kB / 1.045 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/1.069, allocations: 58.98 kB / 1.045 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004678/1.074, allocations: 1.076 MB / 1.046 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/1.076, allocations: 1.067 MB / 1.047 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of SimCode: time 1.112e-06/1.076, allocations: 0 / 1.047 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of Templates: time 0.02273/1.098, allocations: 5.238 MB / 1.052 GB, free: 6.059 MB / 0.6667 GB