Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.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.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.365/1.365, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001029/0.001029, allocations: 181.3 kB / 361.1 MB, free: 7.105 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.097/1.097, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007945/0.0007945, allocations: 90.75 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.104e-05/1.14e-05, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4485, allocations: 115.3 MB / 0.9637 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.5923, allocations: 139.2 MB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.5925, allocations: 75.16 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.009034/0.6016, allocations: 3.154 MB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.6016, allocations: 4 kB / 1.103 GB, free: 13.67 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005802/0.6022, allocations: 443.7 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6022, allocations: 12.03 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.6023, allocations: 21.62 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.6025, allocations: 227.6 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.6026, allocations: 4.875 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.6026, allocations: 12 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000105/0.6027, allocations: 32 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.6029, allocations: 124.9 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6029, allocations: 0 / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.6029, allocations: 1.062 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.6029, allocations: 4 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000852/0.6038, allocations: 0.7085 MB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.22e-05/0.6039, allocations: 38.5 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.6039, allocations: 16.86 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.604, allocations: 8 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.6041, allocations: 107.7 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.6041, allocations: 3.75 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.000213/0.6043, allocations: 89.42 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.6044, allocations: 136.6 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.6045, allocations: 162.4 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.6046, allocations: 25.7 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.6046, allocations: 119.8 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.6047, allocations: 35.69 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.6047, allocations: 0 / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6048, allocations: 326.8 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.6048, allocations: 20.38 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.605, allocations: 130.1 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.487e-05/0.605, allocations: 39.92 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.605, allocations: 8 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002285/0.6053, allocations: 153.1 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.6053, allocations: 4 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6053, allocations: 5.438 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6053, allocations: 12 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.6055, allocations: 31.92 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.6055, allocations: 8 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.6056, allocations: 27.89 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.6057, allocations: 12 kB / 1.106 GB, free: 10.31 MB / 0.7136 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 7.948e-05/0.6058, allocations: 116.8 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.6058, allocations: 15.81 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.6058, allocations: 17.41 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6058, allocations: 7.938 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6059, allocations: 5.422 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6059, allocations: 0 / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.6064, allocations: 466.1 kB / 1.106 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6064, allocations: 0 / 1.106 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.6066, allocations: 27.92 kB / 1.106 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6066, allocations: 0 / 1.106 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.6066, allocations: 7.984 kB / 1.106 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.6066, allocations: 1.062 kB / 1.106 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6066, allocations: 0 / 1.106 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003028/0.6069, allocations: 350.2 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.607, allocations: 88.92 kB / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.607, allocations: 0 / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.6072, allocations: 19.98 kB / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.6072, allocations: 23.88 kB / 1.107 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.6073, allocations: 5.688 kB / 1.107 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.817e-05/0.6073, allocations: 121 kB / 1.107 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003069/0.6077, allocations: 27.88 kB / 1.107 GB, free: 8.926 MB / 0.7136 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.0001305/0.6078, allocations: 111 kB / 1.107 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.608, allocations: 83.81 kB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.608, allocations: 0 / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.437e-05/0.608, allocations: 36.25 kB / 1.107 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.6085, allocations: 58.12 kB / 1.107 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.6089, allocations: 248.3 kB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.6092, allocations: 0.744 MB / 1.108 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.6092, allocations: 0 / 1.108 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of Templates: time 0.003963/0.6132, allocations: 1.755 MB / 1.11 GB, free: 5.902 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)