Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.204/2.204, allocations: 284.9 MB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001636, allocations: 189.2 kB / 360.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.2 MB / 0.6188 GB, free: 12.38 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001253/0.001252, allocations: 91.12 kB / 0.7318 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.313e-05/1.329e-05, allocations: 4 kB / 0.8503 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.569, allocations: 115.2 MB / 0.9628 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.7731, allocations: 136.2 MB / 1.096 GB, free: 4.473 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.7735, allocations: 73.75 kB / 1.096 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.001665/0.7751, allocations: 251.9 kB / 1.096 GB, free: 4.172 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.7752, allocations: 3.781 kB / 1.096 GB, free: 4.172 MB / 0.698 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.0003137/0.7755, allocations: 340.9 kB / 1.096 GB, free: 3.789 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.7756, allocations: 8.531 kB / 1.096 GB, free: 3.781 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.7756, allocations: 3.906 kB / 1.096 GB, free: 3.777 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.7757, allocations: 174.9 kB / 1.097 GB, free: 3.566 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.7758, allocations: 4 kB / 1.097 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.7758, allocations: 0 / 1.097 GB, free: 3.562 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/0.7759, allocations: 21.25 kB / 1.097 GB, free: 3.543 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.776, allocations: 57.83 kB / 1.097 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.776, allocations: 2.781 kB / 1.097 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.7761, allocations: 0 / 1.097 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.149e-05/0.7761, allocations: 11.89 kB / 1.097 GB, free: 3.473 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.7765, allocations: 237.4 kB / 1.097 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.819e-05/0.7765, allocations: 27.56 kB / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.7766, allocations: 8.922 kB / 1.097 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-06/0.7766, allocations: 3.594 kB / 1.097 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.7766, allocations: 30.56 kB / 1.097 GB, free: 3.117 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.7766, allocations: 0 / 1.097 GB, free: 3.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001939/0.7768, allocations: 37.61 kB / 1.097 GB, free: 3.074 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.7769, allocations: 77.11 kB / 1.097 GB, free: 2.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.777, allocations: 105.5 kB / 1.097 GB, free: 2.871 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.777, allocations: 29.7 kB / 1.097 GB, free: 2.836 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.7771, allocations: 101 kB / 1.097 GB, free: 2.734 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.7771, allocations: 7.906 kB / 1.097 GB, free: 2.727 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.7772, allocations: 1.188 kB / 1.097 GB, free: 2.727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.7773, allocations: 318.8 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.933e-05/0.7773, allocations: 11.94 kB / 1.098 GB, free: 2.395 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.7774, allocations: 57.48 kB / 1.098 GB, free: 2.316 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.7775, allocations: 22.45 kB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7775, allocations: 0 / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002011/0.7777, allocations: 83.17 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.7777, allocations: 9.906 kB / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.7778, allocations: 0 / 1.098 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.7778, allocations: 4.656 kB / 1.098 GB, free: 2.199 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.7779, allocations: 11.94 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.7779, allocations: 8.516 kB / 1.098 GB, free: 2.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.984e-05/0.778, allocations: 14.12 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.7781, allocations: 4 kB / 1.098 GB, free: 2.164 MB / 0.698 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 0.0001052/0.7782, allocations: 141.4 kB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.7782, allocations: 4.938 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.7783, allocations: 7.469 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7783, allocations: 3.906 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7783, allocations: 0 / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.7783, allocations: 1.5 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.7785, allocations: 131.6 kB / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7785, allocations: 0 / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.7785, allocations: 0 / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7785, allocations: 0 / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.7785, allocations: 6 kB / 1.098 GB, free: 1.832 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.7785, allocations: 4.484 kB / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7785, allocations: 0 / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001528/0.7787, allocations: 134.1 kB / 1.098 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.7788, allocations: 85.58 kB / 1.098 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.7788, allocations: 3.984 kB / 1.098 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.7789, allocations: 0.625 kB / 1.098 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.7789, allocations: 4 kB / 1.098 GB, free: 1.574 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.7789, allocations: 4.312 kB / 1.098 GB, free: 1.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0001136/0.7791, allocations: 90.95 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003378/0.7794, allocations: 8 kB / 1.099 GB, free: 1.477 MB / 0.698 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.0001921/0.7796, allocations: 114.3 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.7798, allocations: 53.58 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7798, allocations: 0 / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.7798, allocations: 30.2 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.78, allocations: 12.05 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.7803, allocations: 64.48 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.7806, allocations: 0.6919 MB / 1.099 GB, free: 464 kB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/0.7806, allocations: 0 / 1.099 GB, free: 464 kB / 0.698 GB Notification: Performance of Templates: time 0.003376/0.784, allocations: 495.4 kB / 1.1 GB, free: 4 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)