Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [: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.175/2.175, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.00155/0.00155, allocations: 177.3 kB / 360.4 MB, free: 7.523 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.615/1.615, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001258/0.001257, allocations: 78.19 kB / 0.7318 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.217e-06/9.338e-06, allocations: 0 / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.542, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.7567, allocations: 143.9 MB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.7571, allocations: 77.22 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.05092/0.808, allocations: 12.18 MB / 1.115 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.225e-05/0.8081, allocations: 12 kB / 1.115 GB, free: 0.7344 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002346/0.8105, allocations: 0.8917 MB / 1.116 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.8105, allocations: 8.031 kB / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.8108, allocations: 83.06 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.812, allocations: 0.5289 MB / 1.117 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.8121, allocations: 20 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.8122, allocations: 36.22 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001346/0.8136, allocations: 398.6 kB / 1.117 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.8151, allocations: 0.5215 MB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.8152, allocations: 0 / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.8152, allocations: 0 / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/0.8153, allocations: 16 kB / 1.118 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/0.8204, allocations: 1.999 MB / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/0.8214, allocations: 311.1 kB / 1.12 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.822, allocations: 206.6 kB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.822, allocations: 4.438 kB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005759/0.8226, allocations: 220.6 kB / 1.12 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 3.376e-06/0.8226, allocations: 4 kB / 1.12 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.001186/0.8238, allocations: 399.4 kB / 1.121 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.622e-05/0.8239, allocations: 158.7 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.8246, allocations: 349.8 kB / 1.121 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.8247, allocations: 29.7 kB / 1.121 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.825, allocations: 252.3 kB / 1.121 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.8252, allocations: 165.5 kB / 1.122 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.8253, allocations: 0 / 1.122 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.8255, allocations: 362.8 kB / 1.122 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.826, allocations: 145.3 kB / 1.122 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.8265, allocations: 248.3 kB / 1.122 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.8271, allocations: 173.4 kB / 1.123 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.8271, allocations: 0 / 1.123 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001298/0.8284, allocations: 463.8 kB / 1.123 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.8284, allocations: 8 kB / 1.123 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.8284, allocations: 0 / 1.123 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.8285, allocations: 6 kB / 1.123 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.8296, allocations: 131.9 kB / 1.123 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.8296, allocations: 4 kB / 1.123 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/0.8304, allocations: 75.58 kB / 1.123 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/0.8305, allocations: 16 kB / 1.123 GB, free: 8.293 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0001949/0.8307, allocations: 126.6 kB / 1.123 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.8308, allocations: 60.09 kB / 1.123 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.8311, allocations: 53.2 kB / 1.123 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.8311, allocations: 4 kB / 1.123 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.8311, allocations: 0 / 1.123 GB, free: 8.047 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.8311, allocations: 7.984 kB / 1.123 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.8337, allocations: 1.099 MB / 1.125 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.8337, allocations: 7.906 kB / 1.125 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.8348, allocations: 111.9 kB / 1.125 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.8348, allocations: 7.938 kB / 1.125 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.8349, allocations: 8.656 kB / 1.125 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.8349, allocations: 2.312 kB / 1.125 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.8349, allocations: 0 / 1.125 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00177/0.8367, allocations: 0.7088 MB / 1.125 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/0.837, allocations: 176.3 kB / 1.125 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.8372, allocations: 8 kB / 1.126 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/0.8379, allocations: 51.95 kB / 1.126 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.8381, allocations: 40.16 kB / 1.126 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.8381, allocations: 12 kB / 1.126 GB, free: 5.742 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004847/0.8386, allocations: 267.2 kB / 1.126 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006863/0.8393, allocations: 143.4 kB / 1.126 GB, free: 5.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002146/0.8395, allocations: 114.2 kB / 1.126 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.8407, allocations: 413.2 kB / 1.126 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8407, allocations: 0 / 1.126 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.8412, allocations: 205.6 kB / 1.127 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.8424, allocations: 103.4 kB / 1.127 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004974/0.8474, allocations: 1.258 MB / 1.128 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009082/0.8483, allocations: 0.9442 MB / 1.129 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of SimCode: time 1.542e-06/0.8483, allocations: 0 / 1.129 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of Templates: time 0.02065/0.869, allocations: 6.577 MB / 1.135 GB, free: 11.86 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)