Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [: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.37/1.37, allocations: 285.5 MB / 292.8 MB, free: 9.918 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.0009715/0.0009715, allocations: 189.2 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.079/1.079, allocations: 205.1 MB / 0.6195 GB, free: 2.824 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008572/0.0008572, allocations: 95.14 kB / 0.7326 GB, free: 1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 8.796e-06/8.817e-06, allocations: 3.969 kB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1513, allocations: 115.3 MB / 0.9637 GB, free: 56.35 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4167/0.568, allocations: 136.4 MB / 1.097 GB, free: 43.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/0.5682, allocations: 73.81 kB / 1.097 GB, free: 43.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0009726/0.5692, allocations: 250.6 kB / 1.097 GB, free: 43.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.5693, allocations: 0 / 1.097 GB, free: 43.65 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0001629/0.5694, allocations: 342.2 kB / 1.098 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.5695, allocations: 9.828 kB / 1.098 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.5695, allocations: 7.75 kB / 1.098 GB, free: 43.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.911e-05/0.5695, allocations: 164 kB / 1.098 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5696, allocations: 0 / 1.098 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-06/0.5696, allocations: 0 / 1.098 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.733e-05/0.5696, allocations: 24.59 kB / 1.098 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.314e-05/0.5697, allocations: 64.25 kB / 1.098 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5697, allocations: 0 / 1.098 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.5697, allocations: 0 / 1.098 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.5698, allocations: 3.781 kB / 1.098 GB, free: 43.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.57, allocations: 248.4 kB / 1.098 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.478e-05/0.57, allocations: 16.45 kB / 1.098 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.193e-05/0.57, allocations: 11.27 kB / 1.098 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.57, allocations: 4 kB / 1.098 GB, free: 42.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.216e-05/0.57, allocations: 32.34 kB / 1.098 GB, free: 42.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.5701, allocations: 0 / 1.098 GB, free: 42.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.5702, allocations: 40.88 kB / 1.098 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.547e-05/0.5702, allocations: 77.11 kB / 1.098 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.297e-05/0.5703, allocations: 106.7 kB / 1.098 GB, free: 42.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-06/0.5703, allocations: 26.58 kB / 1.098 GB, free: 42.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.5703, allocations: 109.8 kB / 1.098 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/0.5703, allocations: 3.906 kB / 1.098 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.5703, allocations: 0 / 1.098 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.601e-05/0.5704, allocations: 314.7 kB / 1.099 GB, free: 58.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.5704, allocations: 11 kB / 1.099 GB, free: 58.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/0.5705, allocations: 61.11 kB / 1.099 GB, free: 57.99 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.5705, allocations: 23.41 kB / 1.099 GB, free: 57.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5705, allocations: 3.938 kB / 1.099 GB, free: 57.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001009/0.5706, allocations: 79.89 kB / 1.099 GB, free: 57.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.5706, allocations: 7.812 kB / 1.099 GB, free: 57.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/0.5707, allocations: 3.906 kB / 1.099 GB, free: 57.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.5707, allocations: 3.875 kB / 1.099 GB, free: 57.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.5707, allocations: 11.69 kB / 1.099 GB, free: 57.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.5707, allocations: 3.875 kB / 1.099 GB, free: 57.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.5708, allocations: 8.75 kB / 1.099 GB, free: 57.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5708, allocations: 7.438 kB / 1.099 GB, free: 57.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 5.906e-05/0.5709, allocations: 140.8 kB / 1.099 GB, free: 57.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.5709, allocations: 3.75 kB / 1.099 GB, free: 57.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.129e-05/0.5709, allocations: 7.281 kB / 1.099 GB, free: 57.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.5709, allocations: 0 / 1.099 GB, free: 57.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5709, allocations: 0 / 1.099 GB, free: 57.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.5709, allocations: 3.906 kB / 1.099 GB, free: 57.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.307e-05/0.571, allocations: 130 kB / 1.099 GB, free: 57.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.571, allocations: 3.75 kB / 1.099 GB, free: 57.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-07/0.571, allocations: 6.562 kB / 1.099 GB, free: 57.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.571, allocations: 3.891 kB / 1.099 GB, free: 57.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.571, allocations: 0 / 1.099 GB, free: 57.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.571, allocations: 7.938 kB / 1.099 GB, free: 57.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.571, allocations: 0 / 1.099 GB, free: 57.61 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.26e-05/0.5711, allocations: 137.9 kB / 1.099 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.5712, allocations: 77.11 kB / 1.099 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.5712, allocations: 7.656 kB / 1.099 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.5713, allocations: 3.609 kB / 1.099 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.5713, allocations: 32 / 1.099 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.5713, allocations: 7.75 kB / 1.099 GB, free: 57.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.328e-05/0.5713, allocations: 86.36 kB / 1.1 GB, free: 57.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002119/0.5715, allocations: 9.625 kB / 1.1 GB, free: 57.3 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001229/0.5717, allocations: 108.5 kB / 1.1 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.298e-05/0.5718, allocations: 55.53 kB / 1.1 GB, free: 57.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5718, allocations: 2.438 kB / 1.1 GB, free: 57.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.5718, allocations: 33.33 kB / 1.1 GB, free: 57.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.5719, allocations: 10.81 kB / 1.1 GB, free: 57.13 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001288/0.572, allocations: 59.2 kB / 1.1 GB, free: 57.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.5723, allocations: 0.6929 MB / 1.101 GB, free: 56.37 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.5723, allocations: 0 / 1.101 GB, free: 56.37 MB / 0.7292 GB Notification: Performance of Templates: time 0.001878/0.5741, allocations: 499.4 kB / 1.101 GB, free: 56.31 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)