Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.841/1.841, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.00105/0.00105, allocations: 185.2 kB / 487 MB, free: 5.34 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.162/1.162, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0008609/0.0008613, allocations: 97.92 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4433/0.4442, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.643, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5484/1.191, allocations: 148.8 MB / 1.351 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/1.192, allocations: 69.31 kB / 1.351 GB, free: 15.73 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.01017/1.202, allocations: 3.526 MB / 1.354 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.202, allocations: 13.34 kB / 1.354 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/1.202, allocations: 21.12 kB / 1.354 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/1.202, allocations: 168.5 kB / 1.354 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/1.202, allocations: 5.141 kB / 1.354 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/1.202, allocations: 18.95 kB / 1.354 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001407/1.202, allocations: 61.39 kB / 1.354 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/1.203, allocations: 125.4 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/1.203, allocations: 0 / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/1.203, allocations: 1.625 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/1.203, allocations: 9.594 kB / 1.355 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006865/1.203, allocations: 0.5191 MB / 1.355 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/1.204, allocations: 149.8 kB / 1.355 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.228e-05/1.204, allocations: 58.66 kB / 1.355 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/1.204, allocations: 2 kB / 1.355 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/1.204, allocations: 167.1 kB / 1.355 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/1.204, allocations: 0 / 1.355 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0003421/1.204, allocations: 180.8 kB / 1.356 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/1.204, allocations: 83.11 kB / 1.356 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/1.204, allocations: 117 kB / 1.356 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/1.204, allocations: 32.89 kB / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/1.204, allocations: 95.67 kB / 1.356 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/1.205, allocations: 49.23 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/1.205, allocations: 3.469 kB / 1.356 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/1.205, allocations: 330.1 kB / 1.356 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/1.205, allocations: 78.5 kB / 1.356 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/1.205, allocations: 143.9 kB / 1.357 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/1.205, allocations: 99.59 kB / 1.357 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.205, allocations: 1.062 kB / 1.357 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006641/1.206, allocations: 293.5 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/1.206, allocations: 5.531 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.206, allocations: 1.781 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.206, allocations: 5.078 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/1.206, allocations: 21.38 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.206, allocations: 4.641 kB / 1.357 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/1.207, allocations: 99.92 kB / 1.357 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/1.207, allocations: 19.7 kB / 1.357 GB, free: 13.53 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 8.879e-05/1.207, allocations: 123.8 kB / 1.357 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/1.207, allocations: 21.23 kB / 1.357 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.698e-05/1.207, allocations: 10.48 kB / 1.357 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/1.207, allocations: 3.844 kB / 1.357 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.207, allocations: 3.938 kB / 1.357 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/1.207, allocations: 6.281 kB / 1.357 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/1.207, allocations: 0.5276 MB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/1.207, allocations: 0 / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/1.207, allocations: 7.734 kB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.207, allocations: 2.75 kB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/1.207, allocations: 6.562 kB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.207, allocations: 6.969 kB / 1.358 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.207, allocations: 0 / 1.358 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000287/1.208, allocations: 376.7 kB / 1.358 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003101/1.208, allocations: 0.7292 MB / 1.359 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/1.208, allocations: 84.73 kB / 1.359 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/1.208, allocations: 7.078 kB / 1.359 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/1.208, allocations: 13.31 kB / 1.359 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/1.208, allocations: 22.52 kB / 1.359 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/1.208, allocations: 16 kB / 1.359 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.332e-05/1.208, allocations: 105.7 kB / 1.359 GB, free: 12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008999/1.209, allocations: 53.5 kB / 1.359 GB, free: 12 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001665/1.209, allocations: 118 kB / 1.359 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004042/1.21, allocations: 260.8 kB / 1.359 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.21, allocations: 0.75 kB / 1.359 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/1.21, allocations: 107.3 kB / 1.36 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/1.21, allocations: 21.44 kB / 1.36 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/1.211, allocations: 189.1 kB / 1.36 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.211, allocations: 0.7285 MB / 1.36 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/1.211, allocations: 1.094 kB / 1.36 GB, free: 11.04 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat does not exist to compare? outputFormat=mat