Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") [: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.472/2.472, allocations: 284.9 MB / 292.2 MB, free: 14.68 MB / 238.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001693/0.001692, allocations: 193.2 kB / 360.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.1 MB / 0.6188 GB, free: 4.641 MB / 462.1 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.001253, allocations: 91.64 kB / 0.7318 GB, free: 53.54 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 1.056e-05/1.058e-05, allocations: 4 kB / 0.8502 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2531, allocations: 115.2 MB / 0.9628 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.592/0.8451, allocations: 139 MB / 1.099 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.8454, allocations: 63.97 kB / 1.099 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of FrontEnd: time 0.01334/0.8588, allocations: 3.157 MB / 1.102 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.8588, allocations: 4.562 kB / 1.102 GB, free: 10.3 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007033/0.8596, allocations: 439.3 kB / 1.102 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.8596, allocations: 9.312 kB / 1.102 GB, free: 9.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.8597, allocations: 19.72 kB / 1.102 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.86, allocations: 230.7 kB / 1.102 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.8601, allocations: 4.75 kB / 1.102 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.8601, allocations: 8 kB / 1.102 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001478/0.8603, allocations: 33.53 kB / 1.102 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.8605, allocations: 120 kB / 1.103 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.8605, allocations: 0 / 1.103 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.8606, allocations: 0 / 1.103 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.8606, allocations: 4.5 kB / 1.103 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.8617, allocations: 0.7138 MB / 1.103 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 8.84e-05/0.8618, allocations: 34.52 kB / 1.103 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.8619, allocations: 20.86 kB / 1.103 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.8619, allocations: 4 kB / 1.103 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.8621, allocations: 100.7 kB / 1.103 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=11): time 2.124e-06/0.8621, allocations: 0 / 1.103 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.0002902/0.8624, allocations: 97.22 kB / 1.103 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.8625, allocations: 136.5 kB / 1.104 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.8626, allocations: 157.6 kB / 1.104 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.8627, allocations: 29.69 kB / 1.104 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.8627, allocations: 115.8 kB / 1.104 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.8628, allocations: 31.7 kB / 1.104 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.8628, allocations: 0 / 1.104 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.8629, allocations: 326.8 kB / 1.104 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.8629, allocations: 24.38 kB / 1.104 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.8631, allocations: 130.3 kB / 1.104 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.697e-05/0.8632, allocations: 39.92 kB / 1.104 GB, free: 7.223 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8632, allocations: 4 kB / 1.104 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003219/0.8635, allocations: 153.1 kB / 1.105 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8636, allocations: 8.875 kB / 1.105 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8636, allocations: 4.5 kB / 1.105 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.8636, allocations: 8.938 kB / 1.105 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.8639, allocations: 39.92 kB / 1.105 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.8639, allocations: 9.859 kB / 1.105 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.8642, allocations: 27.89 kB / 1.105 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.8642, allocations: 8 kB / 1.105 GB, free: 6.961 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 8.624e-05/0.8643, allocations: 122.7 kB / 1.105 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.8644, allocations: 19.75 kB / 1.105 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.131e-05/0.8644, allocations: 18.8 kB / 1.105 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8645, allocations: 4 kB / 1.105 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8645, allocations: 0 / 1.105 GB, free: 6.793 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.8645, allocations: 6.438 kB / 1.105 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008284/0.8653, allocations: 470.1 kB / 1.105 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8653, allocations: 0 / 1.105 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.8656, allocations: 30.48 kB / 1.105 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.8656, allocations: 0 / 1.105 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.8656, allocations: 8 kB / 1.105 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.8656, allocations: 0 / 1.105 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.8657, allocations: 4 kB / 1.105 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003323/0.866, allocations: 341.3 kB / 1.106 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.8661, allocations: 89.67 kB / 1.106 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.903e-05/0.8661, allocations: 4 kB / 1.106 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.8664, allocations: 27.97 kB / 1.106 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.8665, allocations: 12 kB / 1.106 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.8665, allocations: 7.938 kB / 1.106 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.781e-05/0.8666, allocations: 124.3 kB / 1.106 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004627/0.8671, allocations: 27.94 kB / 1.106 GB, free: 5.566 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001391/0.8672, allocations: 99.23 kB / 1.106 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.8675, allocations: 83.81 kB / 1.106 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8675, allocations: 0 / 1.106 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.8676, allocations: 35.92 kB / 1.106 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007118/0.8683, allocations: 52.78 kB / 1.106 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006351/0.869, allocations: 253.3 kB / 1.106 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.8692, allocations: 0.7401 MB / 1.107 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of SimCode: time 1.082e-06/0.8693, allocations: 0 / 1.107 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of Templates: time 0.006507/0.8758, allocations: 1.765 MB / 1.109 GB, free: 2.566 MB / 0.7012 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)