Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.343/1.343, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.0009098/0.0009098, allocations: 181.3 kB / 366.3 MB, free: 1.988 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.009/1.009, allocations: 205.1 MB / 0.6256 GB, free: 7.473 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.0007834/0.0007834, allocations: 92.5 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.276e-06/8.296e-06, allocations: 4 kB / 0.859 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4561, allocations: 116.3 MB / 0.9726 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.5931, allocations: 138.2 MB / 1.108 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.5933, allocations: 72.48 kB / 1.108 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.006232/0.5996, allocations: 2.16 MB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.5996, allocations: 0 / 1.11 GB, free: 10.15 MB / 0.7136 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.0003857/0.6, allocations: 365.3 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.6, allocations: 12.02 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.6001, allocations: 11.03 kB / 1.11 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.6002, allocations: 176.1 kB / 1.11 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.6002, allocations: 0 / 1.11 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.6002, allocations: 9.641 kB / 1.11 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.552e-05/0.6003, allocations: 20 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.427e-05/0.6004, allocations: 46.22 kB / 1.11 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.6004, allocations: 4.469 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.6004, allocations: 1.75 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.6004, allocations: 0 / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.6008, allocations: 273.9 kB / 1.111 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.6009, allocations: 44.5 kB / 1.111 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.6009, allocations: 20.08 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.6009, allocations: 0 / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.099e-05/0.601, allocations: 68.12 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.601, allocations: 0.5938 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001549/0.6012, allocations: 70.28 kB / 1.111 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.6012, allocations: 51.97 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.704e-05/0.6013, allocations: 112.7 kB / 1.111 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.6013, allocations: 29.7 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.6014, allocations: 88.53 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.6014, allocations: 20.56 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.6014, allocations: 0 / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6015, allocations: 319.3 kB / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.6016, allocations: 16.53 kB / 1.111 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/0.6016, allocations: 59.42 kB / 1.111 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.6019, allocations: 52.47 kB / 1.111 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.6019, allocations: 0 / 1.111 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003463/0.6022, allocations: 125.4 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6023, allocations: 8 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6023, allocations: 0 / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6023, allocations: 4 kB / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.6024, allocations: 20.2 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.6024, allocations: 9.562 kB / 1.112 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.6025, allocations: 15.89 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.6026, allocations: 4 kB / 1.112 GB, free: 7.938 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.602e-05/0.6026, allocations: 109 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.6027, allocations: 7.906 kB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.6027, allocations: 8.375 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6027, allocations: 3.984 kB / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6027, allocations: 4 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6027, allocations: 0 / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.603, allocations: 322 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.603, allocations: 0 / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.6031, allocations: 8 kB / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.6031, allocations: 12.92 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.6031, allocations: 0 / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6031, allocations: 1.625 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6031, allocations: 4 kB / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001338/0.6033, allocations: 167.4 kB / 1.112 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.6033, allocations: 81.02 kB / 1.112 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.6033, allocations: 4 kB / 1.112 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.6034, allocations: 11.98 kB / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.6035, allocations: 7.984 kB / 1.112 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.6035, allocations: 0 / 1.112 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.986e-05/0.6035, allocations: 91.28 kB / 1.112 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002316/0.6038, allocations: 21.06 kB / 1.112 GB, free: 7.008 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.000142/0.6039, allocations: 111.2 kB / 1.113 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.604, allocations: 55.92 kB / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.604, allocations: 0 / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.6041, allocations: 19.94 kB / 1.113 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.6043, allocations: 15.91 kB / 1.113 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.6045, allocations: 92.52 kB / 1.113 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.6048, allocations: 0.7118 MB / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.6048, allocations: 0 / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of Templates: time 0.002683/0.6075, allocations: 0.9128 MB / 1.114 GB, free: 5.074 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)