Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [: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.0.1-maint.8.0.x/package.mo): time 1.312/1.312, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.0008639/0.0008639, allocations: 183.5 kB / 361.1 MB, free: 7.117 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.9835/0.9835, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0007401/0.0007399, allocations: 91.7 kB / 0.7325 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1725/0.1732, allocations: 121.4 MB / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.5786, allocations: 115.3 MB / 0.9637 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.7057, allocations: 137.9 MB / 1.098 GB, free: 2.133 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.706, allocations: 74.81 kB / 1.098 GB, free: 2.062 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.002959/0.7089, allocations: 1.136 MB / 1.1 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.709, allocations: 8.5 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.709, allocations: 4 kB / 1.1 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.7091, allocations: 166.9 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.7091, allocations: 8.547 kB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.7092, allocations: 4.75 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.699e-05/0.7092, allocations: 16 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.711e-05/0.7093, allocations: 55.22 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.7093, allocations: 2.078 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.7093, allocations: 0.6094 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.7093, allocations: 4 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.7097, allocations: 277 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.373e-05/0.7098, allocations: 60.78 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/0.7098, allocations: 17.8 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.7099, allocations: 4 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.675e-05/0.7099, allocations: 60.53 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.7099, allocations: 0 / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001424/0.7101, allocations: 70.34 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.7101, allocations: 55.97 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.7102, allocations: 102.7 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.7102, allocations: 25.7 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.7103, allocations: 89.77 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.7103, allocations: 20.36 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.7103, allocations: 1.75 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.7104, allocations: 314.8 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.7104, allocations: 15.94 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.289e-05/0.7105, allocations: 40.09 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.7105, allocations: 21.33 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7105, allocations: 7.906 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001211/0.7107, allocations: 83.3 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.7107, allocations: 4.562 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.7107, allocations: 0.5 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7107, allocations: 5.875 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.7108, allocations: 12.44 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.7108, allocations: 0.9062 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.88e-05/0.7108, allocations: 12.67 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.7109, allocations: 9.906 kB / 1.101 GB, free: 15.23 MB / 0.7136 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 5.897e-05/0.7109, allocations: 111.5 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.7109, allocations: 7.906 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.711, allocations: 8.953 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.711, allocations: 7.984 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.711, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.711, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.7113, allocations: 327 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7113, allocations: 0 / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.7114, allocations: 4 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.7114, allocations: 9.391 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.7114, allocations: 0 / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.7114, allocations: 3.828 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7114, allocations: 0 / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001156/0.7115, allocations: 167.4 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001939/0.7117, allocations: 0.5356 MB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.7118, allocations: 83.19 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.7118, allocations: 4.469 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.7119, allocations: 15.98 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.7119, allocations: 7.984 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.7119, allocations: 4 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.53e-05/0.712, allocations: 84.03 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007516/0.7127, allocations: 15.94 kB / 1.102 GB, free: 13.75 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 8.502e-05/0.7128, allocations: 98.36 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.7129, allocations: 51.92 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7129, allocations: 3.938 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.713, allocations: 28.66 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.7132, allocations: 6.922 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.7135, allocations: 117.1 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.7137, allocations: 0.7045 MB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7137, allocations: 0 / 1.103 GB, free: 12.7 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)