Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.246/2.246, allocations: 284.8 MB / 292.1 MB, free: 9.891 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.001581/0.00158, allocations: 167.7 kB / 360.3 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.1 MB / 0.6187 GB, free: 3.332 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001245/0.001244, allocations: 85.64 kB / 0.7317 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4951/0.4964, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.6895, allocations: 115.2 MB / 0.9628 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5932/1.283, allocations: 137.8 MB / 1.097 GB, free: 44.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/1.283, allocations: 74.14 kB / 1.097 GB, free: 44.83 MB / 0.7136 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.005518/1.289, allocations: 1.403 MB / 1.099 GB, free: 44.44 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.289, allocations: 8.375 kB / 1.099 GB, free: 44.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/1.289, allocations: 8.969 kB / 1.099 GB, free: 44.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/1.289, allocations: 168.3 kB / 1.099 GB, free: 44.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/1.289, allocations: 3.875 kB / 1.099 GB, free: 44.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/1.289, allocations: 3.875 kB / 1.099 GB, free: 44.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.464e-05/1.289, allocations: 26.67 kB / 1.099 GB, free: 44.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/1.289, allocations: 46.06 kB / 1.099 GB, free: 44.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.289, allocations: 0 / 1.099 GB, free: 44.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/1.289, allocations: 3.875 kB / 1.099 GB, free: 44.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.289, allocations: 0 / 1.099 GB, free: 44.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/1.29, allocations: 269.2 kB / 1.099 GB, free: 43.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/1.29, allocations: 57.03 kB / 1.099 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/1.29, allocations: 28.36 kB / 1.099 GB, free: 43.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/1.29, allocations: 0 / 1.099 GB, free: 43.92 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.613e-05/1.29, allocations: 61.61 kB / 1.099 GB, free: 43.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/1.29, allocations: 0 / 1.099 GB, free: 43.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001981/1.29, allocations: 70.81 kB / 1.099 GB, free: 43.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/1.29, allocations: 54.62 kB / 1.1 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.632e-05/1.29, allocations: 98.77 kB / 1.1 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/1.29, allocations: 33.33 kB / 1.1 GB, free: 43.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/1.29, allocations: 89.31 kB / 1.1 GB, free: 43.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/1.29, allocations: 22.23 kB / 1.1 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/1.29, allocations: 3.188 kB / 1.1 GB, free: 43.55 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/1.29, allocations: 312.8 kB / 1.1 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/1.29, allocations: 14.34 kB / 1.1 GB, free: 43.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/1.291, allocations: 47.48 kB / 1.1 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/1.291, allocations: 19.69 kB / 1.1 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.291, allocations: 0 / 1.1 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001696/1.291, allocations: 86.39 kB / 1.1 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.291, allocations: 10.44 kB / 1.1 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.291, allocations: 3.875 kB / 1.1 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/1.291, allocations: 0 / 1.1 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/1.291, allocations: 11.27 kB / 1.1 GB, free: 43.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/1.291, allocations: 7.562 kB / 1.1 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/1.291, allocations: 14.47 kB / 1.1 GB, free: 43.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/1.291, allocations: 3.875 kB / 1.1 GB, free: 43.14 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 6.609e-05/1.291, allocations: 113 kB / 1.1 GB, free: 43.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/1.291, allocations: 11.73 kB / 1.1 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/1.291, allocations: 7.312 kB / 1.1 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.291, allocations: 0 / 1.1 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.291, allocations: 0 / 1.1 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.291, allocations: 3.875 kB / 1.1 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/1.292, allocations: 324.1 kB / 1.101 GB, free: 42.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.292, allocations: 0 / 1.101 GB, free: 42.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/1.292, allocations: 3.875 kB / 1.101 GB, free: 42.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/1.292, allocations: 3.797 kB / 1.101 GB, free: 42.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/1.292, allocations: 7.906 kB / 1.101 GB, free: 42.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.292, allocations: 0 / 1.101 GB, free: 42.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.292, allocations: 0 / 1.101 GB, free: 42.73 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001478/1.292, allocations: 169.3 kB / 1.101 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001945/1.292, allocations: 0.5315 MB / 1.101 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/1.292, allocations: 86.83 kB / 1.102 GB, free: 41.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/1.292, allocations: 6.984 kB / 1.102 GB, free: 41.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/1.292, allocations: 9.781 kB / 1.102 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/1.293, allocations: 7.781 kB / 1.102 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/1.293, allocations: 7.719 kB / 1.102 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.995e-05/1.293, allocations: 82.09 kB / 1.102 GB, free: 41.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001105/1.294, allocations: 7.719 kB / 1.102 GB, free: 41.91 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 9.701e-05/1.294, allocations: 115.4 kB / 1.102 GB, free: 41.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001514/1.294, allocations: 43.91 kB / 1.102 GB, free: 41.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.294, allocations: 0 / 1.102 GB, free: 41.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/1.294, allocations: 26.11 kB / 1.102 GB, free: 41.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/1.294, allocations: 4.969 kB / 1.102 GB, free: 41.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/1.295, allocations: 95.58 kB / 1.102 GB, free: 41.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/1.295, allocations: 0.7084 MB / 1.103 GB, free: 57.02 MB / 0.7292 GB Notification: Performance of SimCode: time 8.22e-07/1.295, allocations: 0 / 1.103 GB, free: 57.02 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)