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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [: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.332/1.332, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009327/0.0009327, allocations: 185.3 kB / 361.1 MB, free: 7.117 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.008/1.008, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.0007335/0.0007334, allocations: 92.67 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.343e-06/7.363e-06, allocations: 4 kB / 0.8511 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4117, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.544, allocations: 137.2 MB / 1.098 GB, free: 2.832 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.5442, allocations: 73.22 kB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006348/0.5506, allocations: 2.152 MB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.5506, 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.0004108/0.551, allocations: 373 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.5511, allocations: 11.47 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.5511, allocations: 7.906 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.5512, allocations: 177.9 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.5512, allocations: 0 / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.5513, allocations: 4 kB / 1.1 GB, free: 24 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.663e-05/0.5514, allocations: 24.55 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.5514, allocations: 49.69 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.5515, allocations: 0.6875 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.5515, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.5515, allocations: 0.5938 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.5518, allocations: 271.1 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.497e-05/0.5519, allocations: 43.86 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.552, allocations: 21.78 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.552, allocations: 1.719 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.251e-05/0.5521, allocations: 60.72 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.5521, allocations: 4.438 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000153/0.5522, allocations: 73.61 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.5523, allocations: 52.56 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.5523, allocations: 109 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.5524, allocations: 26.73 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.5524, allocations: 96.03 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.5524, allocations: 16.41 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.5525, allocations: 0 / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.5526, allocations: 319.8 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.654e-05/0.5526, allocations: 16.53 kB / 1.102 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.5527, allocations: 55.36 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.5529, allocations: 53.72 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.5529, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003405/0.5533, allocations: 125.4 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.5533, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5533, allocations: 5.75 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.5533, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.5535, allocations: 28.14 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5535, allocations: 4 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.426e-05/0.5536, allocations: 19.89 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.5536, 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 7.424e-05/0.5537, allocations: 109.4 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.5537, allocations: 11.91 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.5537, allocations: 13.34 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5537, allocations: 0 / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5538, allocations: 0 / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.5538, allocations: 0 / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.554, allocations: 312.7 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.554, allocations: 3.938 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.5541, allocations: 19.92 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5541, allocations: 8.031 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.5541, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5541, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5541, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001303/0.5543, allocations: 163.5 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.5543, allocations: 81.02 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.5543, allocations: 4 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.5544, allocations: 11.98 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.5545, allocations: 12.64 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.5545, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.708e-05/0.5545, allocations: 87.28 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002309/0.5548, 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.0001378/0.5549, allocations: 123.6 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.555, allocations: 55.91 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.5551, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.5551, allocations: 16 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.0001787/0.5553, allocations: 14.09 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.0002496/0.5555, allocations: 98.95 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.5558, allocations: 0.712 MB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.5558, allocations: 3.938 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.002613/0.5584, allocations: 0.9048 MB / 1.105 GB, free: 11.59 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)