Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [: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.162/2.162, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001556/0.001555, allocations: 177.3 kB / 360.4 MB, free: 7.52 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.643/1.643, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001199/0.001198, allocations: 94.2 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.291e-05/1.305e-05, allocations: 4 kB / 0.8503 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5503, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.747, allocations: 137.4 MB / 1.097 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.7473, allocations: 72.56 kB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.009411/0.7567, allocations: 1.783 MB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.7567, allocations: 4 kB / 1.099 GB, free: 1.586 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005507/0.7573, allocations: 400.7 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7573, allocations: 9.156 kB / 1.099 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.7574, allocations: 11.91 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.7575, allocations: 167 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.7576, allocations: 5.062 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.7576, allocations: 11.91 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.594e-05/0.7577, allocations: 19.98 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.7578, allocations: 45.69 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7579, allocations: 1.547 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7579, allocations: 4 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.7579, allocations: 0 / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.7584, allocations: 309.3 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.7585, allocations: 38.64 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.509e-05/0.7586, allocations: 30.38 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.7586, allocations: 0 / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.7588, allocations: 66.52 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.7588, allocations: 0 / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.000222/0.759, allocations: 78.23 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.7591, allocations: 55.41 kB / 1.1 GB, free: 196 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.7592, allocations: 112.9 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.7592, allocations: 25.7 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.7593, allocations: 92.12 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.7593, allocations: 15.81 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.7593, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7595, allocations: 322.8 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.7596, allocations: 36 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.7598, allocations: 70.16 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.7601, allocations: 35.97 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.7601, allocations: 0.6562 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005582/0.7607, allocations: 159 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7607, allocations: 8 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7608, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.7608, allocations: 7.906 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.7609, allocations: 17 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.761, allocations: 8 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.7614, allocations: 48.52 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.7614, allocations: 8 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.799e-05/0.7615, allocations: 118.4 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.7616, allocations: 7.906 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.7616, allocations: 16.36 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7616, allocations: 0 / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.7616, allocations: 7.656 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7617, allocations: 4 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.7621, allocations: 307.6 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7621, allocations: 0 / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.7622, allocations: 25.7 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.7622, allocations: 7.938 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.7622, allocations: 0 / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.7622, allocations: 0 / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7622, allocations: 0 / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001884/0.7624, allocations: 165.4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.7625, allocations: 85.02 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.7625, allocations: 3.984 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.7627, allocations: 12.56 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.7627, allocations: 3.984 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.7628, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.867e-05/0.7628, allocations: 95.27 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003382/0.7632, allocations: 24 kB / 1.102 GB, free: 14.26 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001787/0.7634, allocations: 113 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.7637, allocations: 101.6 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7637, allocations: 0 / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.7638, allocations: 28 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.7641, allocations: 11.89 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.7644, allocations: 100.1 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.7648, allocations: 0.7116 MB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.7648, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.004756/0.7695, allocations: 1.289 MB / 1.104 GB, free: 11.9 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)