Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.159/2.159, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001556/0.001555, allocations: 187.4 kB / 360.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001212/0.001212, allocations: 99.56 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2505/0.2518, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.8098, allocations: 115.2 MB / 0.9627 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/1.02, allocations: 137.7 MB / 1.097 GB, free: 3.141 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/1.02, allocations: 69.42 kB / 1.097 GB, free: 3.074 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.004827/1.025, allocations: 1.135 MB / 1.098 GB, free: 1.938 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.025, allocations: 12.5 kB / 1.098 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/1.025, allocations: 3.984 kB / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/1.026, allocations: 170.9 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/1.026, allocations: 0.5156 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/1.026, allocations: 7.938 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000109/1.026, allocations: 23.98 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/1.026, allocations: 53.62 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.026, allocations: 0.7969 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.026, allocations: 2.188 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/1.026, allocations: 0 / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/1.026, allocations: 273.5 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/1.027, allocations: 56.66 kB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.908e-05/1.027, allocations: 21.08 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/1.027, allocations: 1.734 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/1.027, allocations: 64.02 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.374e-06/1.027, allocations: 0.7188 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002437/1.027, allocations: 74.56 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/1.027, allocations: 52.59 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/1.027, allocations: 97 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/1.027, allocations: 30.55 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/1.027, allocations: 88.03 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/1.028, allocations: 20.25 kB / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/1.028, allocations: 2.469 kB / 1.099 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.028, allocations: 318.8 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/1.028, allocations: 12 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.014e-05/1.028, allocations: 48.56 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.54e-05/1.028, allocations: 21.81 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.028, allocations: 3.906 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001992/1.028, allocations: 79.3 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.028, allocations: 8 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.028, allocations: 0.7812 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.028, allocations: 0 / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.028, allocations: 16.77 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.028, allocations: 4 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/1.028, allocations: 5.156 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/1.029, allocations: 6.375 kB / 1.1 GB, free: 264 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 9.705e-05/1.029, allocations: 127.8 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/1.029, allocations: 7.906 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/1.029, allocations: 8.062 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.029, allocations: 0.6094 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.029, allocations: 0 / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.029, allocations: 0 / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/1.029, allocations: 327 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.029, allocations: 0 / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/1.029, allocations: 8 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.029, allocations: 3.906 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/1.029, allocations: 4 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.029, allocations: 0 / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.029, allocations: 0.6094 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002013/1.03, allocations: 173.2 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003074/1.03, allocations: 0.5311 MB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/1.03, allocations: 78.67 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/1.03, allocations: 11.89 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/1.03, allocations: 8 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/1.03, allocations: 11.98 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/1.03, allocations: 4 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.711e-05/1.03, allocations: 76.36 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001263/1.032, allocations: 15.98 kB / 1.101 GB, free: 14.78 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.0001469/1.032, allocations: 103.2 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001979/1.032, allocations: 52.72 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.032, allocations: 0 / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/1.032, allocations: 24 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/1.033, allocations: 11.05 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/1.033, allocations: 120.3 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/1.033, allocations: 0.6997 MB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/1.033, allocations: 0 / 1.102 GB, free: 13.72 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)