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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 185.7 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.891/1.891, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000549/0.0005487, allocations: 18.27 kB / 0.675 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2824, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower): time 0.003411/0.2859, allocations: 2.364 MB / 0.7908 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002373/0.2883, allocations: 1.524 MB / 0.7923 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.2885, allocations: 4 kB / 0.7923 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.2892, allocations: 235.4 kB / 0.7926 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.2895, allocations: 147.3 kB / 0.7927 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.29, allocations: 199.8 kB / 0.7929 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.2904, allocations: 442.6 kB / 0.7933 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002633/0.2907, allocations: 143.9 kB / 0.7935 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.2909, allocations: 143.2 kB / 0.7936 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2911, allocations: 171 kB / 0.7938 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.2911, allocations: 8 kB / 0.7938 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.2913, allocations: 47.98 kB / 0.7938 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.2914, allocations: 127.4 kB / 0.7939 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.2916, allocations: 228.1 kB / 0.7941 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.292, allocations: 0.5066 MB / 0.7946 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2921, allocations: 3.938 kB / 0.7946 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2921, allocations: 0 / 0.7946 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.2921, allocations: 0 / 0.7946 GB, free: 5.297 MB / 0.6075 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.00122/0.2933, allocations: 0.8134 MB / 0.7954 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2933, allocations: 12.03 kB / 0.7955 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.2934, allocations: 76.09 kB / 0.7955 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/0.294, allocations: 488.8 kB / 0.796 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.2941, allocations: 16.69 kB / 0.796 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.2941, allocations: 27.94 kB / 0.796 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.2946, allocations: 224.2 kB / 0.7962 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2946, allocations: 4 kB / 0.7962 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.2946, allocations: 8 kB / 0.7963 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.2946, allocations: 4 kB / 0.7963 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.295, allocations: 179.3 kB / 0.7964 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.2964, allocations: 0.9204 MB / 0.7973 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/0.297, allocations: 258.6 kB / 0.7976 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.2973, allocations: 92.81 kB / 0.7977 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.2973, allocations: 4 kB / 0.7977 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003415/0.2976, allocations: 176.9 kB / 0.7978 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 3.296e-06/0.2977, allocations: 0 / 0.7978 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007669/0.2984, allocations: 344.7 kB / 0.7982 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.2985, allocations: 85.09 kB / 0.7982 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007807/0.2993, allocations: 0.719 MB / 0.799 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.2993, allocations: 33.7 kB / 0.799 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.2996, allocations: 292.2 kB / 0.7993 GB, free: 348 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.2996, allocations: 39.45 kB / 0.7993 GB, free: 308 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.2997, allocations: 41.69 kB / 0.7993 GB, free: 260 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.2999, allocations: 370.8 kB / 0.7997 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.3001, allocations: 127.9 kB / 0.7998 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.3004, allocations: 189 kB / 0.8 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.3009, allocations: 218.5 kB / 0.8002 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3009, allocations: 4 kB / 0.8002 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006604/0.3016, allocations: 380.7 kB / 0.8006 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/0.3016, allocations: 106.7 kB / 0.8007 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3017, allocations: 12.05 kB / 0.8007 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3017, allocations: 0 / 0.8007 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.3019, allocations: 55.91 kB / 0.8007 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3019, allocations: 4 kB / 0.8007 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.3022, allocations: 51.81 kB / 0.8008 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.3022, allocations: 19.92 kB / 0.8008 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.3022, allocations: 6.656 kB / 0.8008 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004828/0.3027, allocations: 256 kB / 0.8011 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.3028, allocations: 4.062 kB / 0.8011 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.3028, allocations: 4 kB / 0.8011 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.303, allocations: 47.91 kB / 0.8011 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.303, allocations: 7.938 kB / 0.8011 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.3032, allocations: 43.81 kB / 0.8012 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3032, allocations: 16 kB / 0.8012 GB, free: 14.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,filPow.assPow.minPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.maxPow.y,filPow.assPow.assMesDP.u,filPow.assPow.assMesP.u,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,filPow.limDp.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002759/0.3035, allocations: 297.7 kB / 0.8015 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.3036, allocations: 59.25 kB / 0.8015 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.3037, allocations: 61.38 kB / 0.8016 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3037, allocations: 3.938 kB / 0.8016 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3037, allocations: 0 / 0.8016 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3037, allocations: 3.984 kB / 0.8016 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.3041, allocations: 441.3 kB / 0.802 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3041, allocations: 4 kB / 0.802 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3043, allocations: 35.92 kB / 0.802 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3043, allocations: 0 / 0.802 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.3043, allocations: 3.984 kB / 0.802 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3043, allocations: 7.938 kB / 0.8021 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3043, allocations: 0 / 0.8021 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/0.3051, allocations: 403 kB / 0.8024 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3052, allocations: 132.4 kB / 0.8026 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.3053, allocations: 8 kB / 0.8026 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.3055, allocations: 39.91 kB / 0.8026 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.3056, allocations: 24.03 kB / 0.8026 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.3056, allocations: 19.92 kB / 0.8027 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005091/0.3061, allocations: 479 kB / 0.8031 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3061, allocations: 0 / 0.8031 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000429/0.3066, allocations: 127.7 kB / 0.8032 GB, free: 12.11 MB / 0.6231 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.assMesDP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001103/0.3077, allocations: 420.1 kB / 0.8036 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008163/0.3085, allocations: 411.6 kB / 0.804 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3085, allocations: 0 / 0.804 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.3088, allocations: 99.89 kB / 0.8041 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.3093, allocations: 90.92 kB / 0.8042 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.3109, allocations: 1.202 MB / 0.8054 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.3115, allocations: 0.8857 MB / 0.8062 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3116, allocations: 31.42 kB / 0.8063 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.3116, allocations: 0 / 0.8063 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of Templates: time 0.009268/0.3209, allocations: 6.444 MB / 0.8126 GB, free: 2.688 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPowerCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPowerCalcHelperMain.o] Error 1