Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.516/1.516, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001298/0.001298, allocations: 185.2 kB / 366.3 MB, free: 1.953 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.346/1.346, allocations: 205.1 MB / 0.6256 GB, free: 5.805 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.0009175/0.0009173, allocations: 88.05 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.107e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4881, allocations: 116.3 MB / 0.9726 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1582/0.6463, allocations: 142.8 MB / 1.112 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.6466, allocations: 88.59 kB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03048/0.6771, allocations: 11.78 MB / 1.124 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.958e-05/0.6772, allocations: 16 kB / 1.124 GB, free: 9.695 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001065/0.6783, allocations: 0.8634 MB / 1.125 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6783, allocations: 8.031 kB / 1.125 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.6795, allocations: 266.5 kB / 1.125 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000682/0.6802, allocations: 0.5504 MB / 1.125 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.6802, allocations: 12.83 kB / 1.125 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.6803, allocations: 20 kB / 1.125 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006579/0.681, allocations: 409.1 kB / 1.126 GB, free: 7.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.6815, allocations: 348.6 kB / 1.126 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6816, allocations: 4 kB / 1.126 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.6816, allocations: 0 / 1.126 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.6816, allocations: 11.94 kB / 1.126 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003901/0.6855, allocations: 2.137 MB / 1.128 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.6862, allocations: 250.6 kB / 1.128 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.6863, allocations: 81.95 kB / 1.128 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.6864, allocations: 11.94 kB / 1.128 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.6864, allocations: 46.5 kB / 1.129 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.6864, allocations: 0 / 1.129 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.0005444/0.687, allocations: 265.7 kB / 1.129 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.687, allocations: 51.41 kB / 1.129 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.6883, allocations: 1.049 MB / 1.13 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.6883, allocations: 25.7 kB / 1.13 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.6885, allocations: 245.1 kB / 1.13 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.6886, allocations: 63.09 kB / 1.13 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.6886, allocations: 4 kB / 1.13 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.6887, allocations: 317.9 kB / 1.13 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.689, allocations: 163.9 kB / 1.131 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.6892, allocations: 190.1 kB / 1.131 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008125/0.6901, allocations: 274.3 kB / 1.131 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6901, allocations: 0 / 1.131 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001295/0.6914, allocations: 0.5665 MB / 1.132 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6914, allocations: 4 kB / 1.132 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6914, allocations: 8.031 kB / 1.132 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.6914, allocations: 4.938 kB / 1.132 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.6919, allocations: 75.94 kB / 1.132 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.6919, allocations: 3.906 kB / 1.132 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004286/0.6924, allocations: 75.66 kB / 1.132 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.6924, allocations: 12 kB / 1.132 GB, free: 1.078 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: 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 9.678e-05/0.6925, allocations: 108 kB / 1.132 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.6926, allocations: 86.88 kB / 1.132 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000645/0.6933, allocations: 308.2 kB / 1.132 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.6933, allocations: 0 / 1.132 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6933, allocations: 0 / 1.132 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.6933, allocations: 8.641 kB / 1.132 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.6948, allocations: 1.028 MB / 1.133 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6949, allocations: 0 / 1.133 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/0.6953, allocations: 72.12 kB / 1.133 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.6953, allocations: 4 kB / 1.133 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.6953, allocations: 7.984 kB / 1.133 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.6954, allocations: 3.938 kB / 1.133 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.6954, allocations: 8.469 kB / 1.133 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000547/0.6959, allocations: 482.6 kB / 1.134 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.6963, allocations: 235.8 kB / 1.134 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.6964, allocations: 0 / 1.134 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004308/0.6968, allocations: 51.94 kB / 1.134 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.6969, allocations: 15.98 kB / 1.134 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.6969, allocations: 17.39 kB / 1.134 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0009884/0.6979, allocations: 0.824 MB / 1.135 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004479/0.6983, allocations: 115.7 kB / 1.135 GB, free: 13.56 MB / 0.7448 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.000318/0.6987, allocations: 180 kB / 1.135 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004274/0.6991, allocations: 247.9 kB / 1.135 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6991, allocations: 0 / 1.135 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.6993, allocations: 96.23 kB / 1.136 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.6997, allocations: 55.48 kB / 1.136 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.7019, allocations: 1.075 MB / 1.137 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008481/0.7027, allocations: 1.067 MB / 1.138 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of SimCode: time 2.7e-07/0.7028, allocations: 7.938 kB / 1.138 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.01136/0.7141, allocations: 5.22 MB / 1.143 GB, free: 5.594 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)