Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [: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.585/1.585, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.00117/0.00117, allocations: 177.3 kB / 366.3 MB, free: 1.969 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.521/1.521, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0009454/0.0009454, allocations: 85.12 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.576e-06, allocations: 4 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5446, allocations: 116.3 MB / 0.9726 GB, free: 68.78 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.7009, allocations: 141.3 MB / 1.111 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.7011, allocations: 84.52 kB / 1.111 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01458/0.7157, allocations: 5.903 MB / 1.116 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.7158, allocations: 4 kB / 1.116 GB, free: 1.141 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006243/0.7164, allocations: 0.554 MB / 1.117 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.7165, allocations: 12.03 kB / 1.117 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.7165, allocations: 39.53 kB / 1.117 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.7168, allocations: 253.2 kB / 1.117 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.7168, allocations: 4 kB / 1.117 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.7169, allocations: 12 kB / 1.117 GB, free: 192 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000194/0.7171, allocations: 79.98 kB / 1.117 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.7173, allocations: 109.2 kB / 1.117 GB, free: 16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.7173, allocations: 1.406 kB / 1.117 GB, free: 16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.7174, allocations: 3.984 kB / 1.117 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.7174, allocations: 4 kB / 1.117 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.7182, allocations: 0.5514 MB / 1.118 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.7184, allocations: 86.56 kB / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.7185, allocations: 52.89 kB / 1.118 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.7185, allocations: 0 / 1.118 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.7185, allocations: 33.03 kB / 1.118 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.7185, allocations: 0 / 1.118 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002457/0.7188, allocations: 118.4 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.7188, allocations: 51.41 kB / 1.118 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.7191, allocations: 312.9 kB / 1.119 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.7191, allocations: 25.7 kB / 1.119 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.7192, allocations: 152 kB / 1.119 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.7193, allocations: 31.47 kB / 1.119 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.7193, allocations: 0 / 1.119 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7194, allocations: 346.8 kB / 1.119 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.7195, allocations: 24 kB / 1.119 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.488e-05/0.7195, allocations: 45.64 kB / 1.119 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.809e-05/0.7196, allocations: 25.97 kB / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7196, allocations: 0 / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001724/0.7198, allocations: 125.2 kB / 1.119 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.7198, allocations: 4 kB / 1.119 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.7198, allocations: 0 / 1.119 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.7198, allocations: 3.984 kB / 1.119 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.72, allocations: 39.94 kB / 1.119 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.72, allocations: 0 / 1.119 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.7201, allocations: 19.92 kB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.7201, allocations: 1.594 kB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.96e-05/0.7202, allocations: 112.9 kB / 1.12 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.7202, allocations: 27.62 kB / 1.12 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.7203, allocations: 43.05 kB / 1.12 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7203, allocations: 0 / 1.12 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7203, allocations: 0 / 1.12 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7204, allocations: 0 / 1.12 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.7206, allocations: 274.1 kB / 1.12 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7206, allocations: 0 / 1.12 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.7208, allocations: 35.92 kB / 1.12 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7208, allocations: 3.906 kB / 1.12 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.7208, allocations: 0 / 1.12 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7208, allocations: 0 / 1.12 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7208, allocations: 0 / 1.12 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002826/0.7211, allocations: 247.8 kB / 1.12 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.7212, allocations: 100.7 kB / 1.12 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.7212, allocations: 14.31 kB / 1.12 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.7214, allocations: 7.984 kB / 1.12 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.7214, allocations: 4 kB / 1.12 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.7214, allocations: 11.98 kB / 1.12 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002659/0.7217, allocations: 247.2 kB / 1.121 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002586/0.722, allocations: 47.84 kB / 1.121 GB, free: 12.63 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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.0001896/0.7222, allocations: 131.7 kB / 1.121 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.7223, allocations: 63.97 kB / 1.121 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7223, allocations: 0 / 1.121 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.414e-05/0.7224, allocations: 31.94 kB / 1.121 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.7227, allocations: 26.97 kB / 1.121 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.7235, allocations: 450.7 kB / 1.121 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.7239, allocations: 0.8124 MB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.7239, allocations: 0 / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.00445/0.7284, allocations: 1.441 MB / 1.123 GB, free: 9.668 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1)