Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.467/1.467, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001044/0.001045, allocations: 185.2 kB / 361.1 MB, free: 7.098 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.165/1.165, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0009158/0.0009158, allocations: 86.17 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.467e-06, allocations: 4 kB / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.5165, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.6765, allocations: 140.1 MB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.6768, allocations: 83.95 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02369/0.7005, allocations: 9.449 MB / 1.11 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.7006, allocations: 8 kB / 1.11 GB, free: 6.426 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.0007717/0.7013, allocations: 0.7342 MB / 1.111 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.7014, allocations: 16.53 kB / 1.111 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005362/0.702, allocations: 118.9 kB / 1.111 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.7027, allocations: 0.5267 MB / 1.111 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.7027, allocations: 4 kB / 1.111 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.7027, allocations: 8 kB / 1.111 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003944/0.7031, allocations: 263.8 kB / 1.111 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.7034, allocations: 206.3 kB / 1.112 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7034, allocations: 0 / 1.112 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.7035, allocations: 0 / 1.112 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.7035, allocations: 5.312 kB / 1.112 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.7048, allocations: 0.9416 MB / 1.113 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.7053, allocations: 374.3 kB / 1.113 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.7055, allocations: 124.8 kB / 1.113 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007171/0.7062, allocations: 324.9 kB / 1.113 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.7063, allocations: 34.56 kB / 1.113 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.7063, allocations: 0 / 1.113 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.001118/0.7074, allocations: 456.4 kB / 1.114 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.7074, allocations: 59.41 kB / 1.114 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.7085, allocations: 0.86 MB / 1.115 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.7085, allocations: 29.7 kB / 1.115 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.7087, allocations: 184.1 kB / 1.115 GB, free: 1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.7087, allocations: 27.56 kB / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.7088, allocations: 0 / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7089, allocations: 316.3 kB / 1.115 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.709, allocations: 115.9 kB / 1.115 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.7092, allocations: 111.9 kB / 1.115 GB, free: 448 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.7099, allocations: 231.6 kB / 1.116 GB, free: 216 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.7099, allocations: 0 / 1.116 GB, free: 216 kB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009975/0.711, allocations: 452.5 kB / 1.116 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.711, allocations: 4 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.711, allocations: 2.188 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.711, allocations: 2.25 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.7112, allocations: 43.91 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.7113, allocations: 0 / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.7115, allocations: 19.92 kB / 1.116 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.7115, allocations: 12 kB / 1.116 GB, free: 15.68 MB / 0.7292 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 9.418e-05/0.7116, allocations: 104.9 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.7117, allocations: 71.06 kB / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.7131, allocations: 0.5312 MB / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7131, allocations: 0 / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.7131, allocations: 0 / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7131, allocations: 0 / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.7137, allocations: 0.526 MB / 1.117 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.7137, allocations: 0 / 1.117 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.714, allocations: 35.97 kB / 1.117 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.714, allocations: 2.188 kB / 1.117 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.714, allocations: 4 kB / 1.117 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.714, allocations: 3.938 kB / 1.117 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.714, allocations: 0 / 1.117 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00111/0.7151, allocations: 0.5456 MB / 1.118 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.7154, allocations: 200.1 kB / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.7155, allocations: 0 / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.7157, allocations: 19.98 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.7158, allocations: 4 kB / 1.118 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.7158, allocations: 13.2 kB / 1.118 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0007919/0.7166, allocations: 0.6748 MB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003496/0.7169, allocations: 75.84 kB / 1.119 GB, free: 12.81 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.0003114/0.7173, allocations: 171.8 kB / 1.119 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.7177, allocations: 187.9 kB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7177, allocations: 0 / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.7179, allocations: 95.92 kB / 1.119 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.7183, allocations: 49.92 kB / 1.119 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.7201, allocations: 0.8504 MB / 1.12 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008325/0.721, allocations: 0.9942 MB / 1.121 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.721, allocations: 4 kB / 1.121 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.01091/0.7319, allocations: 3.369 MB / 1.124 GB, free: 7.102 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)