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.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3") [: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.11/2.11, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001608/0.001608, allocations: 177.3 kB / 360.4 MB, free: 7.527 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.642/1.642, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001168/0.001167, allocations: 94.95 kB / 0.7318 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.039e-05/1.041e-05, allocations: 4 kB / 0.8503 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5326/0.5326, allocations: 115.2 MB / 0.9628 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.7336, allocations: 137.1 MB / 1.097 GB, free: 3.625 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.7339, allocations: 73.5 kB / 1.097 GB, free: 3.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02001/0.7539, allocations: 3.756 MB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.754, allocations: 3.938 kB / 1.1 GB, free: 15.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005146/0.7545, allocations: 447.4 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.7546, allocations: 8.031 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.7547, allocations: 15.91 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.7548, allocations: 170.9 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.7548, allocations: 4 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.7549, allocations: 24.55 kB / 1.101 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001121/0.755, allocations: 14.12 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.7552, allocations: 49.69 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.7552, allocations: 3.938 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.7552, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.7552, allocations: 4.75 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007489/0.756, allocations: 397.1 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.753e-05/0.7561, allocations: 26.58 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.7561, allocations: 20.86 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.7562, allocations: 3.906 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.7563, allocations: 75.42 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.7563, allocations: 0 / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003483/0.7567, allocations: 94.09 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.7567, allocations: 59.34 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.7569, allocations: 127.9 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.7569, allocations: 29.7 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.757, allocations: 100 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.7571, allocations: 19.88 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.7571, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7572, allocations: 324.8 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.7575, allocations: 75.98 kB / 1.102 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.7579, allocations: 128.5 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007189/0.7586, allocations: 103.9 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7586, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001241/0.7599, allocations: 281.2 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7599, allocations: 8 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7599, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.76, allocations: 4 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.183e-05/0.76, allocations: 7.922 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.76, allocations: 4 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009377/0.761, allocations: 120.1 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.909e-05/0.761, allocations: 15.98 kB / 1.103 GB, free: 12.92 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001347/0.7612, allocations: 124.6 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.7612, allocations: 12.52 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.7613, allocations: 12.36 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7613, allocations: 0 / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7613, allocations: 0 / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7613, allocations: 0 / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.7615, allocations: 163 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7615, allocations: 3.906 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.7615, allocations: 3.375 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.7615, allocations: 0 / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.7616, allocations: 7.984 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.7616, allocations: 5.625 kB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7616, allocations: 0 / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002111/0.7618, allocations: 113 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.7619, allocations: 85.02 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.7619, allocations: 3.906 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.762, allocations: 0 / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.762, allocations: 11.98 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.7621, allocations: 7.984 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.933e-05/0.7621, allocations: 99.28 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003723/0.7625, allocations: 43.94 kB / 1.104 GB, free: 12.17 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001873/0.7627, allocations: 115.9 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005789/0.7633, allocations: 233 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7633, allocations: 0 / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.7634, allocations: 33.41 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.7638, allocations: 35.45 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.7642, allocations: 110 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.7645, allocations: 0.7114 MB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/0.7645, allocations: 0 / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.0069/0.7714, allocations: 2.227 MB / 1.107 GB, free: 8.73 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)