Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.103/2.103, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001597/0.001597, allocations: 189.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.592/1.592, allocations: 205.2 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.001208/0.001208, allocations: 88.28 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.377e-06/9.408e-06, allocations: 4 kB / 0.8503 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.535, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.7328, allocations: 137.7 MB / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.7332, allocations: 84.83 kB / 1.097 GB, free: 2.918 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00814/0.7413, allocations: 1.486 MB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.7413, allocations: 4 kB / 1.099 GB, free: 1.484 MB / 0.698 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.001013/0.7424, allocations: 434.1 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.7424, allocations: 8.031 kB / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.7425, allocations: 15.81 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.7427, allocations: 180.5 kB / 1.099 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.7427, allocations: 4 kB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.7427, allocations: 4 kB / 1.099 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001811/0.7429, allocations: 44 kB / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.7431, allocations: 77.61 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7432, allocations: 0.7969 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.7432, allocations: 0 / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.7432, allocations: 3.906 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.7443, allocations: 388.4 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.7444, allocations: 50.58 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/0.7445, allocations: 24.98 kB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.7445, allocations: 0 / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.7446, allocations: 34.56 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.7446, allocations: 0 / 1.1 GB, free: 100 kB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.00025/0.7448, allocations: 62.25 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.7449, allocations: 55.41 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.745, allocations: 128.3 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.7451, allocations: 29.69 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.7452, allocations: 108 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.7452, allocations: 11.89 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.7452, allocations: 0 / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7453, allocations: 322.7 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.7454, allocations: 20 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.7455, allocations: 16 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.274e-05/0.7456, allocations: 12 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7456, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000205/0.7458, allocations: 75.64 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.7458, allocations: 13 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7458, allocations: 0 / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.7459, allocations: 3.938 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.746, allocations: 11.98 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.746, allocations: 7.812 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.7464, allocations: 35.97 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.7464, allocations: 0 / 1.101 GB, free: 15.16 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 9.643e-05/0.7465, allocations: 121.2 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.7466, allocations: 7.906 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.7466, allocations: 12.17 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.7466, allocations: 0 / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.7467, allocations: 0 / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7467, allocations: 0.9375 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.7469, allocations: 170.2 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7469, allocations: 0 / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.747, allocations: 15.89 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.7471, allocations: 8 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.7471, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7471, allocations: 1.812 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7471, allocations: 0 / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002385/0.7473, allocations: 163.4 kB / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.7474, allocations: 85.02 kB / 1.101 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.7475, allocations: 0 / 1.101 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.7478, allocations: 39.88 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.7479, allocations: 19.97 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.748, allocations: 4 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.823e-05/0.7481, allocations: 99.27 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003135/0.7484, allocations: 18.47 kB / 1.102 GB, free: 14.33 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 0.0001192/0.7485, allocations: 97.22 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.7487, allocations: 48 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.7487, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.7488, allocations: 31.92 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.7491, allocations: 6.469 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.7495, allocations: 115.4 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/0.7499, allocations: 0.7191 MB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.7499, allocations: 0 / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.004434/0.7544, allocations: 1.055 MB / 1.104 GB, free: 12.26 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)