Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",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.846/1.846, allocations: 390.4 MB / 397.7 MB, free: 11.31 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.0009649/0.0009649, allocations: 185.2 kB / 490.8 MB, free: 1.961 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.136/1.136, allocations: 221.3 MB / 0.7863 GB, free: 13.72 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.0008095/0.0008095, allocations: 84.73 kB / 0.9264 GB, free: 14.26 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4187/0.4195, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.604, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4971/1.101, allocations: 149.9 MB / 1.358 GB, free: 16.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/1.101, allocations: 70.75 kB / 1.358 GB, free: 16.94 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.01161/1.113, allocations: 4.251 MB / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/1.113, allocations: 9.312 kB / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/1.113, allocations: 30.91 kB / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.123e-05/1.113, allocations: 182.5 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/1.113, allocations: 14.94 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/1.113, allocations: 32.83 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002142/1.114, allocations: 105.2 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/1.114, allocations: 230.8 kB / 1.363 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/1.114, allocations: 3.938 kB / 1.363 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/1.114, allocations: 10.62 kB / 1.363 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/1.114, allocations: 3.125 kB / 1.363 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006592/1.115, allocations: 0.5394 MB / 1.363 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/1.115, allocations: 378 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/1.115, allocations: 191.8 kB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/1.115, allocations: 10.34 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003692/1.116, allocations: 272.1 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 1.663e-06/1.116, allocations: 0 / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0005935/1.116, allocations: 376.7 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/1.116, allocations: 68.03 kB / 1.365 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/1.116, allocations: 126.2 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/1.116, allocations: 48.41 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/1.117, allocations: 92.61 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.359e-05/1.117, allocations: 96.14 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/1.117, allocations: 4.734 kB / 1.365 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.117, allocations: 336.4 kB / 1.365 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/1.117, allocations: 130 kB / 1.365 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/1.117, allocations: 275.8 kB / 1.366 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/1.118, allocations: 171.1 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.118, allocations: 5.25 kB / 1.366 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008829/1.119, allocations: 463.5 kB / 1.366 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/1.119, allocations: 7.969 kB / 1.366 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.119, allocations: 3.75 kB / 1.366 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.119, allocations: 8.188 kB / 1.366 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/1.119, allocations: 47.3 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.119, allocations: 11.66 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/1.119, allocations: 109.9 kB / 1.366 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-05/1.119, allocations: 32.22 kB / 1.366 GB, free: 30.56 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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 0.0001289/1.119, allocations: 154.5 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/1.12, allocations: 27.34 kB / 1.367 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/1.12, allocations: 25.23 kB / 1.367 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.12, allocations: 5.25 kB / 1.367 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.12, allocations: 4.047 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.12, allocations: 5.453 kB / 1.367 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/1.121, allocations: 0.8441 MB / 1.368 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.121, allocations: 3.203 kB / 1.368 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/1.121, allocations: 14.42 kB / 1.368 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.121, allocations: 6.75 kB / 1.368 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/1.121, allocations: 26.38 kB / 1.368 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/1.121, allocations: 2.312 kB / 1.368 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.121, allocations: 0 / 1.368 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005405/1.121, allocations: 0.5103 MB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006428/1.122, allocations: 0.8652 MB / 1.369 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/1.122, allocations: 97.17 kB / 1.369 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/1.122, allocations: 25.31 kB / 1.369 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/1.122, allocations: 29.14 kB / 1.369 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/1.122, allocations: 40.06 kB / 1.369 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/1.123, allocations: 39.69 kB / 1.369 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.744e-05/1.123, allocations: 98.16 kB / 1.369 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009246/1.124, allocations: 97.16 kB / 1.369 GB, free: 29.11 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001863/1.124, allocations: 143.9 kB / 1.369 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005812/1.124, allocations: 447.4 kB / 1.37 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.124, allocations: 1.25 kB / 1.37 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/1.125, allocations: 287.6 kB / 1.37 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/1.125, allocations: 28.45 kB / 1.37 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000613/1.125, allocations: 353.5 kB / 1.371 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/1.126, allocations: 0.768 MB / 1.371 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.126, allocations: 0 / 1.371 GB, free: 28.08 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat does not exist to compare? outputFormat=mat