Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") [: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.147/2.147, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001586/0.001586, allocations: 185.2 kB / 360.4 MB, free: 7.473 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.64/1.64, allocations: 205.1 MB / 0.6188 GB, free: 12.39 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.001239/0.001238, allocations: 81.02 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.518e-06/9.649e-06, allocations: 0 / 0.8502 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5385/0.5385, allocations: 115.2 MB / 0.9628 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/0.7431, allocations: 140.2 MB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/0.7435, allocations: 96.62 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of FrontEnd: time 0.02117/0.7647, allocations: 4.904 MB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.137e-05/0.7648, allocations: 4 kB / 1.105 GB, free: 11.66 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006518/0.7655, allocations: 0.4894 MB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.7655, allocations: 12.47 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.7656, allocations: 40.58 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000962/0.7666, allocations: 419.7 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.7666, allocations: 0 / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.7666, allocations: 4.812 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/0.7668, allocations: 39.98 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.767, allocations: 56.17 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.767, allocations: 8 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.767, allocations: 0 / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.767, allocations: 1.25 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009284/0.768, allocations: 481.6 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.7681, allocations: 46.58 kB / 1.106 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.7682, allocations: 20.92 kB / 1.106 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.7682, allocations: 0 / 1.106 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.7682, allocations: 30.56 kB / 1.106 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.993e-06/0.7683, allocations: 4.656 kB / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002552/0.7685, allocations: 77.42 kB / 1.106 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.7686, allocations: 59.34 kB / 1.106 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009619/0.7695, allocations: 485.9 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.7696, allocations: 25.7 kB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.7697, allocations: 127.9 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.7697, allocations: 7.906 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.7697, allocations: 0.6562 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.7699, allocations: 343 kB / 1.107 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.77, allocations: 11.98 kB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.77, allocations: 7.938 kB / 1.107 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/0.7701, allocations: 12 kB / 1.107 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7701, allocations: 0 / 1.107 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001829/0.7703, allocations: 81.31 kB / 1.107 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7703, allocations: 7.188 kB / 1.107 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7703, allocations: 3.906 kB / 1.107 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.7703, allocations: 0 / 1.107 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.7705, allocations: 11.98 kB / 1.107 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7705, allocations: 0 / 1.107 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.7706, allocations: 8 kB / 1.107 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.7706, allocations: 1.688 kB / 1.107 GB, free: 8.594 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.612e-05/0.7707, allocations: 108.8 kB / 1.107 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/0.7708, allocations: 31.61 kB / 1.107 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.7711, allocations: 88.16 kB / 1.108 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7711, allocations: 4 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7711, allocations: 0 / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.7711, allocations: 3.984 kB / 1.108 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.7715, allocations: 274 kB / 1.108 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7715, allocations: 4 kB / 1.108 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/0.7716, allocations: 12 kB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7717, allocations: 0 / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.7717, allocations: 3.906 kB / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.7717, allocations: 6.172 kB / 1.108 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7717, allocations: 0 / 1.108 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002199/0.7719, allocations: 180.4 kB / 1.108 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.7721, allocations: 132.7 kB / 1.108 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.7722, allocations: 7.984 kB / 1.108 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.7724, allocations: 0 / 1.108 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.7724, allocations: 7.938 kB / 1.108 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.7724, allocations: 0 / 1.108 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0007109/0.7732, allocations: 388.5 kB / 1.109 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003881/0.7736, allocations: 39.84 kB / 1.109 GB, free: 7.238 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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.0007243/0.7743, allocations: 273.7 kB / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.7744, allocations: 23.98 kB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7744, allocations: 0 / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.7745, allocations: 15.94 kB / 1.109 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.7749, allocations: 37.7 kB / 1.109 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.7761, allocations: 396.7 kB / 1.109 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.7767, allocations: 0.8216 MB / 1.11 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/0.7767, allocations: 0 / 1.11 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.008521/0.7853, allocations: 1.97 MB / 1.112 GB, free: 3.844 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1)