Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008647/0.0008648, allocations: 88.34 kB / 16.95 MB, free: 5.953 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.0008786/0.0008788, allocations: 178.7 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3909/0.3909, allocations: 48.77 MB / 321 MB, free: 11.23 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.000588/0.0005884, allocations: 14.38 kB / 391.8 MB, free: 50.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1591, allocations: 60.28 MB / 452.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.03812/0.1973, allocations: 32.2 MB / 484.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.2089, allocations: 8.042 MB / 492.3 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000468/0.2094, allocations: 11.88 kB / 492.3 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005514/0.21, allocations: 99.28 kB / 492.4 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008357/0.2108, allocations: 270.5 kB / 492.7 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01344/0.2243, allocations: 3.422 MB / 496.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.2255, allocations: 0.6658 MB / 496.8 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.2259, allocations: 180.8 kB / 496.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.2273, allocations: 0.7601 MB / 497.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005981/0.228, allocations: 351 kB / 498 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.933e-05/0.228, allocations: 15.94 kB / 498.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01292/0.2409, allocations: 5.942 MB / 0.4922 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.2412, allocations: 47.77 kB / 0.4922 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.2414, allocations: 89.52 kB / 0.4923 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00647/0.2479, allocations: 2.417 MB / 0.4947 GB, free: 2.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.2479, allocations: 0 / 0.4947 GB, free: 2.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2479, allocations: 4 kB / 0.4947 GB, free: 2.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.2479, allocations: 3.938 kB / 0.4947 GB, free: 2.891 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.003736/0.2517, allocations: 1.006 MB / 0.4957 GB, free: 1.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2517, allocations: 15.95 kB / 0.4957 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.2519, allocations: 51.52 kB / 0.4957 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.2523, allocations: 294.2 kB / 0.496 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.763e-05/0.2525, allocations: 46.27 kB / 0.4961 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.2525, allocations: 24 kB / 0.4961 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.2533, allocations: 353.2 kB / 0.4964 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2533, allocations: 0 / 0.4964 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.2534, allocations: 15.95 kB / 0.4964 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2534, allocations: 4 kB / 0.4964 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007796/0.2542, allocations: 298 kB / 0.4967 GB, free: 0.6914 MB / 382.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.001818/0.256, allocations: 1.435 MB / 0.4981 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006772/0.2567, allocations: 214.8 kB / 0.4983 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.257, allocations: 136.7 kB / 0.4985 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3478/0.6048, allocations: 32.42 MB / 0.5301 GB, free: 82.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.6049, allocations: 32.47 kB / 0.5302 GB, free: 82.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 4.128e-06/0.6049, allocations: 1.656 kB / 0.5302 GB, free: 82.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002741/0.6077, allocations: 0.706 MB / 0.5308 GB, free: 82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.6077, allocations: 57.19 kB / 0.5309 GB, free: 81.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.6081, allocations: 276.9 kB / 0.5312 GB, free: 81.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.6081, allocations: 30.8 kB / 0.5312 GB, free: 81.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.6082, allocations: 172.6 kB / 0.5314 GB, free: 81.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.099e-05/0.6083, allocations: 74.44 kB / 0.5314 GB, free: 81.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.6083, allocations: 2.312 kB / 0.5314 GB, free: 81.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.6084, allocations: 342.5 kB / 0.5318 GB, free: 81.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.6088, allocations: 105.5 kB / 0.5319 GB, free: 81.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.6091, allocations: 146.1 kB / 0.532 GB, free: 81.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.6094, allocations: 112.4 kB / 0.5321 GB, free: 81.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6094, allocations: 0 / 0.5321 GB, free: 81.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001099/0.6105, allocations: 395.6 kB / 0.5325 GB, free: 81.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.959e-05/0.6106, allocations: 118.4 kB / 0.5326 GB, free: 81.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.6106, allocations: 3.938 kB / 0.5326 GB, free: 81.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.6112, allocations: 104.8 kB / 0.5327 GB, free: 81.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.6115, allocations: 55.12 kB / 0.5327 GB, free: 81.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005615/0.6121, allocations: 0.6292 MB / 0.5334 GB, free: 80.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.6124, allocations: 56.86 kB / 0.5334 GB, free: 80.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.6125, allocations: 9.75 kB / 0.5334 GB, free: 80.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.6125, allocations: 8.125 kB / 0.5334 GB, free: 80.61 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009228/0.6134, allocations: 317.9 kB / 0.5337 GB, free: 80.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.6134, allocations: 0.875 kB / 0.5337 GB, free: 80.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.6136, allocations: 62.33 kB / 0.5338 GB, free: 80.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.6139, allocations: 57.38 kB / 0.5339 GB, free: 80.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.6158, allocations: 1.646 MB / 0.5355 GB, free: 79.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.6161, allocations: 52.81 kB / 0.5355 GB, free: 79.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.6161, allocations: 8.188 kB / 0.5355 GB, free: 79.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.6164, allocations: 213.8 kB / 0.5357 GB, free: 79.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.6164, allocations: 34.61 kB / 0.5358 GB, free: 79.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.6182, allocations: 0.6525 MB / 0.5364 GB, free: 78.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.6182, allocations: 16.64 kB / 0.5364 GB, free: 78.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.6182, allocations: 6.469 kB / 0.5364 GB, free: 78.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6183, allocations: 1.453 kB / 0.5364 GB, free: 78.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.6188, allocations: 398.5 kB / 0.5368 GB, free: 78.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6188, allocations: 0 / 0.5368 GB, free: 78.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.6191, allocations: 51.11 kB / 0.5368 GB, free: 78.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006904/0.6198, allocations: 362.3 kB / 0.5372 GB, free: 78.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.6198, allocations: 6.25 kB / 0.5372 GB, free: 78.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007386/0.6205, allocations: 0.8446 MB / 0.538 GB, free: 77.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6205, allocations: 0 / 0.538 GB, free: 77.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.6222, allocations: 0.8675 MB / 0.5389 GB, free: 77.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.6223, allocations: 130.3 kB / 0.539 GB, free: 77.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.6224, allocations: 5.906 kB / 0.539 GB, free: 77.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.6227, allocations: 41.34 kB / 0.539 GB, free: 77.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.516e-05/0.6228, allocations: 20.38 kB / 0.5391 GB, free: 77.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.6228, allocations: 15.55 kB / 0.5391 GB, free: 77.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002327/0.6231, allocations: 196.4 kB / 0.5393 GB, free: 77.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6231, allocations: 0 / 0.5393 GB, free: 77.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00383/0.6269, allocations: 0.9107 MB / 0.5401 GB, free: 77.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.004847/0.6318, allocations: 0.9769 MB / 0.5411 GB, free: 77.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.6336, allocations: 0.5833 MB / 0.5417 GB, free: 76.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6337, allocations: 0 / 0.5417 GB, free: 76.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006511/0.6343, allocations: 211.1 kB / 0.5419 GB, free: 76.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6354, allocations: 137.1 kB / 0.542 GB, free: 76.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.6372, allocations: 0.9228 MB / 0.5429 GB, free: 76.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.6375, allocations: 0.7879 MB / 0.5437 GB, free: 75.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.6377, allocations: 25.11 kB / 0.5437 GB, free: 75.48 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6377, allocations: 0 / 0.5437 GB, free: 75.48 MB / 414.1 MB Notification: Performance of Templates: time 0.03772/0.6754, allocations: 19.79 MB / 0.563 GB, free: 63.86 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpCalcHelperMain.o] Error 1