Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.81/1.81, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009784/0.0009784, allocations: 173.3 kB / 487 MB, free: 5.371 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.137/1.137, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.0008219/0.0008219, allocations: 102 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.425/0.4258, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.622, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5201/1.142, allocations: 148.8 MB / 1.351 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001691/1.142, allocations: 75.59 kB / 1.351 GB, free: 15.63 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.005727/1.148, allocations: 2.184 MB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/1.148, allocations: 10.22 kB / 1.353 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/1.148, allocations: 10.31 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.3e-05/1.148, allocations: 174.1 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/1.148, allocations: 4.922 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/1.148, allocations: 7.016 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.661e-05/1.148, allocations: 21.67 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.52e-05/1.148, allocations: 52.09 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/1.148, allocations: 0 / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/1.148, allocations: 5.281 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/1.148, allocations: 0 / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/1.149, allocations: 298.4 kB / 1.353 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/1.149, allocations: 41.17 kB / 1.353 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/1.149, allocations: 30.92 kB / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/1.149, allocations: 0 / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.57e-05/1.149, allocations: 66.88 kB / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/1.149, allocations: 0 / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001625/1.149, allocations: 80.19 kB / 1.354 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/1.149, allocations: 53.38 kB / 1.354 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/1.149, allocations: 109.6 kB / 1.354 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/1.149, allocations: 32.45 kB / 1.354 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/1.149, allocations: 83.92 kB / 1.354 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/1.149, allocations: 16.62 kB / 1.354 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/1.149, allocations: 2.562 kB / 1.354 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/1.15, allocations: 317.3 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/1.15, allocations: 39.98 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-05/1.15, allocations: 69.58 kB / 1.354 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/1.15, allocations: 50.25 kB / 1.354 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.15, allocations: 0 / 1.354 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003291/1.15, allocations: 148.5 kB / 1.355 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/1.15, allocations: 9.188 kB / 1.355 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/1.15, allocations: 1.469 kB / 1.355 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/1.15, allocations: 6.188 kB / 1.355 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/1.15, allocations: 18.25 kB / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.15, allocations: 6.375 kB / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/1.151, allocations: 51.53 kB / 1.355 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/1.151, allocations: 7.797 kB / 1.355 GB, free: 13.82 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.change.u,change.u,change.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.839e-05/1.151, allocations: 117 kB / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/1.151, allocations: 6.906 kB / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/1.151, allocations: 9.781 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.151, allocations: 5.172 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.151, allocations: 5.062 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.151, allocations: 1.406 kB / 1.355 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/1.151, allocations: 313 kB / 1.355 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.151, allocations: 0.75 kB / 1.355 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/1.151, allocations: 13.59 kB / 1.355 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.151, allocations: 4.719 kB / 1.355 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/1.151, allocations: 1.094 kB / 1.355 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/1.151, allocations: 1.5 kB / 1.355 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/1.151, allocations: 4.938 kB / 1.355 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001105/1.151, allocations: 168.4 kB / 1.355 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001417/1.151, allocations: 0.5363 MB / 1.356 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/1.151, allocations: 84.42 kB / 1.356 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/1.151, allocations: 1 kB / 1.356 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/1.152, allocations: 13.72 kB / 1.356 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/1.152, allocations: 5.312 kB / 1.356 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/1.152, allocations: 8.5 kB / 1.356 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.05e-05/1.152, allocations: 88.33 kB / 1.356 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007891/1.152, allocations: 30.39 kB / 1.356 GB, free: 12.59 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.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.0001272/1.153, allocations: 119.3 kB / 1.356 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001873/1.153, allocations: 106.3 kB / 1.356 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/1.153, allocations: 1.125 kB / 1.356 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.783e-05/1.153, allocations: 26.48 kB / 1.356 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/1.153, allocations: 15.11 kB / 1.356 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/1.153, allocations: 99.02 kB / 1.356 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/1.153, allocations: 0.7072 MB / 1.357 GB, free: 27.67 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.153, allocations: 4.75 kB / 1.357 GB, free: 27.66 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat does not exist to compare? outputFormat=mat