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.Nor.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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [: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.109/2.109, allocations: 284.9 MB / 292.2 MB, free: 10.73 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.001611/0.001611, allocations: 185.3 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.661/1.661, allocations: 205.1 MB / 0.6188 GB, free: 12.44 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.001237/0.001237, allocations: 93.31 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.877e-06/9.017e-06, allocations: 0 / 0.8503 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5285/0.5285, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.7296, allocations: 137.1 MB / 1.097 GB, free: 3.668 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.7299, allocations: 71.23 kB / 1.097 GB, free: 3.602 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01426/0.7442, allocations: 2.614 MB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.7442, allocations: 0 / 1.099 GB, free: 1.059 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.0004966/0.7447, allocations: 405.7 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.7448, allocations: 8.031 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.7449, allocations: 12 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.745, allocations: 164.3 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.745, allocations: 4 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.7451, allocations: 11.94 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.776e-05/0.7452, allocations: 15.98 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.591e-05/0.7453, allocations: 46.56 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.7453, allocations: 0 / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.7453, allocations: 0.7031 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7454, allocations: 3.906 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.746, allocations: 333.5 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.7461, allocations: 38.42 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.7461, allocations: 8.859 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.7462, allocations: 3.906 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.7463, allocations: 64.48 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.355e-06/0.7463, allocations: 4 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002421/0.7465, allocations: 73.58 kB / 1.1 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.7466, allocations: 51.41 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.7467, allocations: 113.1 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.7468, allocations: 37.58 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.7468, allocations: 92.23 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.7469, allocations: 7.891 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.7469, allocations: 8 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.747, allocations: 326.7 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.7472, allocations: 48 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.7475, allocations: 88.27 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.748, allocations: 67.94 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.748, allocations: 0.8438 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008496/0.7489, allocations: 197.4 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.7489, allocations: 8.781 kB / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7489, allocations: 0 / 1.101 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.749, allocations: 5.125 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.377e-05/0.749, allocations: 4.125 kB / 1.101 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.749, allocations: 9.234 kB / 1.101 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/0.7497, allocations: 75.94 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.7497, allocations: 11.94 kB / 1.102 GB, free: 14.54 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,nor1.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.0001114/0.7498, allocations: 120.7 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.7499, allocations: 4 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.7499, allocations: 12.28 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.7499, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7499, allocations: 0.5156 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.75, allocations: 4 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.7501, allocations: 146.2 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.7501, allocations: 0.9375 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.7502, allocations: 9.484 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.7502, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.7502, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.7502, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.7502, allocations: 4 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001712/0.7504, allocations: 97.53 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.7505, allocations: 85.09 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.7505, allocations: 4 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.7505, allocations: 3.906 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.7506, allocations: 12.64 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.7506, allocations: 0 / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001028/0.7507, allocations: 94.97 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000343/0.7511, allocations: 28 kB / 1.102 GB, free: 13.85 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,nor1.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.000192/0.7513, allocations: 123.2 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004267/0.7517, allocations: 152.9 kB / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7517, allocations: 0 / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.7518, allocations: 31.92 kB / 1.102 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.7521, allocations: 9.203 kB / 1.102 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.7524, allocations: 96.16 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.7527, allocations: 0.7038 MB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.7527, allocations: 0 / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.005412/0.7582, allocations: 1.584 MB / 1.105 GB, free: 11.16 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)