Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000944/0.000944, allocations: 188 kB / 316 MB, free: 7.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 0.5667 GB, free: 23.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008632/0.0008632, allocations: 86.52 kB / 0.671 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.204/0.2049, allocations: 112.5 MB / 0.7808 GB, free: 360 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.5977, allocations: 106.3 MB / 0.8846 GB, free: 76.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.7406, allocations: 131.6 MB / 1.013 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.7409, allocations: 75.91 kB / 1.013 GB, free: 8.496 MB / 0.6667 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.003414/0.7443, allocations: 1.122 MB / 1.014 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.7444, allocations: 8 kB / 1.014 GB, free: 7.324 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.7444, allocations: 11.91 kB / 1.014 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.7446, allocations: 174.9 kB / 1.014 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.7446, allocations: 7.922 kB / 1.014 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.7446, allocations: 11.91 kB / 1.014 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.102e-05/0.7447, allocations: 16 kB / 1.015 GB, free: 7.066 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.782e-05/0.7448, allocations: 53.69 kB / 1.015 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.7448, allocations: 0 / 1.015 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.7449, allocations: 3.984 kB / 1.015 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.7449, allocations: 0 / 1.015 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.7453, allocations: 269.3 kB / 1.015 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.7454, allocations: 50.56 kB / 1.015 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.057e-05/0.7455, allocations: 21.08 kB / 1.015 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.7455, allocations: 0 / 1.015 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.78e-05/0.7456, allocations: 71.34 kB / 1.015 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.7456, allocations: 0 / 1.015 GB, free: 6.539 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9): time 0.0001501/0.7457, allocations: 65.62 kB / 1.015 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.7458, allocations: 59.39 kB / 1.015 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.04e-05/0.7458, allocations: 96.91 kB / 1.015 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.7459, allocations: 33.7 kB / 1.015 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.7459, allocations: 80.14 kB / 1.015 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.7459, allocations: 27.69 kB / 1.015 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.7459, allocations: 4 kB / 1.015 GB, free: 6.145 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.746, allocations: 310.8 kB / 1.016 GB, free: 5.832 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.7461, allocations: 20 kB / 1.016 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.327e-05/0.7462, allocations: 43.36 kB / 1.016 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/0.7462, allocations: 20.09 kB / 1.016 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.7462, allocations: 3.938 kB / 1.016 GB, free: 5.734 MB / 0.6667 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001201/0.7463, allocations: 85.52 kB / 1.016 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.7464, allocations: 4 kB / 1.016 GB, free: 5.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.7464, allocations: 4 kB / 1.016 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.7464, allocations: 0 / 1.016 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.7465, allocations: 19.92 kB / 1.016 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.7465, allocations: 4 kB / 1.016 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.7465, allocations: 11.84 kB / 1.016 GB, free: 5.602 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.7466, allocations: 8.031 kB / 1.016 GB, free: 5.594 MB / 0.6667 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.31e-05/0.7466, allocations: 115.7 kB / 1.016 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.7467, allocations: 7.891 kB / 1.016 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.7467, allocations: 16.05 kB / 1.016 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.7467, allocations: 3.938 kB / 1.016 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.7467, allocations: 0 / 1.016 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7467, allocations: 0 / 1.016 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.7471, allocations: 319 kB / 1.016 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7471, allocations: 3.984 kB / 1.016 GB, free: 5.094 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.7471, allocations: 8 kB / 1.016 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7472, allocations: 0 / 1.016 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.7472, allocations: 0 / 1.016 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7472, allocations: 0 / 1.016 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7472, allocations: 4 kB / 1.016 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001405/0.7473, allocations: 163.4 kB / 1.016 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002491/0.7476, allocations: 0.5429 MB / 1.017 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.7476, allocations: 81.02 kB / 1.017 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.7477, allocations: 0 / 1.017 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.2e-05/0.7478, allocations: 15.98 kB / 1.017 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.7478, allocations: 11.98 kB / 1.017 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.7478, allocations: 0 / 1.017 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.549e-05/0.7479, allocations: 79.28 kB / 1.017 GB, free: 4.141 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008641/0.7488, allocations: 15.91 kB / 1.017 GB, free: 4.125 MB / 0.6667 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.0001045/0.7489, allocations: 103.2 kB / 1.017 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.749, allocations: 52 kB / 1.017 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.749, allocations: 0 / 1.017 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.7491, allocations: 27.94 kB / 1.017 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.7493, allocations: 7.984 kB / 1.017 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.7496, allocations: 111.7 kB / 1.017 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.7499, allocations: 0.6958 MB / 1.018 GB, free: 3.074 MB / 0.6667 GB Notification: Performance of SimCode: time 2.61e-07/0.7499, allocations: 0 / 1.018 GB, free: 3.074 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)