Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",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 9.1.1-maint.9.1.x/package.mo): time 1.836/1.836, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001006/0.001006, allocations: 184.7 kB / 487 MB, free: 5.379 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.155/1.155, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008501/0.0008501, allocations: 101 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.416/0.4169, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.6033, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4997/1.103, allocations: 148.8 MB / 1.351 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/1.103, allocations: 69.62 kB / 1.351 GB, free: 15.93 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.005694/1.109, allocations: 2.168 MB / 1.353 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/1.109, allocations: 8.75 kB / 1.353 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/1.109, allocations: 11.72 kB / 1.353 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.923e-05/1.109, allocations: 171.2 kB / 1.353 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/1.109, allocations: 3.5 kB / 1.353 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/1.109, allocations: 9.922 kB / 1.353 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.747e-05/1.109, allocations: 42 kB / 1.353 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/1.109, allocations: 76.83 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/1.109, allocations: 0 / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/1.109, allocations: 6.484 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.109, allocations: 1.125 kB / 1.353 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/1.11, allocations: 348.6 kB / 1.353 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/1.11, allocations: 91.61 kB / 1.354 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.287e-05/1.11, allocations: 33.73 kB / 1.354 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/1.11, allocations: 1.062 kB / 1.354 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/1.11, allocations: 99.09 kB / 1.354 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/1.11, allocations: 1.344 kB / 1.354 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002328/1.111, allocations: 119.9 kB / 1.354 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/1.111, allocations: 64.39 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.945e-05/1.111, allocations: 102 kB / 1.354 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/1.111, allocations: 33.59 kB / 1.354 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/1.111, allocations: 85.31 kB / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/1.111, allocations: 34.02 kB / 1.354 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/1.111, allocations: 5.094 kB / 1.354 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.826e-05/1.111, allocations: 319.4 kB / 1.354 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.741e-05/1.111, allocations: 45.8 kB / 1.354 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/1.111, allocations: 78.64 kB / 1.355 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/1.111, allocations: 55.73 kB / 1.355 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.111, allocations: 1.062 kB / 1.355 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000367/1.112, allocations: 176.6 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.112, allocations: 5.469 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.112, allocations: 0.75 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/1.112, allocations: 2.438 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.27e-05/1.112, allocations: 8 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.112, allocations: 4.266 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/1.112, allocations: 47.84 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/1.112, allocations: 16.3 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.458e-05/1.112, allocations: 117.7 kB / 1.355 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/1.112, allocations: 10.02 kB / 1.355 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/1.112, allocations: 9.125 kB / 1.355 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.112, allocations: 1.594 kB / 1.355 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/1.112, allocations: 0.75 kB / 1.355 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.112, allocations: 1.453 kB / 1.355 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/1.112, allocations: 375.8 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.112, allocations: 0 / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/1.112, allocations: 4.297 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.112, allocations: 2.562 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.112, allocations: 2.422 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.112, allocations: 1.703 kB / 1.355 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.112, allocations: 10.64 kB / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000178/1.113, allocations: 211.2 kB / 1.356 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002122/1.113, allocations: 0.5891 MB / 1.356 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/1.113, allocations: 87.83 kB / 1.356 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/1.113, allocations: 8.047 kB / 1.356 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/1.113, allocations: 8.391 kB / 1.356 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/1.113, allocations: 11.73 kB / 1.356 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/1.113, allocations: 15.09 kB / 1.356 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.156e-05/1.113, allocations: 84.73 kB / 1.356 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008071/1.114, allocations: 39.2 kB / 1.356 GB, free: 12.88 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001384/1.114, allocations: 113.2 kB / 1.356 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002393/1.114, allocations: 143.8 kB / 1.357 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.114, allocations: 0 / 1.357 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.481e-05/1.114, allocations: 73.2 kB / 1.357 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/1.115, allocations: 19.16 kB / 1.357 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/1.115, allocations: 120.1 kB / 1.357 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/1.115, allocations: 0.7103 MB / 1.357 GB, free: 27.96 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/1.115, allocations: 3.938 kB / 1.357 GB, free: 27.95 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat does not exist to compare? outputFormat=mat