Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",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.147/2.147, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001529/0.001529, allocations: 177.3 kB / 360.3 MB, free: 7.508 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.621/1.621, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001198/0.001198, allocations: 88.11 kB / 0.7317 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2451/0.2464, allocations: 121.4 MB / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.791, allocations: 115.2 MB / 0.9628 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/1.002, allocations: 137.6 MB / 1.097 GB, free: 3.234 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.002, allocations: 72.61 kB / 1.097 GB, free: 3.164 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.02087/1.023, allocations: 4.253 MB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.023, allocations: 12.5 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/1.023, allocations: 31.8 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/1.023, allocations: 174.9 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/1.023, allocations: 19.98 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/1.023, allocations: 31.98 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000396/1.024, allocations: 112.5 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/1.024, allocations: 227.1 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.024, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/1.024, allocations: 7.984 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/1.025, allocations: 4 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/1.026, allocations: 0.5403 MB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007818/1.026, allocations: 379.8 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/1.027, allocations: 196.8 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/1.027, allocations: 4 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007167/1.028, allocations: 271.2 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 2.965e-06/1.028, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.001047/1.029, allocations: 369.9 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/1.029, allocations: 67.38 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/1.029, allocations: 128.2 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/1.029, allocations: 53.69 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.184e-05/1.029, allocations: 93.05 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/1.029, allocations: 94.84 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/1.029, allocations: 5.688 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002011/1.03, allocations: 342.7 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/1.03, allocations: 121.3 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/1.031, allocations: 275.6 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/1.031, allocations: 165.1 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.031, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001563/1.033, allocations: 471.2 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.033, allocations: 4 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.033, allocations: 4 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/1.033, allocations: 11.98 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/1.033, allocations: 43.86 kB / 1.105 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/1.033, allocations: 8.5 kB / 1.105 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009145/1.034, allocations: 115.7 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/1.034, allocations: 27.98 kB / 1.106 GB, free: 10.36 MB / 0.7136 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.0002333/1.035, allocations: 164.9 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/1.035, allocations: 31.7 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/1.035, allocations: 21.75 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/1.035, allocations: 4 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.035, allocations: 1.875 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.035, allocations: 3.984 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/1.037, allocations: 0.8512 MB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/1.037, allocations: 9.344 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/1.037, allocations: 15.94 kB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/1.037, allocations: 4 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/1.037, allocations: 16.03 kB / 1.107 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/1.037, allocations: 4 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.037, allocations: 0 / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009881/1.038, allocations: 0.5037 MB / 1.107 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001177/1.04, allocations: 0.875 MB / 1.108 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/1.04, allocations: 100.8 kB / 1.108 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/1.04, allocations: 15.98 kB / 1.108 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/1.04, allocations: 40.7 kB / 1.108 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.04, allocations: 39.92 kB / 1.108 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.736e-05/1.04, allocations: 39.97 kB / 1.108 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.764e-05/1.04, allocations: 95.22 kB / 1.108 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001436/1.042, allocations: 99.88 kB / 1.108 GB, free: 7.297 MB / 0.7136 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.0002917/1.042, allocations: 142.3 kB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.043, allocations: 436.9 kB / 1.109 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.043, allocations: 6.406 kB / 1.109 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005801/1.044, allocations: 283.9 kB / 1.109 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/1.044, allocations: 26.78 kB / 1.109 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/1.045, allocations: 355 kB / 1.11 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004809/1.046, allocations: 0.7649 MB / 1.11 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/1.046, allocations: 0 / 1.11 GB, free: 5.234 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1)