Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") translateModel(ThermoPower.Test.WaterComponents.TestST2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001533/0.001533, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.853/1.853, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3967/0.3967, allocations: 48.84 MB / 320.1 MB, free: 11.31 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" 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.001773/0.001773, allocations: 61.53 kB / 390 MB, free: 49.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1501, allocations: 59.16 MB / 449.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04819/0.1983, allocations: 38.01 MB / 487.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02175/0.2201, allocations: 16.33 MB / 0.4917 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004302/0.2207, allocations: 7.938 kB / 0.4917 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005934/0.2213, allocations: 115.3 kB / 0.4918 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.2218, allocations: 202.7 kB / 0.492 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01913/0.2409, allocations: 5.128 MB / 0.497 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.2421, allocations: 0.7704 MB / 0.4978 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003614/0.2424, allocations: 181.1 kB / 0.4979 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002968/0.2428, allocations: 207.1 kB / 0.4981 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.2431, allocations: 234.9 kB / 0.4984 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.2431, allocations: 16 kB / 0.4984 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0173/0.2604, allocations: 8.837 MB / 0.507 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.2606, allocations: 63.69 kB / 0.5071 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.261, allocations: 187 kB / 0.5072 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008048/0.2691, allocations: 3.454 MB / 0.5106 GB, free: 336 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2691, allocations: 0 / 0.5106 GB, free: 336 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2691, allocations: 0 / 0.5106 GB, free: 336 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2691, allocations: 0 / 0.5106 GB, free: 336 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003944/0.2731, allocations: 1.234 MB / 0.5118 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.2732, allocations: 12.03 kB / 0.5118 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.2734, allocations: 56.36 kB / 0.5119 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.2739, allocations: 327.3 kB / 0.5122 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.2739, allocations: 20.94 kB / 0.5122 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.2739, allocations: 36.03 kB / 0.5123 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.2746, allocations: 322.2 kB / 0.5126 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2746, allocations: 0 / 0.5126 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.2747, allocations: 8 kB / 0.5126 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.2747, allocations: 8 kB / 0.5126 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.2752, allocations: 214 kB / 0.5128 GB, free: 14 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.001851/0.277, allocations: 1.485 MB / 0.5142 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.2776, allocations: 190.6 kB / 0.5144 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.2777, allocations: 52.84 kB / 0.5145 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4503/0.728, allocations: 63.96 MB / 0.5769 GB, free: 42.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.7281, allocations: 38.55 kB / 0.577 GB, free: 42.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.725e-06/0.7281, allocations: 0 / 0.577 GB, free: 42.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001491/0.7296, allocations: 393 kB / 0.5773 GB, free: 42.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.7297, allocations: 53.17 kB / 0.5774 GB, free: 42.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.7302, allocations: 368.3 kB / 0.5777 GB, free: 41.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.7303, allocations: 29.27 kB / 0.5778 GB, free: 41.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.7305, allocations: 199.7 kB / 0.578 GB, free: 41.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/0.7306, allocations: 53.67 kB / 0.578 GB, free: 41.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.7307, allocations: 40.59 kB / 0.578 GB, free: 41.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.7309, allocations: 345.5 kB / 0.5784 GB, free: 41.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.731, allocations: 47.91 kB / 0.5784 GB, free: 41.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.7311, allocations: 110.5 kB / 0.5785 GB, free: 41.11 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009715/0.7321, allocations: 359.8 kB / 0.5789 GB, free: 40.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7321, allocations: 4 kB / 0.5789 GB, free: 40.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004795/0.7326, allocations: 230.4 kB / 0.5791 GB, free: 40.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.7326, allocations: 11.98 kB / 0.5791 GB, free: 40.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.7327, allocations: 0 / 0.5791 GB, free: 40.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.7328, allocations: 25.08 kB / 0.5791 GB, free: 40.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.733, allocations: 47.81 kB / 0.5792 GB, free: 40.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.7341, allocations: 1.286 MB / 0.5804 GB, free: 39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.7343, allocations: 31.7 kB / 0.5805 GB, free: 38.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.7344, allocations: 12.88 kB / 0.5805 GB, free: 38.96 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.7346, allocations: 145.5 kB / 0.5806 GB, free: 38.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.344e-05/0.7347, allocations: 42.34 kB / 0.5806 GB, free: 38.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.7354, allocations: 0.6038 MB / 0.5812 GB, free: 38.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.7354, allocations: 15.98 kB / 0.5813 GB, free: 38.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.7354, allocations: 0 / 0.5813 GB, free: 38.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7354, allocations: 3.938 kB / 0.5813 GB, free: 38.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.7367, allocations: 1.07 MB / 0.5823 GB, free: 37.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.7368, allocations: 3.297 kB / 0.5823 GB, free: 37.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.7369, allocations: 35.98 kB / 0.5823 GB, free: 36.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.737, allocations: 24.88 kB / 0.5824 GB, free: 36.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.7371, allocations: 5.75 kB / 0.5824 GB, free: 36.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000761/0.7378, allocations: 1.286 MB / 0.5836 GB, free: 35.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7379, allocations: 4.031 kB / 0.5836 GB, free: 35.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006897/0.7386, allocations: 0.6409 MB / 0.5843 GB, free: 34.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.7387, allocations: 129.1 kB / 0.5844 GB, free: 34.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.7388, allocations: 8.094 kB / 0.5844 GB, free: 34.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.739, allocations: 8 kB / 0.5844 GB, free: 34.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.739, allocations: 19.91 kB / 0.5844 GB, free: 34.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.7391, allocations: 8 kB / 0.5844 GB, free: 34.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.7393, allocations: 255.2 kB / 0.5847 GB, free: 34.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7393, allocations: 1.031 kB / 0.5847 GB, free: 34.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004389/0.7437, allocations: 1.263 MB / 0.5859 GB, free: 33.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00828/0.752, allocations: 1.425 MB / 0.5873 GB, free: 32.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000632/0.7527, allocations: 299.3 kB / 0.5876 GB, free: 31.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.7527, allocations: 4 kB / 0.5876 GB, free: 31.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.7529, allocations: 247.5 kB / 0.5878 GB, free: 31.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.754, allocations: 172.8 kB / 0.588 GB, free: 31.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.756, allocations: 1.124 MB / 0.5891 GB, free: 30.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.7563, allocations: 0.8076 MB / 0.5899 GB, free: 29.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.7564, allocations: 27.44 kB / 0.5899 GB, free: 29.33 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.7564, allocations: 4 kB / 0.5899 GB, free: 29.33 MB / 414.1 MB Notification: Performance of Templates: time 0.04744/0.8039, allocations: 27.77 MB / 0.617 GB, free: 1.578 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.TestST2CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestST2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestST2CalcHelperMain.o] Error 1