Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [: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.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0008952/0.0008952, allocations: 185.3 kB / 361.1 MB, free: 7.09 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.03/1.03, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007358/0.0007358, allocations: 89.36 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.193e-06, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4141, allocations: 115.3 MB / 0.9637 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.5471, allocations: 137.2 MB / 1.098 GB, free: 2.832 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.5473, allocations: 71.95 kB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.00631/0.5536, allocations: 2.16 MB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.5537, allocations: 4 kB / 1.1 GB, free: 0.6602 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004018/0.5541, allocations: 368.6 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.5541, allocations: 11.41 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.5541, allocations: 7.906 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.5543, allocations: 177.2 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5543, allocations: 0 / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.5543, allocations: 12.59 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.211e-05/0.5544, allocations: 16 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.5545, allocations: 49.69 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.5545, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.5545, allocations: 2.375 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5545, allocations: 0.8906 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.5549, allocations: 279.6 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.133e-05/0.555, allocations: 43.11 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.555, allocations: 21.48 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.555, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.68e-05/0.5551, allocations: 62.56 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.5551, allocations: 0.5625 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001518/0.5553, allocations: 70.34 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.5553, allocations: 52.09 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.5554, allocations: 109.6 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.5554, allocations: 25.7 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.5555, allocations: 96.75 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.5555, allocations: 20.27 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.5555, allocations: 0 / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.5556, allocations: 319.4 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.403e-05/0.5556, allocations: 16.81 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.544e-05/0.5557, allocations: 59.83 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.556, allocations: 53.97 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.556, allocations: 0 / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003412/0.5563, allocations: 121.5 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.5563, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5563, allocations: 7.938 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.5564, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.5565, allocations: 23.98 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5565, allocations: 4.219 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.141e-05/0.5566, allocations: 19.89 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.5566, allocations: 4 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 6.476e-05/0.5567, allocations: 111.9 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.5567, allocations: 7.906 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.5568, allocations: 8.375 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5568, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.5568, allocations: 7.938 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5568, allocations: 3.984 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.557, allocations: 306.9 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5571, allocations: 11.53 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.629e-05/0.5571, allocations: 8 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5571, allocations: 3.906 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.5572, allocations: 4 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5572, allocations: 3.984 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5572, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001312/0.5573, allocations: 167.4 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.5573, allocations: 81.02 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.5574, allocations: 4.656 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.5575, allocations: 15.98 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.5575, allocations: 4 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.5575, allocations: 3.984 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.373e-05/0.5576, allocations: 89.47 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002304/0.5578, allocations: 19.94 kB / 1.103 GB, free: 13.53 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001353/0.5579, allocations: 119.7 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.5581, allocations: 53.88 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5581, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.5581, allocations: 20 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.5583, allocations: 13.39 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.5586, allocations: 104.4 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.5588, allocations: 0.7118 MB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of SimCode: time 1.312e-06/0.5588, allocations: 4 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.002667/0.5615, allocations: 0.8972 MB / 1.105 GB, free: 11.6 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)