Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.467/1.467, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001063/0.001064, allocations: 188 kB / 366.3 MB, free: 1.93 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.393/1.393, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.001268/0.001268, allocations: 91.53 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.059e-05/1.062e-05, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5929/0.593, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.7651, allocations: 146 MB / 1.115 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.7654, allocations: 88.55 kB / 1.115 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03535/0.8008, allocations: 13.49 MB / 1.128 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.829e-05/0.8009, allocations: 12 kB / 1.128 GB, free: 4.738 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001118/0.802, allocations: 0.7478 MB / 1.129 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.802, allocations: 8.031 kB / 1.129 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.8022, allocations: 68 kB / 1.129 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.803, allocations: 491.9 kB / 1.13 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.803, allocations: 4 kB / 1.13 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.803, allocations: 12 kB / 1.13 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002752/0.8033, allocations: 132.7 kB / 1.13 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.8036, allocations: 172.2 kB / 1.13 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.8037, allocations: 0 / 1.13 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.8037, allocations: 3.906 kB / 1.13 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.8037, allocations: 8 kB / 1.13 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.8049, allocations: 0.8322 MB / 1.131 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.8052, allocations: 166.8 kB / 1.131 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.834e-05/0.8053, allocations: 56.86 kB / 1.131 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.8054, allocations: 4 kB / 1.131 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.8056, allocations: 141.1 kB / 1.131 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.8056, allocations: 0.5625 kB / 1.131 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.000357/0.806, allocations: 201.9 kB / 1.131 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.806, allocations: 77.11 kB / 1.131 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.8067, allocations: 0.5894 MB / 1.132 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.8068, allocations: 33.7 kB / 1.132 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.8069, allocations: 184.2 kB / 1.132 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.8069, allocations: 52.61 kB / 1.132 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.807, allocations: 0 / 1.132 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8071, allocations: 374.8 kB / 1.133 GB, free: 216 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.8073, allocations: 99.98 kB / 1.133 GB, free: 116 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.8075, allocations: 148.5 kB / 1.133 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.8078, allocations: 109.1 kB / 1.133 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.8078, allocations: 3.906 kB / 1.133 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005513/0.8083, allocations: 341 kB / 1.133 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.552e-05/0.8084, allocations: 182 kB / 1.133 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8084, allocations: 4.031 kB / 1.133 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.8085, allocations: 0 / 1.133 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.8087, allocations: 63.89 kB / 1.134 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.8088, allocations: 4 kB / 1.134 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.809, allocations: 47.81 kB / 1.134 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.8091, allocations: 13.12 kB / 1.134 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.8091, allocations: 4 kB / 1.134 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004584/0.8095, allocations: 240.1 kB / 1.134 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.8096, allocations: 3.938 kB / 1.134 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.8096, allocations: 4 kB / 1.134 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.8098, allocations: 55.86 kB / 1.134 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8098, allocations: 4 kB / 1.134 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.81, allocations: 35.95 kB / 1.134 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.8101, allocations: 15.98 kB / 1.134 GB, free: 14.83 MB / 0.7448 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.0001203/0.8102, allocations: 128.6 kB / 1.134 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.8103, allocations: 55.25 kB / 1.134 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000437/0.8107, allocations: 214.9 kB / 1.134 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.8107, allocations: 6.25 kB / 1.134 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8107, allocations: 0 / 1.134 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.8107, allocations: 3.984 kB / 1.134 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.8112, allocations: 405.8 kB / 1.135 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8112, allocations: 4 kB / 1.135 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.8114, allocations: 31.98 kB / 1.135 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.8114, allocations: 4 kB / 1.135 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.8114, allocations: 3.984 kB / 1.135 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8114, allocations: 0 / 1.135 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8114, allocations: 0 / 1.135 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004987/0.8119, allocations: 328 kB / 1.135 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.8121, allocations: 128.5 kB / 1.135 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.8121, allocations: 15.89 kB / 1.135 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.8124, allocations: 32.05 kB / 1.135 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.544e-05/0.8125, allocations: 23.95 kB / 1.135 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.8125, allocations: 7.984 kB / 1.135 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0004892/0.813, allocations: 435.1 kB / 1.136 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004546/0.8134, allocations: 143.7 kB / 1.136 GB, free: 12.82 MB / 0.7448 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.0007709/0.8142, allocations: 370.5 kB / 1.136 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.8147, allocations: 347.9 kB / 1.137 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8147, allocations: 128 / 1.137 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.8149, allocations: 83.92 kB / 1.137 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.8153, allocations: 70.58 kB / 1.137 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.8166, allocations: 0.71 MB / 1.137 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/0.8171, allocations: 0.9253 MB / 1.138 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.8172, allocations: 0 / 1.138 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of Templates: time 0.01265/0.8298, allocations: 6.655 MB / 1.145 GB, free: 3.77 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1)