Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.314/1.314, allocations: 285.5 MB / 292.8 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008745/0.0008745, allocations: 197.2 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007441/0.0007442, allocations: 84.03 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.494e-06, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4401, allocations: 115.3 MB / 0.9637 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.577, allocations: 137.3 MB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.5772, allocations: 67.95 kB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008445/0.5857, allocations: 2.619 MB / 1.1 GB, free: 144 kB / 0.698 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.5857, allocations: 0 / 1.1 GB, free: 144 kB / 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.0003501/0.586, allocations: 401.7 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.5861, allocations: 8.031 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.5861, allocations: 11.56 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.5863, allocations: 167 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5863, allocations: 5.625 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.5863, allocations: 12.69 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.13e-05/0.5864, allocations: 12 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.158e-05/0.5865, allocations: 49.62 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.5865, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.5865, allocations: 0 / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5865, allocations: 3.906 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.587, allocations: 334 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.784e-05/0.5871, allocations: 30.58 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.5871, allocations: 12.86 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.5871, allocations: 3.906 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.543e-05/0.5872, allocations: 71.42 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.5872, allocations: 0.6562 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001929/0.5874, allocations: 69.59 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.5875, allocations: 55.41 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.5876, allocations: 113.1 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.5876, allocations: 29.7 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.5877, allocations: 88.23 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.5877, allocations: 15.83 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.5877, allocations: 4 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.5878, allocations: 326.7 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.5879, allocations: 51.98 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.5881, allocations: 89.53 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.5884, allocations: 71.92 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5884, allocations: 4 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005018/0.5889, allocations: 190.3 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.5889, allocations: 8 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5889, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.589, allocations: 4 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.79e-05/0.589, allocations: 5.672 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.589, allocations: 4 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.5893, allocations: 84.06 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.5894, allocations: 8 kB / 1.103 GB, free: 13.62 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 7.654e-05/0.5895, allocations: 116.8 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.5895, allocations: 7.75 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.5895, allocations: 17.78 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5895, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5895, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5895, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.5896, allocations: 146.2 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5897, allocations: 8 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/0.5897, allocations: 3.984 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5897, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.5897, allocations: 1.812 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.5897, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5897, allocations: 4 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000106/0.5898, allocations: 95.12 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.5899, allocations: 81.09 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.5899, allocations: 4 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.5899, allocations: 11.84 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.59, allocations: 7.984 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.59, allocations: 0 / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.63e-05/0.59, allocations: 87.28 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002362/0.5902, allocations: 35.92 kB / 1.103 GB, free: 12.94 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.0001492/0.5904, allocations: 123 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.5907, allocations: 155.5 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5907, allocations: 4.062 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.5907, allocations: 24 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.5909, allocations: 11.98 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.5911, allocations: 92.11 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.5913, allocations: 0.7002 MB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.5914, allocations: 4 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of Templates: time 0.00344/0.5948, allocations: 1.583 MB / 1.106 GB, free: 10.25 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)