Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") [: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.12/2.12, allocations: 284.9 MB / 292.2 MB, free: 9.836 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.001561/0.001561, allocations: 165.4 kB / 360.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.1 MB / 0.6188 GB, free: 3.254 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 81.09 kB / 0.7318 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.101e-05/1.115e-05, allocations: 1.75 kB / 0.8502 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2206, allocations: 115.3 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6013/0.8219, allocations: 143.8 MB / 1.103 GB, free: 32.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.8223, allocations: 75.7 kB / 1.103 GB, free: 32.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02355/0.8458, allocations: 6.557 MB / 1.11 GB, free: 32.44 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.927e-05/0.8459, allocations: 10.34 kB / 1.11 GB, free: 32.44 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001008/0.8469, allocations: 0.5982 MB / 1.11 GB, free: 31.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.847, allocations: 9.812 kB / 1.11 GB, free: 31.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.8471, allocations: 49.72 kB / 1.11 GB, free: 31.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.8477, allocations: 386.8 kB / 1.111 GB, free: 31.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.8478, allocations: 11.59 kB / 1.111 GB, free: 31.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.8478, allocations: 18 kB / 1.111 GB, free: 31.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005494/0.8484, allocations: 190.9 kB / 1.111 GB, free: 31.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.849, allocations: 296.8 kB / 1.111 GB, free: 31.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.8491, allocations: 8 kB / 1.111 GB, free: 31.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.8491, allocations: 0 / 1.111 GB, free: 31.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.8491, allocations: 7.75 kB / 1.111 GB, free: 31.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.851, allocations: 1.182 MB / 1.112 GB, free: 30.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.8515, allocations: 151.5 kB / 1.112 GB, free: 30.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.8517, allocations: 93.28 kB / 1.113 GB, free: 30.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.8517, allocations: 4.062 kB / 1.113 GB, free: 30.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.8518, allocations: 38.5 kB / 1.113 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.734e-06/0.8518, allocations: 4 kB / 1.113 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0005128/0.8523, allocations: 203.1 kB / 1.113 GB, free: 30.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.8524, allocations: 161.7 kB / 1.113 GB, free: 30.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.8527, allocations: 264.2 kB / 1.113 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.8528, allocations: 25.7 kB / 1.113 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.8529, allocations: 177.5 kB / 1.113 GB, free: 30.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.44e-05/0.8529, allocations: 72.58 kB / 1.113 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.853, allocations: 0 / 1.113 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.853, allocations: 349.9 kB / 1.114 GB, free: 30.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.8532, allocations: 65.94 kB / 1.114 GB, free: 30.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.8535, allocations: 135.1 kB / 1.114 GB, free: 29.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.8537, allocations: 85.05 kB / 1.114 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8537, allocations: 0 / 1.114 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004899/0.8542, allocations: 232.5 kB / 1.114 GB, free: 29.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.8542, allocations: 3.875 kB / 1.114 GB, free: 29.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8542, allocations: 3.875 kB / 1.114 GB, free: 29.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8542, allocations: 4.031 kB / 1.114 GB, free: 29.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.8547, allocations: 56.53 kB / 1.114 GB, free: 29.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8547, allocations: 6.891 kB / 1.114 GB, free: 29.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.855, allocations: 41.27 kB / 1.114 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.8551, allocations: 11.56 kB / 1.114 GB, free: 29.86 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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 9.296e-05/0.8552, allocations: 112.8 kB / 1.115 GB, free: 29.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.8553, allocations: 31.28 kB / 1.115 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.8554, allocations: 40.22 kB / 1.115 GB, free: 29.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.8554, allocations: 3.938 kB / 1.115 GB, free: 29.72 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.8554, allocations: 3.875 kB / 1.115 GB, free: 29.72 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.8554, allocations: 0 / 1.115 GB, free: 29.72 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.8559, allocations: 362.7 kB / 1.115 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8559, allocations: 3.875 kB / 1.115 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/0.8564, allocations: 53.12 kB / 1.115 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.8564, allocations: 0 / 1.115 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.8564, allocations: 3.875 kB / 1.115 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8564, allocations: 3 kB / 1.115 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8565, allocations: 0 / 1.115 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007048/0.8572, allocations: 405.2 kB / 1.115 GB, free: 29.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.8573, allocations: 132.7 kB / 1.116 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.8574, allocations: 3.047 kB / 1.116 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.8578, allocations: 29.7 kB / 1.116 GB, free: 29.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.8579, allocations: 17.89 kB / 1.116 GB, free: 29.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.8579, allocations: 7.812 kB / 1.116 GB, free: 29.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002406/0.8581, allocations: 210.6 kB / 1.116 GB, free: 29.19 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004381/0.8586, allocations: 66.31 kB / 1.116 GB, free: 29.17 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001408/0.8587, allocations: 103.8 kB / 1.116 GB, free: 29.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.8592, allocations: 183.1 kB / 1.116 GB, free: 29.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.8592, allocations: 0 / 1.116 GB, free: 29.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.8594, allocations: 93.72 kB / 1.116 GB, free: 29.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.8601, allocations: 69.55 kB / 1.116 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.8615, allocations: 494.9 kB / 1.117 GB, free: 28.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/0.862, allocations: 0.8289 MB / 1.118 GB, free: 44.14 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.8621, allocations: 4 kB / 1.118 GB, free: 44.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.01013/0.8722, allocations: 3.373 MB / 1.121 GB, free: 43.91 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)