Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") [: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 7.0.1/package.mo): time 2.204/2.204, allocations: 253.1 MB / 260.4 MB, free: 7.531 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 189.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001327/0.001326, allocations: 93.77 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.319e-05/1.336e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2551, allocations: 106.3 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7655/1.021, allocations: 139.1 MB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/1.021, allocations: 86.5 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.0697/1.091, allocations: 12.92 MB / 1.037 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.413e-05/1.091, allocations: 12 kB / 1.037 GB, free: 4.363 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.002493/1.093, allocations: 0.7222 MB / 1.037 GB, free: 3.625 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/1.094, allocations: 8.031 kB / 1.037 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000316/1.094, allocations: 71.14 kB / 1.037 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/1.095, allocations: 470.2 kB / 1.038 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/1.095, allocations: 4 kB / 1.038 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.902e-05/1.096, allocations: 12 kB / 1.038 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004598/1.096, allocations: 136.4 kB / 1.038 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/1.096, allocations: 156 kB / 1.038 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/1.097, allocations: 0 / 1.038 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/1.097, allocations: 3.938 kB / 1.038 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/1.097, allocations: 4 kB / 1.038 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/1.099, allocations: 0.7959 MB / 1.039 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/1.099, allocations: 161.9 kB / 1.039 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/1.1, allocations: 54.42 kB / 1.039 GB, free: 2.082 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/1.1, allocations: 4 kB / 1.039 GB, free: 2.078 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/1.1, allocations: 146.8 kB / 1.039 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.795e-06/1.1, allocations: 0 / 1.039 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0006984/1.101, allocations: 188.8 kB / 1.039 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/1.101, allocations: 81.11 kB / 1.04 GB, free: 1.695 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/1.102, allocations: 0.5678 MB / 1.04 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.27e-05/1.102, allocations: 32.77 kB / 1.04 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/1.102, allocations: 180.2 kB / 1.04 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/1.103, allocations: 46.36 kB / 1.04 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/1.103, allocations: 0 / 1.04 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002288/1.103, allocations: 374 kB / 1.041 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/1.103, allocations: 100.9 kB / 1.041 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/1.103, allocations: 144.6 kB / 1.041 GB, free: 0.4922 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/1.104, allocations: 105.6 kB / 1.041 GB, free: 436 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.104, allocations: 0 / 1.041 GB, free: 436 kB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008391/1.105, allocations: 316.8 kB / 1.041 GB, free: 184 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/1.105, allocations: 188.3 kB / 1.042 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.105, allocations: 3.938 kB / 1.042 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/1.105, allocations: 7.906 kB / 1.042 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/1.105, allocations: 59.47 kB / 1.042 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.105, allocations: 0 / 1.042 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/1.106, allocations: 43.91 kB / 1.042 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/1.106, allocations: 11.98 kB / 1.042 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/1.106, allocations: 7.906 kB / 1.042 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006571/1.107, allocations: 227.3 kB / 1.042 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.107, allocations: 4 kB / 1.042 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/1.107, allocations: 0 / 1.042 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/1.107, allocations: 55.94 kB / 1.042 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/1.107, allocations: 3.938 kB / 1.042 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/1.108, allocations: 43.81 kB / 1.042 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/1.108, allocations: 11.94 kB / 1.042 GB, free: 15.59 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0002652/1.108, allocations: 105 kB / 1.042 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/1.108, allocations: 63.19 kB / 1.042 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/1.11, allocations: 203.5 kB / 1.042 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/1.11, allocations: 0 / 1.042 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.11, allocations: 4 kB / 1.042 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.11, allocations: 4 kB / 1.042 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/1.111, allocations: 399.4 kB / 1.043 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.111, allocations: 0 / 1.043 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/1.112, allocations: 27.98 kB / 1.043 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/1.112, allocations: 0 / 1.043 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-05/1.112, allocations: 10.98 kB / 1.043 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/1.112, allocations: 7.938 kB / 1.043 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.112, allocations: 0 / 1.043 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001359/1.113, allocations: 293.8 kB / 1.043 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003371/1.114, allocations: 132.4 kB / 1.043 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.114, allocations: 7.438 kB / 1.043 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/1.115, allocations: 36.03 kB / 1.043 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/1.115, allocations: 23.27 kB / 1.043 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/1.115, allocations: 11.48 kB / 1.043 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.00149/1.116, allocations: 417.4 kB / 1.044 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00127/1.118, allocations: 131.1 kB / 1.044 GB, free: 13.98 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (filPow.assPow.demRat.x,filPow.dPLim.y) * Number of discrete variables: 7 ($whenCondition1,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.001349/1.119, allocations: 370.7 kB / 1.044 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009744/1.12, allocations: 326.7 kB / 1.044 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.12, allocations: 0 / 1.044 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/1.12, allocations: 81.45 kB / 1.045 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007525/1.121, allocations: 69.55 kB / 1.045 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/1.124, allocations: 0.6854 MB / 1.045 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/1.126, allocations: 0.9272 MB / 1.046 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of SimCode: time 1.222e-06/1.126, allocations: 0 / 1.046 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of Templates: time 0.0436/1.169, allocations: 6.275 MB / 1.052 GB, free: 5.582 MB / 0.6667 GB