Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [: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.528/2.528, 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.001605/0.001605, allocations: 185.3 kB / 360.4 MB, free: 7.527 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.783/1.783, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001247/0.001246, allocations: 90.17 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.454e-05/1.463e-05, allocations: 4 kB / 0.8503 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5938/0.5938, allocations: 115.2 MB / 0.9628 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2212/0.815, allocations: 139.9 MB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.8154, allocations: 85.3 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.04304/0.8585, allocations: 9.452 MB / 1.109 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.179e-05/0.8585, allocations: 8 kB / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001319/0.8599, allocations: 0.7305 MB / 1.109 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.8599, allocations: 8.531 kB / 1.109 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/0.8608, allocations: 125 kB / 1.11 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.862, allocations: 0.5306 MB / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.862, allocations: 4 kB / 1.11 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.8621, allocations: 8 kB / 1.11 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007285/0.8628, allocations: 255.9 kB / 1.11 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.8634, allocations: 206.3 kB / 1.111 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.8634, allocations: 3.984 kB / 1.111 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.8635, allocations: 0 / 1.111 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.8635, allocations: 4 kB / 1.111 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.8659, allocations: 0.9466 MB / 1.111 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.8669, allocations: 375.9 kB / 1.112 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.8673, allocations: 128.8 kB / 1.112 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.8686, allocations: 320.9 kB / 1.112 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.8687, allocations: 34.75 kB / 1.112 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 6.662e-06/0.8687, allocations: 0 / 1.112 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.002097/0.8708, allocations: 456.3 kB / 1.113 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.8708, allocations: 56.25 kB / 1.113 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.873, allocations: 0.86 MB / 1.114 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/0.8731, allocations: 25.7 kB / 1.114 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.8733, allocations: 184.1 kB / 1.114 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.8734, allocations: 27.56 kB / 1.114 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.8734, allocations: 0 / 1.114 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.8736, allocations: 324.3 kB / 1.114 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.8739, allocations: 115.9 kB / 1.114 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.8742, allocations: 114.1 kB / 1.114 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.8756, allocations: 223.7 kB / 1.115 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8757, allocations: 0 / 1.115 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002023/0.8777, allocations: 460.3 kB / 1.115 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.8778, allocations: 4.781 kB / 1.115 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.8778, allocations: 0 / 1.115 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.8778, allocations: 0 / 1.115 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.8782, allocations: 35.97 kB / 1.115 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.8782, allocations: 6.625 kB / 1.115 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003775/0.8786, allocations: 15.92 kB / 1.115 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.8787, allocations: 20 kB / 1.115 GB, free: 0.5977 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001126/0.8788, allocations: 108.7 kB / 1.115 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.879, allocations: 71.06 kB / 1.115 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.8816, allocations: 0.5237 MB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.8817, allocations: 4 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.8817, allocations: 0 / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8817, allocations: 4 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.8827, allocations: 0.5172 MB / 1.116 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8828, allocations: 0 / 1.116 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/0.8832, allocations: 35.97 kB / 1.116 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.8832, allocations: 3.984 kB / 1.116 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.8833, allocations: 7.938 kB / 1.116 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.8833, allocations: 0 / 1.116 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.8833, allocations: 4 kB / 1.116 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002001/0.8853, allocations: 0.545 MB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.8858, allocations: 200.1 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.8859, allocations: 0 / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.8863, allocations: 11.98 kB / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.8864, allocations: 15.92 kB / 1.117 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.8864, allocations: 12 kB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001558/0.888, allocations: 0.6787 MB / 1.118 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006093/0.8886, allocations: 71.84 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0004047/0.8891, allocations: 164 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.8895, allocations: 187.9 kB / 1.118 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8895, allocations: 0 / 1.118 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.8897, allocations: 99.97 kB / 1.118 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.8902, allocations: 47.3 kB / 1.118 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.8929, allocations: 0.8514 MB / 1.119 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.8941, allocations: 0.9924 MB / 1.12 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of SimCode: time 1.283e-06/0.8941, allocations: 0 / 1.12 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of Templates: time 0.01618/0.9103, allocations: 3.367 MB / 1.123 GB, free: 8.027 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)