Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_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 8.0.0/package.mo): time 2.325/2.325, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001663, allocations: 185.3 kB / 360.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 86.36 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.277/0.2782, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6278/0.9061, allocations: 115.2 MB / 0.9628 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/1.123, allocations: 138.6 MB / 1.098 GB, free: 2.312 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.123, allocations: 72.94 kB / 1.098 GB, free: 2.242 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.02813/1.151, allocations: 5.691 MB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.152, allocations: 12.5 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/1.152, allocations: 35.7 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/1.152, allocations: 263.3 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/1.152, allocations: 15.98 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/1.153, allocations: 35.98 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003547/1.153, allocations: 88.58 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/1.153, allocations: 153.8 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.153, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/1.153, allocations: 7.984 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/1.153, allocations: 4 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/1.155, allocations: 0.583 MB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/1.155, allocations: 169 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/1.156, allocations: 65.2 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/1.156, allocations: 15.89 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004392/1.156, allocations: 183.1 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 3.406e-06/1.156, allocations: 0 / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0008218/1.157, allocations: 237.4 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/1.157, allocations: 79.03 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/1.157, allocations: 161.9 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/1.157, allocations: 45.69 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/1.158, allocations: 116.8 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/1.158, allocations: 82.95 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/1.158, allocations: 4 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.158, allocations: 338.8 kB / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/1.158, allocations: 133.1 kB / 1.106 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/1.159, allocations: 254.6 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009998/1.16, allocations: 183.6 kB / 1.107 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.16, allocations: 4 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00191/1.162, allocations: 477.8 kB / 1.107 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/1.162, allocations: 4 kB / 1.107 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.162, allocations: 4 kB / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/1.162, allocations: 4 kB / 1.107 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/1.162, allocations: 44.52 kB / 1.107 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/1.162, allocations: 15.89 kB / 1.107 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/1.164, allocations: 127.8 kB / 1.107 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.164, allocations: 31.98 kB / 1.108 GB, free: 8.477 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002631/1.164, allocations: 157.9 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/1.164, allocations: 27.66 kB / 1.108 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.992e-05/1.164, allocations: 18.66 kB / 1.108 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.164, allocations: 15.64 kB / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.164, allocations: 0 / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.164, allocations: 4 kB / 1.108 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/1.166, allocations: 0.5923 MB / 1.108 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.166, allocations: 4 kB / 1.108 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/1.166, allocations: 17.88 kB / 1.108 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/1.166, allocations: 4 kB / 1.108 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/1.166, allocations: 3.984 kB / 1.108 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.166, allocations: 7.984 kB / 1.108 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.166, allocations: 0 / 1.108 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006817/1.167, allocations: 346.6 kB / 1.109 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007982/1.167, allocations: 0.7145 MB / 1.109 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.597e-05/1.168, allocations: 100.8 kB / 1.109 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.761e-05/1.168, allocations: 7.984 kB / 1.109 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/1.168, allocations: 7.984 kB / 1.109 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.168, allocations: 35.94 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/1.168, allocations: 19.98 kB / 1.11 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001357/1.168, allocations: 119.3 kB / 1.11 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001538/1.17, allocations: 83.98 kB / 1.11 GB, free: 6.105 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0002829/1.17, allocations: 125.7 kB / 1.11 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001234/1.171, allocations: 416.9 kB / 1.11 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.171, allocations: 0.75 kB / 1.11 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/1.172, allocations: 135.9 kB / 1.11 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/1.172, allocations: 36.92 kB / 1.11 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/1.173, allocations: 297.1 kB / 1.111 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/1.174, allocations: 0.7794 MB / 1.111 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of SimCode: time 1.523e-06/1.174, allocations: 3.938 kB / 1.111 GB, free: 4.254 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)