Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.506/1.506, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001107/0.001107, allocations: 181.3 kB / 366.3 MB, free: 1.98 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.138/1.138, allocations: 205.2 MB / 0.6256 GB, free: 5.891 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.0008799/0.0008799, allocations: 86.95 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.083e-05/1.086e-05, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.5727, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.7655, allocations: 141.1 MB / 1.11 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.7659, allocations: 80.55 kB / 1.11 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02612/0.7921, allocations: 9.446 MB / 1.12 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.7921, allocations: 8 kB / 1.12 GB, free: 13.79 MB / 0.7292 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.00092/0.7931, allocations: 0.7383 MB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.7931, allocations: 8.031 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00059/0.7937, allocations: 122.9 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007513/0.7945, allocations: 0.5306 MB / 1.121 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.7945, allocations: 8 kB / 1.121 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.7946, allocations: 7.984 kB / 1.121 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004272/0.795, allocations: 259.9 kB / 1.121 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.7953, allocations: 205.5 kB / 1.121 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7953, allocations: 0 / 1.121 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.7954, allocations: 1.875 kB / 1.121 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.7954, allocations: 4 kB / 1.121 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.7969, allocations: 0.9338 MB / 1.122 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/0.7975, allocations: 378.2 kB / 1.123 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.7977, allocations: 120.9 kB / 1.123 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008117/0.7985, allocations: 324.9 kB / 1.123 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.7986, allocations: 34.56 kB / 1.123 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 4.679e-06/0.7986, allocations: 0 / 1.123 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.001324/0.7999, allocations: 460.5 kB / 1.124 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.8, allocations: 55.41 kB / 1.124 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.8011, allocations: 0.8639 MB / 1.125 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.8012, allocations: 25.7 kB / 1.125 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.8013, allocations: 180.1 kB / 1.125 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.8014, allocations: 32.3 kB / 1.125 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.8014, allocations: 0 / 1.125 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8016, allocations: 316.4 kB / 1.125 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.8018, allocations: 115.9 kB / 1.125 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.8019, allocations: 117.6 kB / 1.125 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/0.8027, allocations: 223.7 kB / 1.125 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.8027, allocations: 0 / 1.125 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001102/0.8038, allocations: 456.3 kB / 1.126 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8038, allocations: 4 kB / 1.126 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8039, allocations: 0 / 1.126 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.8039, allocations: 0.75 kB / 1.126 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.8042, allocations: 39.97 kB / 1.126 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.8042, allocations: 0 / 1.126 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.8044, allocations: 19.92 kB / 1.126 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.8045, allocations: 15.98 kB / 1.126 GB, free: 7.039 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 0.0001653/0.8047, allocations: 112.8 kB / 1.126 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.8048, allocations: 75.06 kB / 1.126 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.8063, allocations: 0.5232 MB / 1.127 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.8063, allocations: 4 kB / 1.127 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.8063, allocations: 0 / 1.127 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.8064, allocations: 3.984 kB / 1.127 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006821/0.807, allocations: 0.5094 MB / 1.127 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8071, allocations: 4 kB / 1.127 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.8073, allocations: 39.97 kB / 1.127 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.8073, allocations: 0 / 1.127 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.8073, allocations: 4 kB / 1.127 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.8073, allocations: 2.891 kB / 1.127 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.8074, allocations: 3.984 kB / 1.127 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001098/0.8085, allocations: 0.546 MB / 1.128 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.8087, allocations: 204.1 kB / 1.128 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.8088, allocations: 0 / 1.128 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.809, allocations: 11.98 kB / 1.128 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.8091, allocations: 7.984 kB / 1.128 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.8092, allocations: 12 kB / 1.128 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000948/0.8101, allocations: 0.6793 MB / 1.129 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004628/0.8106, allocations: 71.84 kB / 1.129 GB, free: 4.152 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.0003913/0.811, allocations: 168.1 kB / 1.129 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.8113, allocations: 192.9 kB / 1.129 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.8113, allocations: 0 / 1.129 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.8115, allocations: 103.9 kB / 1.129 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.8119, allocations: 47.56 kB / 1.129 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.8137, allocations: 0.8496 MB / 1.13 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007263/0.8145, allocations: 0.9924 MB / 1.131 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of SimCode: time 7.31e-07/0.8145, allocations: 0 / 1.131 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of Templates: time 0.01012/0.8246, allocations: 3.375 MB / 1.134 GB, free: 14.42 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)