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.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [: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.13/2.13, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001504/0.001504, allocations: 173.3 kB / 360.4 MB, free: 7.523 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.59/1.59, 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.00122/0.001219, allocations: 91.86 kB / 0.7318 GB, free: 45.01 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.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5258, allocations: 115.2 MB / 0.9628 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.7268, allocations: 137.1 MB / 1.097 GB, free: 3.637 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.7271, allocations: 72.75 kB / 1.097 GB, free: 3.566 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01412/0.7412, allocations: 2.617 MB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.7413, allocations: 0 / 1.099 GB, free: 1.023 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004445/0.7417, allocations: 405.7 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.7418, allocations: 8.031 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.7419, allocations: 8 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.742, allocations: 171 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.742, allocations: 0 / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.7421, allocations: 15.98 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.717e-05/0.7422, allocations: 15.94 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.258e-05/0.7423, allocations: 42.77 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7423, allocations: 0 / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.7423, allocations: 0 / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.7424, allocations: 3.906 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.743, allocations: 333.4 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/0.7431, allocations: 26.58 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.7431, allocations: 12.86 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.7431, allocations: 3.906 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.7433, allocations: 72.92 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.826e-06/0.7433, allocations: 0.5625 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002319/0.7436, allocations: 81.25 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.7436, allocations: 51.41 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.7437, allocations: 113.8 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.7438, allocations: 29.7 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.7438, allocations: 92.23 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.7439, allocations: 7.906 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.7439, allocations: 5.906 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.744, allocations: 326.7 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.7442, allocations: 55.98 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.7445, allocations: 84.22 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005011/0.745, allocations: 71.92 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.745, allocations: 4 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008387/0.7459, allocations: 193.4 kB / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7459, allocations: 4 kB / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7459, allocations: 0 / 1.101 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7459, allocations: 4.562 kB / 1.101 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.702e-05/0.746, allocations: 7.984 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.746, allocations: 8.125 kB / 1.101 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.7466, allocations: 75.94 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.7467, allocations: 8 kB / 1.102 GB, free: 14.5 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001165/0.7468, allocations: 125.6 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/0.7468, allocations: 4.406 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.7469, allocations: 16.28 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.7469, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7469, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7469, allocations: 1.438 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.7471, allocations: 154.2 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7471, allocations: 4 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.6e-05/0.7471, allocations: 4.688 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7471, allocations: 0 / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.7472, allocations: 4 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7472, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7472, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001697/0.7474, allocations: 96.92 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.7474, allocations: 85.05 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.7475, allocations: 5.625 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.7475, allocations: 3.906 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.7476, allocations: 7.984 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.7476, allocations: 0 / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.471e-05/0.7476, allocations: 87.28 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003464/0.748, allocations: 43.92 kB / 1.102 GB, free: 13.8 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.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.0001764/0.7482, allocations: 107.2 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.7486, allocations: 159.3 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7486, allocations: 0 / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.417e-05/0.7487, allocations: 24 kB / 1.102 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.7489, allocations: 9.094 kB / 1.102 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.7493, allocations: 100.1 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.7496, allocations: 0.7087 MB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.7496, allocations: 0.9375 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of Templates: time 0.005397/0.755, allocations: 1.575 MB / 1.105 GB, free: 11.13 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)