Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.843/1.843, allocations: 390.4 MB / 397.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 185.3 kB / 490.8 MB, free: 1.902 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 221.4 MB / 0.7863 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 90.84 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.421/0.4219, allocations: 149.1 MB / 1.072 GB, free: 164.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.6159, allocations: 143 MB / 1.212 GB, free: 21.7 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.544/1.16, allocations: 150.8 MB / 1.359 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/1.16, allocations: 71.17 kB / 1.359 GB, free: 1.566 MB / 0.8073 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.003851/1.164, allocations: 1.451 MB / 1.36 GB, free: 268 kB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/1.164, allocations: 8 kB / 1.36 GB, free: 260 kB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/1.164, allocations: 4.688 kB / 1.36 GB, free: 256 kB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/1.164, allocations: 171 kB / 1.361 GB, free: 44 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/1.164, allocations: 0 / 1.361 GB, free: 44 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/1.164, allocations: 4 kB / 1.361 GB, free: 40 kB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.373e-05/1.164, allocations: 19.06 kB / 1.361 GB, free: 28 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.949e-05/1.164, allocations: 52.25 kB / 1.361 GB, free: 15.98 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/1.164, allocations: 0 / 1.361 GB, free: 15.98 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.164, allocations: 9.547 kB / 1.361 GB, free: 15.97 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/1.164, allocations: 4 kB / 1.361 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/1.165, allocations: 262.8 kB / 1.361 GB, free: 15.68 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/1.165, allocations: 64.38 kB / 1.361 GB, free: 15.62 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/1.165, allocations: 19.45 kB / 1.361 GB, free: 15.61 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/1.165, allocations: 4 kB / 1.361 GB, free: 15.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.802e-05/1.165, allocations: 58.72 kB / 1.361 GB, free: 15.54 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/1.165, allocations: 0 / 1.361 GB, free: 15.54 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0001432/1.165, allocations: 72.5 kB / 1.361 GB, free: 15.47 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/1.165, allocations: 66.58 kB / 1.361 GB, free: 15.39 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/1.165, allocations: 100.2 kB / 1.361 GB, free: 15.29 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/1.165, allocations: 25.7 kB / 1.361 GB, free: 15.26 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/1.165, allocations: 91.05 kB / 1.361 GB, free: 15.17 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/1.165, allocations: 23.11 kB / 1.361 GB, free: 15.15 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/1.165, allocations: 0 / 1.361 GB, free: 15.15 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/1.165, allocations: 314.3 kB / 1.362 GB, free: 14.84 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.652e-05/1.166, allocations: 11.19 kB / 1.362 GB, free: 14.83 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/1.166, allocations: 45.98 kB / 1.362 GB, free: 14.78 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/1.166, allocations: 21.81 kB / 1.362 GB, free: 14.77 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.166, allocations: 0 / 1.362 GB, free: 14.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001122/1.166, allocations: 84.83 kB / 1.362 GB, free: 14.69 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/1.166, allocations: 4 kB / 1.362 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/1.166, allocations: 0 / 1.362 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/1.166, allocations: 4 kB / 1.362 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/1.166, allocations: 12.02 kB / 1.362 GB, free: 14.67 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/1.166, allocations: 7.906 kB / 1.362 GB, free: 14.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/1.166, allocations: 8 kB / 1.362 GB, free: 14.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/1.166, allocations: 8.688 kB / 1.362 GB, free: 14.65 MB / 0.823 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.018e-05/1.166, allocations: 117.2 kB / 1.362 GB, free: 14.54 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/1.166, allocations: 7.891 kB / 1.362 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/1.166, allocations: 7.375 kB / 1.362 GB, free: 14.52 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/1.166, allocations: 8 kB / 1.362 GB, free: 14.51 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/1.166, allocations: 0 / 1.362 GB, free: 14.51 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.166, allocations: 0 / 1.362 GB, free: 14.51 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/1.166, allocations: 320.6 kB / 1.362 GB, free: 14.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.166, allocations: 3.984 kB / 1.362 GB, free: 14.17 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/1.166, allocations: 8 kB / 1.362 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.166, allocations: 0 / 1.362 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.166, allocations: 4.094 kB / 1.362 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.166, allocations: 0.5625 kB / 1.362 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.166, allocations: 3.938 kB / 1.362 GB, free: 14.15 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001113/1.167, allocations: 169.9 kB / 1.363 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001899/1.167, allocations: 0.544 MB / 1.363 GB, free: 13.43 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/1.167, allocations: 77.11 kB / 1.363 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/1.167, allocations: 4.062 kB / 1.363 GB, free: 13.33 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/1.167, allocations: 15.89 kB / 1.363 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/1.167, allocations: 3.984 kB / 1.363 GB, free: 13.31 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/1.167, allocations: 7.188 kB / 1.363 GB, free: 13.31 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.95e-05/1.167, allocations: 83.28 kB / 1.363 GB, free: 13.23 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007444/1.168, allocations: 12 kB / 1.363 GB, free: 13.21 MB / 0.823 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.156e-05/1.168, allocations: 107.1 kB / 1.363 GB, free: 13.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.895e-05/1.168, allocations: 46.12 kB / 1.363 GB, free: 13.07 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/1.168, allocations: 0 / 1.363 GB, free: 13.07 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/1.168, allocations: 23.12 kB / 1.363 GB, free: 13.05 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/1.168, allocations: 11.92 kB / 1.363 GB, free: 13.04 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/1.168, allocations: 86.95 kB / 1.364 GB, free: 12.94 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/1.169, allocations: 0.7002 MB / 1.364 GB, free: 12.21 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.169, allocations: 0 / 1.364 GB, free: 12.21 MB / 0.823 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat does not exist to compare? outputFormat=mat