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.SampleTrigger.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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [: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.179/2.179, allocations: 284.9 MB / 292.2 MB, free: 10.79 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.001517/0.001517, allocations: 183.9 kB / 360.4 MB, free: 7.516 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.644/1.644, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001214/0.001214, allocations: 86.25 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.217e-06, allocations: 0 / 0.8503 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.5375, allocations: 115.2 MB / 0.9628 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.7355, allocations: 137 MB / 1.097 GB, free: 3.762 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.7358, allocations: 73.12 kB / 1.097 GB, free: 3.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01051/0.7463, allocations: 2.148 MB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.7463, allocations: 0 / 1.099 GB, free: 1.598 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.0005573/0.7469, allocations: 368.8 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.747, allocations: 9.375 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.747, allocations: 7.906 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.7472, allocations: 175.6 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.7472, allocations: 4.844 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.7472, allocations: 2.844 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001052/0.7473, allocations: 20 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.7475, allocations: 49.62 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7475, allocations: 0 / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.7475, allocations: 0 / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.7475, allocations: 4 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.748, allocations: 272.3 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.7481, allocations: 45.62 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.7482, allocations: 22.58 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.7482, allocations: 4.562 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.7483, allocations: 59.97 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.7483, allocations: 0.5625 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000213/0.7486, allocations: 70.22 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.7486, allocations: 56.09 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.7487, allocations: 112.7 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.7488, allocations: 29.7 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.7488, allocations: 88.03 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.7489, allocations: 23.73 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.7489, allocations: 0 / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.749, allocations: 318.8 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.7491, allocations: 15.98 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.882e-05/0.7492, allocations: 64.58 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.7496, allocations: 47.94 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7496, allocations: 4 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005624/0.7502, allocations: 121.4 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7502, allocations: 6.5 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7503, allocations: 3.984 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.7503, allocations: 4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.7505, allocations: 24.86 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.7505, allocations: 3.938 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.7507, allocations: 17.77 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.7507, allocations: 8 kB / 1.101 GB, free: 15.38 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 8.615e-05/0.7508, allocations: 112.8 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.7508, allocations: 7.906 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.7509, allocations: 5.031 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7509, allocations: 5.5 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7509, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.7509, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.7513, allocations: 318.9 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7513, allocations: 0 / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.7515, allocations: 15.98 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.7515, allocations: 3.906 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.7515, allocations: 4 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7515, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.7515, allocations: 0.5625 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001875/0.7517, allocations: 167.4 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.7518, allocations: 91.39 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.7518, allocations: 0 / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.752, allocations: 11.98 kB / 1.101 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.752, allocations: 0 / 1.101 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.752, allocations: 4 kB / 1.101 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.422e-05/0.7521, allocations: 97.89 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003429/0.7525, allocations: 19.94 kB / 1.102 GB, free: 14.46 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.0001732/0.7526, allocations: 115.8 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.7528, allocations: 43.94 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7528, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/0.7529, allocations: 23.94 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.7532, allocations: 17.09 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.7536, allocations: 104.9 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.7539, allocations: 0.7075 MB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of SimCode: time 8.02e-07/0.7539, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of Templates: time 0.004123/0.7581, allocations: 0.9181 MB / 1.103 GB, free: 12.52 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)