Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [: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.1.4-maint.8.1.x/package.mo): time 1.316/1.316, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.0009031/0.0009032, allocations: 181.3 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9967/0.9967, allocations: 205.1 MB / 0.6256 GB, free: 7.457 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.0007866/0.0007866, allocations: 91.33 kB / 0.7396 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.023e-06, allocations: 4 kB / 0.859 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3985, allocations: 116.3 MB / 0.9726 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.5263, allocations: 138.9 MB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.5266, allocations: 88.5 kB / 1.108 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.00467/0.5313, allocations: 1.481 MB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5313, allocations: 4 kB / 1.11 GB, free: 10.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000536/0.5318, allocations: 434.1 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.5319, allocations: 8.031 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.5319, allocations: 11.81 kB / 1.11 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.5321, allocations: 182.8 kB / 1.11 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.5321, allocations: 4 kB / 1.11 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.5321, allocations: 8 kB / 1.11 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001129/0.5322, allocations: 44 kB / 1.11 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.5323, allocations: 65.67 kB / 1.11 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.5323, allocations: 0 / 1.11 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5324, allocations: 1.031 kB / 1.11 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5324, allocations: 7.906 kB / 1.11 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.533, allocations: 387.1 kB / 1.111 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.657e-05/0.5331, allocations: 46.58 kB / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.5332, allocations: 32.91 kB / 1.111 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.5332, allocations: 3.984 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.5332, allocations: 32.06 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.5332, allocations: 0 / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001698/0.5334, allocations: 65.59 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.5334, allocations: 51.41 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/0.5335, allocations: 124.1 kB / 1.111 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.5335, allocations: 38.34 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.5336, allocations: 100 kB / 1.111 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.5336, allocations: 11.89 kB / 1.111 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.5336, allocations: 0 / 1.111 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.5337, allocations: 326.7 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.5337, allocations: 16 kB / 1.112 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.5338, allocations: 20 kB / 1.112 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/0.5338, allocations: 12.69 kB / 1.112 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5338, allocations: 0 / 1.112 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001128/0.5339, allocations: 77.81 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.534, allocations: 4 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.534, allocations: 5.266 kB / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.534, allocations: 0 / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.5341, allocations: 11.98 kB / 1.112 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.5341, allocations: 4 kB / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.5343, allocations: 33.28 kB / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.5343, allocations: 0 / 1.112 GB, free: 7.754 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: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.455e-05/0.5344, allocations: 112.9 kB / 1.112 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.5344, allocations: 7.906 kB / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.5344, allocations: 20.17 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.5344, allocations: 0 / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5344, allocations: 5.688 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.5345, allocations: 0 / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.5346, allocations: 170.2 kB / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5346, allocations: 0 / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.5347, allocations: 19.89 kB / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5347, allocations: 0 / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.5347, allocations: 0 / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5347, allocations: 0 / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5347, allocations: 0.9375 kB / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001367/0.5349, allocations: 169.1 kB / 1.112 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.5349, allocations: 81.02 kB / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.5349, allocations: 4 kB / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.5351, allocations: 39.88 kB / 1.112 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.5352, allocations: 19.97 kB / 1.112 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.5352, allocations: 0 / 1.112 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.692e-05/0.5353, allocations: 106 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002176/0.5355, allocations: 19.94 kB / 1.113 GB, free: 6.918 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 8.686e-05/0.5356, allocations: 99.19 kB / 1.113 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.5357, allocations: 40.56 kB / 1.113 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.5357, allocations: 8 kB / 1.113 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.5358, allocations: 23.98 kB / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.536, allocations: 11.41 kB / 1.113 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.5362, allocations: 119.3 kB / 1.113 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.5365, allocations: 0.7114 MB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.5365, allocations: 0 / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of Templates: time 0.002609/0.5391, allocations: 1.056 MB / 1.115 GB, free: 4.844 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)