Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006803/0.0006804, allocations: 96.81 kB / 17.31 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007051/0.0007051, allocations: 179.3 kB / 18.21 MB, free: 5.395 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.143/1.143, allocations: 205.4 MB / 224.4 MB, free: 12.91 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.228/0.228, allocations: 48.78 MB / 321.5 MB, free: 11.09 MB / 270.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.0004699/0.00047, allocations: 17.33 kB / 392.5 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.08049, allocations: 60.26 MB / 452.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.06853/0.149, allocations: 82.1 MB / 0.5223 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1886/0.3377, allocations: 11.81 MB / 0.5338 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.3382, allocations: 34 kB / 0.5339 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007934/0.3391, allocations: 317.1 kB / 0.5342 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.3403, allocations: 0.6571 MB / 0.5348 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01115/0.3515, allocations: 4.518 MB / 0.5392 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.3538, allocations: 2.204 MB / 0.5414 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005533/0.3543, allocations: 497.4 kB / 0.5418 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001781/0.3561, allocations: 1.201 MB / 0.543 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009724/0.3571, allocations: 0.7271 MB / 0.5437 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.3572, allocations: 36.44 kB / 0.5438 GB, free: 6.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/0.3681, allocations: 6.431 MB / 0.55 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.3683, allocations: 144.4 kB / 0.5502 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006251/0.3689, allocations: 465.6 kB / 0.5506 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.3731, allocations: 2.932 MB / 0.5535 GB, free: 5.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3732, allocations: 0 / 0.5535 GB, free: 5.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3732, allocations: 2.844 kB / 0.5535 GB, free: 5.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3732, allocations: 0.75 kB / 0.5535 GB, free: 5.891 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003563/0.3768, allocations: 1.491 MB / 0.5549 GB, free: 5.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3768, allocations: 8.438 kB / 0.5549 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/0.3771, allocations: 133.1 kB / 0.5551 GB, free: 5.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.3777, allocations: 0.5283 MB / 0.5556 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.3778, allocations: 140.8 kB / 0.5557 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/0.3779, allocations: 66.06 kB / 0.5558 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.3792, allocations: 0.7985 MB / 0.5566 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3792, allocations: 0 / 0.5566 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/0.3793, allocations: 28.75 kB / 0.5566 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3793, allocations: 16.59 kB / 0.5566 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.3805, allocations: 0.5967 MB / 0.5572 GB, free: 4.449 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.3831, allocations: 3.662 MB / 0.5608 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.3843, allocations: 0.5323 MB / 0.5613 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.3847, allocations: 220.9 kB / 0.5615 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0555/0.4402, allocations: 32.43 MB / 0.5932 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.4402, allocations: 41.53 kB / 0.5932 GB, free: 8.012 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 2.344e-06/0.4403, allocations: 0 / 0.5932 GB, free: 8.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.004671/0.4449, allocations: 1.49 MB / 0.5947 GB, free: 6.723 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.445, allocations: 55.84 kB / 0.5947 GB, free: 6.656 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/0.4455, allocations: 0.5812 MB / 0.5953 GB, free: 6.203 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.4456, allocations: 33.58 kB / 0.5953 GB, free: 6.168 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.4458, allocations: 343.6 kB / 0.5957 GB, free: 5.953 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.4459, allocations: 190.9 kB / 0.5958 GB, free: 5.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.446, allocations: 51.12 kB / 0.5959 GB, free: 5.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4462, allocations: 384.2 kB / 0.5962 GB, free: 5.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.4465, allocations: 182.5 kB / 0.5964 GB, free: 5.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.447, allocations: 292.6 kB / 0.5967 GB, free: 5.008 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/0.4478, allocations: 488.2 kB / 0.5972 GB, free: 4.641 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4478, allocations: 0 / 0.5972 GB, free: 4.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001721/0.4495, allocations: 0.7827 MB / 0.5979 GB, free: 4.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.183e-05/0.4496, allocations: 177.9 kB / 0.5981 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.4497, allocations: 6.844 kB / 0.5981 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.4509, allocations: 299.5 kB / 0.5984 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.4513, allocations: 108.1 kB / 0.5985 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.4528, allocations: 1.891 MB / 0.6003 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.4534, allocations: 110.5 kB / 0.6004 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.4534, allocations: 26.92 kB / 0.6005 GB, free: 1.527 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.4535, allocations: 4 kB / 0.6005 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001316/0.4548, allocations: 0.6351 MB / 0.6011 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4548, allocations: 4 kB / 0.6011 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/0.4552, allocations: 172.5 kB / 0.6013 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.4556, allocations: 110.9 kB / 0.6014 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/0.4601, allocations: 4.934 MB / 0.6062 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.4607, allocations: 121.1 kB / 0.6063 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.4608, allocations: 18.75 kB / 0.6063 GB, free: 11.86 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.4611, allocations: 265.5 kB / 0.6066 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.685e-05/0.4612, allocations: 75.16 kB / 0.6066 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.4634, allocations: 1.529 MB / 0.6081 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4634, allocations: 11.8 kB / 0.6082 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.4634, allocations: 4 kB / 0.6082 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4634, allocations: 7.984 kB / 0.6082 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008424/0.4643, allocations: 0.8134 MB / 0.609 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.4643, allocations: 4 kB / 0.609 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.4646, allocations: 70.77 kB / 0.609 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/0.4662, allocations: 1.039 MB / 0.61 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.4662, allocations: 19.17 kB / 0.6101 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.468, allocations: 2.518 MB / 0.6125 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.468, allocations: 96 / 0.6125 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.4705, allocations: 1.877 MB / 0.6144 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.4708, allocations: 209.7 kB / 0.6146 GB, free: 5.312 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.867e-05/0.4709, allocations: 11.11 kB / 0.6146 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.4713, allocations: 62.92 kB / 0.6146 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.4714, allocations: 42.88 kB / 0.6147 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.4714, allocations: 15.94 kB / 0.6147 GB, free: 5.207 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003669/0.4718, allocations: 397.9 kB / 0.6151 GB, free: 4.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4718, allocations: 0 / 0.6151 GB, free: 4.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003704/0.4755, allocations: 1.165 MB / 0.6162 GB, free: 3.801 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,8), (2,8), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00369/0.4792, allocations: 1.053 MB / 0.6172 GB, free: 2.848 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.4816, allocations: 1.311 MB / 0.6185 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4816, allocations: 0 / 0.6185 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008751/0.4825, allocations: 465.3 kB / 0.619 GB, free: 1.449 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.4844, allocations: 349.8 kB / 0.6193 GB, free: 1.168 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.4869, allocations: 2.185 MB / 0.6214 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.4874, allocations: 0.9829 MB / 0.6224 GB, free: 14.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.4875, allocations: 48.69 kB / 0.6224 GB, free: 14.09 MB / 478.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4875, allocations: 0 / 0.6224 GB, free: 14.09 MB / 478.1 MB Notification: Performance of Templates: time 0.03848/0.526, allocations: 34.21 MB / 0.6558 GB, free: 12.05 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.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 OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpsCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpsCalcHelperMain.o] Error 1