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.And.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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And") [: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.146/2.146, 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.001618/0.001617, allocations: 177.2 kB / 360.4 MB, free: 7.531 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.628/1.628, 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: 92.19 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.101e-05/1.111e-05, allocations: 4 kB / 0.8503 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5267, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.7273, allocations: 137.1 MB / 1.097 GB, free: 3.695 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.7276, allocations: 72.84 kB / 1.097 GB, free: 3.625 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.0142/0.7418, allocations: 2.613 MB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.7419, allocations: 0 / 1.099 GB, free: 1.074 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.0004548/0.7423, allocations: 410.4 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.7424, allocations: 8.031 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.7425, allocations: 8 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.7426, allocations: 166.9 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.7426, allocations: 4 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.7427, allocations: 8 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.64e-05/0.7428, allocations: 15.98 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.952e-05/0.7429, allocations: 42.3 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.7429, allocations: 0 / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.7429, allocations: 4 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.743, allocations: 5.094 kB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006059/0.7436, allocations: 325.4 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.052e-05/0.7437, allocations: 39.08 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.7437, allocations: 12.86 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.7438, allocations: 3.906 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.7439, allocations: 63.5 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.036e-06/0.7439, allocations: 0.5625 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002379/0.7441, allocations: 77.56 kB / 1.1 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.7442, allocations: 55.41 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.7443, allocations: 116 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.7443, allocations: 29.7 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.7444, allocations: 92.23 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.7445, allocations: 15.84 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.7445, allocations: 4 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7446, allocations: 326.7 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.7448, allocations: 44 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.7451, allocations: 89.89 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.7456, allocations: 67.94 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7456, allocations: 0 / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009212/0.7465, allocations: 197.4 kB / 1.101 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.7466, allocations: 12.12 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7466, allocations: 0 / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.7466, allocations: 4 kB / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.247e-05/0.7466, allocations: 0 / 1.101 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.7467, allocations: 11.92 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.7473, allocations: 77.19 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.7474, allocations: 12 kB / 1.102 GB, free: 14.55 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,and1.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.0001074/0.7475, allocations: 119.8 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.7475, allocations: 7.375 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.7476, allocations: 16.28 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7476, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7476, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7476, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.7477, allocations: 150.2 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7478, allocations: 4 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.169e-05/0.7478, allocations: 0 / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.7478, allocations: 5.422 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.7478, allocations: 7.984 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.7478, allocations: 4 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7478, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001694/0.748, allocations: 99.84 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.7481, allocations: 81.09 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.7481, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.7482, allocations: 3.906 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.7482, allocations: 11.98 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.7482, allocations: 0 / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.317e-05/0.7483, allocations: 87.28 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003569/0.7487, allocations: 33.81 kB / 1.102 GB, free: 13.86 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,and1.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.0001831/0.7489, allocations: 119.2 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.7493, allocations: 156.8 kB / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7493, allocations: 0 / 1.102 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.626e-05/0.7494, allocations: 27.92 kB / 1.102 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.7496, allocations: 9.031 kB / 1.102 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.75, allocations: 104.1 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.7503, allocations: 0.6997 MB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/0.7503, allocations: 0 / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of Templates: time 0.005517/0.7558, allocations: 1.571 MB / 1.105 GB, free: 11.17 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)