Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.815/1.815, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009848/0.0009848, allocations: 185.3 kB / 487 MB, free: 5.359 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.174/1.174, allocations: 221.3 MB / 0.7819 GB, free: 1.344 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.0008781/0.0008781, allocations: 98.19 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4068/0.4077, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.5901, allocations: 142.3 MB / 1.205 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5013/1.091, allocations: 148.8 MB / 1.351 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/1.092, allocations: 74.38 kB / 1.351 GB, free: 15.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00586/1.097, allocations: 2.183 MB / 1.353 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/1.098, allocations: 9 kB / 1.353 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/1.098, allocations: 16.92 kB / 1.353 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/1.098, allocations: 174.9 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.098, allocations: 6.344 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/1.098, allocations: 5.984 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.923e-05/1.098, allocations: 21.52 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.378e-05/1.098, allocations: 52.91 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/1.098, allocations: 0 / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/1.098, allocations: 1.531 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/1.098, allocations: 1 kB / 1.353 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/1.098, allocations: 305.5 kB / 1.353 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.225e-05/1.098, allocations: 41.14 kB / 1.353 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/1.098, allocations: 22.61 kB / 1.353 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/1.098, allocations: 0.75 kB / 1.353 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.317e-05/1.098, allocations: 70.19 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/1.098, allocations: 0.7812 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001551/1.099, allocations: 75.34 kB / 1.354 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/1.099, allocations: 52.47 kB / 1.354 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/1.099, allocations: 109.7 kB / 1.354 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/1.099, allocations: 29.11 kB / 1.354 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/1.099, allocations: 87.38 kB / 1.354 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/1.099, allocations: 16.34 kB / 1.354 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/1.099, allocations: 1.188 kB / 1.354 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.802e-05/1.099, allocations: 323.5 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/1.099, allocations: 35.47 kB / 1.354 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/1.099, allocations: 71.31 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/1.099, allocations: 49.72 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.099, allocations: 0.8438 kB / 1.354 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003328/1.1, allocations: 144.8 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-06/1.1, allocations: 4.688 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.1, allocations: 2.141 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/1.1, allocations: 5.375 kB / 1.355 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/1.1, allocations: 30.59 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.1, allocations: 2.703 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/1.1, allocations: 47.7 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/1.1, allocations: 7.438 kB / 1.355 GB, free: 14.04 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: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 5.39e-05/1.1, allocations: 117.1 kB / 1.355 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/1.1, allocations: 12.17 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/1.1, allocations: 10.05 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.1, allocations: 1.344 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.1, allocations: 5.484 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/1.1, allocations: 0 / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/1.1, allocations: 311.8 kB / 1.355 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/1.1, allocations: 3.938 kB / 1.355 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/1.1, allocations: 16.28 kB / 1.355 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.1, allocations: 4.781 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/1.1, allocations: 1.547 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.1, allocations: 0.8438 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.1, allocations: 0.7969 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001101/1.101, allocations: 171.7 kB / 1.355 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001375/1.101, allocations: 0.5416 MB / 1.356 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/1.101, allocations: 84.25 kB / 1.356 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/1.101, allocations: 1.5 kB / 1.356 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/1.101, allocations: 10.84 kB / 1.356 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/1.101, allocations: 4.5 kB / 1.356 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/1.101, allocations: 12.09 kB / 1.356 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.769e-05/1.101, allocations: 91.62 kB / 1.356 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007827/1.102, allocations: 26.2 kB / 1.356 GB, free: 12.8 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001197/1.102, allocations: 114.2 kB / 1.356 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001821/1.102, allocations: 105.9 kB / 1.356 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.102, allocations: 0 / 1.356 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/1.102, allocations: 32.92 kB / 1.356 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/1.102, allocations: 11.19 kB / 1.356 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000228/1.103, allocations: 92.94 kB / 1.356 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/1.103, allocations: 0.7078 MB / 1.357 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/1.103, allocations: 0 / 1.357 GB, free: 11.88 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat does not exist to compare? outputFormat=mat