Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.139/2.139, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001572, allocations: 177.3 kB / 360.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001209/0.001208, allocations: 93.62 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.096e-05/1.101e-05, allocations: 0 / 0.8503 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5347, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.7343, allocations: 137 MB / 1.097 GB, free: 3.746 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.7346, allocations: 72.56 kB / 1.097 GB, free: 3.676 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01093/0.7455, allocations: 2.165 MB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.7456, allocations: 2.531 kB / 1.099 GB, free: 1.57 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.0005928/0.7462, allocations: 367.8 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.7462, allocations: 8.531 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.7463, allocations: 7.906 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.7465, allocations: 179.5 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.7465, allocations: 0.7188 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.7465, allocations: 8 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/0.7466, allocations: 20.62 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.7468, allocations: 49.69 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.7468, allocations: 1.578 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.7468, allocations: 0.5625 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.7468, allocations: 4 kB / 1.099 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.7473, allocations: 277.1 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.7474, allocations: 38.98 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.7475, allocations: 19.05 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.7475, allocations: 7.938 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.7476, allocations: 57.06 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.7476, allocations: 0 / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002152/0.7479, allocations: 73.61 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.7479, allocations: 57.94 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/0.748, allocations: 109 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.7481, allocations: 26.52 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.7481, allocations: 88.77 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.7482, allocations: 19.73 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.7482, allocations: 4 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.7484, allocations: 318.8 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.7484, allocations: 19.98 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.7485, allocations: 54.02 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.749, allocations: 51.88 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.749, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000547/0.7495, allocations: 117.5 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7496, allocations: 8 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.7496, allocations: 3.984 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.7496, allocations: 7.938 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.7499, allocations: 23.98 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.7499, allocations: 224 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.7501, allocations: 19.89 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.7501, allocations: 6.062 kB / 1.101 GB, free: 15.35 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 9.286e-05/0.7502, allocations: 113.4 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.7502, allocations: 7.906 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.7503, allocations: 8.375 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.7503, allocations: 4.562 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.7503, allocations: 5.875 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7503, allocations: 3.938 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.7507, allocations: 310.7 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.7508, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.7509, allocations: 15.92 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.7509, allocations: 3.906 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.7509, allocations: 8 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.7509, allocations: 0 / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7509, allocations: 3.984 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001912/0.7511, allocations: 160 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.7512, allocations: 89.02 kB / 1.101 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.7512, allocations: 0 / 1.101 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.7514, allocations: 15.98 kB / 1.101 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.7515, allocations: 0 / 1.101 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.7515, allocations: 4.688 kB / 1.101 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.14e-05/0.7515, allocations: 91.27 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003496/0.7519, allocations: 15.94 kB / 1.102 GB, free: 14.43 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.0001921/0.7521, allocations: 118.8 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.7523, allocations: 52.12 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7523, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/0.7524, allocations: 23.98 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.7527, allocations: 18.94 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.753, allocations: 96.42 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.7534, allocations: 0.7116 MB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of SimCode: time 8.41e-07/0.7534, allocations: 4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.004302/0.7577, allocations: 0.9096 MB / 1.103 GB, free: 12.5 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)