Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer") [: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.171/2.171, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.01443/0.01443, allocations: 181.3 kB / 360.4 MB, free: 7.496 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.68/1.68, 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.001214/0.001214, allocations: 90.75 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.251e-05/1.266e-05, allocations: 0 / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5459/0.5459, allocations: 115.2 MB / 0.9628 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.7469, allocations: 137.7 MB / 1.097 GB, free: 3.066 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.7472, allocations: 73.14 kB / 1.097 GB, free: 2.996 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004157/0.7514, allocations: 0.7921 MB / 1.098 GB, free: 2.242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7514, allocations: 0.7188 kB / 1.098 GB, free: 2.242 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004769/0.7519, allocations: 354.4 kB / 1.098 GB, free: 1.855 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.7519, allocations: 9.031 kB / 1.098 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.752, allocations: 4 kB / 1.098 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.7521, allocations: 167.4 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.7522, allocations: 4.594 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.7522, allocations: 4 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000106/0.7523, allocations: 24.39 kB / 1.099 GB, free: 1.613 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.7524, allocations: 53.62 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.7525, allocations: 0 / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.7525, allocations: 0 / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.7525, allocations: 4.656 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004999/0.753, allocations: 271.4 kB / 1.099 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.7531, allocations: 52.03 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.61e-05/0.7532, allocations: 22.55 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.7532, allocations: 0 / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.7534, allocations: 68.02 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.7534, allocations: 0 / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.000226/0.7536, allocations: 70.03 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.7537, allocations: 52.72 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.7538, allocations: 97.52 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.7538, allocations: 30.23 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.7539, allocations: 92.56 kB / 1.099 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.7539, allocations: 15.8 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.7539, allocations: 0.5625 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.754, allocations: 325.4 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.7541, allocations: 17.69 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.7542, allocations: 43.38 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.878e-05/0.7542, allocations: 20.88 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7543, allocations: 3.906 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001939/0.7545, allocations: 84.36 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.7545, allocations: 4 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7545, allocations: 0 / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7545, allocations: 4 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.7546, allocations: 15.89 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.7547, allocations: 0 / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.7548, allocations: 12.03 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.7548, allocations: 11.92 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.256e-05/0.7549, allocations: 110.8 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.7549, allocations: 7.906 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.755, allocations: 8.062 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.755, allocations: 0 / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.755, allocations: 4 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.755, allocations: 0 / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.7556, allocations: 320.7 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.7556, allocations: 4 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-05/0.7557, allocations: 5.75 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.7557, allocations: 7.906 kB / 1.1 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.7557, allocations: 4 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.7557, allocations: 0 / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7557, allocations: 0 / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001846/0.7559, allocations: 170.4 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.125e-05/0.756, allocations: 77.86 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.756, allocations: 7.906 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.7562, allocations: 15.98 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.7562, allocations: 7.984 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.7562, allocations: 4 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.441e-05/0.7563, allocations: 84.77 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003125/0.7566, allocations: 15.94 kB / 1.101 GB, free: 15.24 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001153/0.7568, allocations: 98.5 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.7569, allocations: 47.92 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7569, allocations: 4.062 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.757, allocations: 24 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.7573, allocations: 5.969 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.7578, allocations: 116.4 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.7581, allocations: 0.7014 MB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.7581, allocations: 0 / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.003583/0.7617, allocations: 0.7102 MB / 1.102 GB, free: 13.52 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)