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.0008832/0.0008832, allocations: 95.39 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.0008762/0.0008762, allocations: 181.5 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 1.857/1.857, 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.3683/0.3683, allocations: 48.78 MB / 321.1 MB, free: 11.22 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.0005468/0.0005469, allocations: 12.47 kB / 391.8 MB, free: 50.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1464, allocations: 60.27 MB / 452.1 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.04043/0.1869, allocations: 34.53 MB / 486.6 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01954/0.2065, allocations: 13.88 MB / 0.4887 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006935/0.2073, allocations: 11.94 kB / 0.4888 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.2079, allocations: 103.3 kB / 0.4889 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.2086, allocations: 222.5 kB / 0.4891 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01925/0.2278, allocations: 4.94 MB / 0.4939 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.2291, allocations: 0.665 MB / 0.4945 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.2295, allocations: 177 kB / 0.4947 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.2299, allocations: 195.2 kB / 0.4949 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.2302, allocations: 207.1 kB / 0.4951 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.635e-05/0.2302, allocations: 16 kB / 0.4951 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01855/0.2488, allocations: 8.583 MB / 0.5035 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.249, allocations: 51.77 kB / 0.5035 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.2493, allocations: 93.52 kB / 0.5036 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.2593, allocations: 3.419 MB / 0.507 GB, free: 6.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.2594, allocations: 0 / 0.507 GB, free: 6.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.2594, allocations: 0 / 0.507 GB, free: 6.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.2594, allocations: 4 kB / 0.507 GB, free: 6.273 MB / 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.004691/0.2641, allocations: 1.185 MB / 0.5081 GB, free: 5.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.2642, allocations: 12.03 kB / 0.5081 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.2645, allocations: 63.5 kB / 0.5082 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004743/0.265, allocations: 306.2 kB / 0.5085 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.265, allocations: 20.56 kB / 0.5085 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.2651, allocations: 24 kB / 0.5085 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007111/0.2658, allocations: 326.2 kB / 0.5088 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.2658, allocations: 4 kB / 0.5089 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.2659, allocations: 12 kB / 0.5089 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.2659, allocations: 8 kB / 0.5089 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.2664, allocations: 210 kB / 0.5091 GB, free: 4.012 MB / 398.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.002175/0.2686, allocations: 1.501 MB / 0.5105 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.2691, allocations: 182.6 kB / 0.5107 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.2693, allocations: 60.83 kB / 0.5108 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4549/0.7242, allocations: 64.58 MB / 0.5738 GB, free: 48.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.7244, allocations: 43.41 kB / 0.5739 GB, free: 48.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 4.118e-06/0.7244, allocations: 0 / 0.5739 GB, free: 48.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001507/0.7259, allocations: 403.6 kB / 0.5743 GB, free: 48.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.726, allocations: 56.72 kB / 0.5743 GB, free: 47.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.7265, allocations: 357.6 kB / 0.5747 GB, free: 47.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.7265, allocations: 29.7 kB / 0.5747 GB, free: 47.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.7267, allocations: 200.3 kB / 0.5749 GB, free: 47.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.7268, allocations: 54.06 kB / 0.5749 GB, free: 47.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.7268, allocations: 8 kB / 0.5749 GB, free: 47.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7269, allocations: 342.8 kB / 0.5753 GB, free: 47.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.727, allocations: 47.97 kB / 0.5753 GB, free: 46.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.7271, allocations: 101.5 kB / 0.5754 GB, free: 46.85 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.0007431/0.7279, allocations: 236.8 kB / 0.5756 GB, free: 46.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.7279, allocations: 0 / 0.5756 GB, free: 46.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004406/0.7283, allocations: 237 kB / 0.5759 GB, free: 46.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.7284, allocations: 8 kB / 0.5759 GB, free: 46.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.7284, allocations: 224 / 0.5759 GB, free: 46.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.7286, allocations: 28.84 kB / 0.5759 GB, free: 46.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.7287, allocations: 47.91 kB / 0.5759 GB, free: 46.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009342/0.7297, allocations: 1.291 MB / 0.5772 GB, free: 44.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.7299, allocations: 31.69 kB / 0.5772 GB, free: 44.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.73, allocations: 7.984 kB / 0.5772 GB, free: 44.83 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 sytem: 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.7301, allocations: 150.8 kB / 0.5774 GB, free: 44.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.7302, allocations: 35.53 kB / 0.5774 GB, free: 44.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.7309, allocations: 0.6064 MB / 0.578 GB, free: 44.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.731, allocations: 11.98 kB / 0.578 GB, free: 44.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.731, allocations: 0 / 0.578 GB, free: 44.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.731, allocations: 0 / 0.578 GB, free: 44.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.7322, allocations: 1.07 MB / 0.5791 GB, free: 42.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7322, allocations: 0 / 0.5791 GB, free: 42.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.7324, allocations: 39.92 kB / 0.5791 GB, free: 42.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.634e-05/0.7324, allocations: 24.84 kB / 0.5791 GB, free: 42.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.7325, allocations: 7.891 kB / 0.5791 GB, free: 42.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000687/0.7332, allocations: 1.295 MB / 0.5804 GB, free: 41.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7332, allocations: 0 / 0.5804 GB, free: 41.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.7338, allocations: 0.6503 MB / 0.581 GB, free: 40.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.734, allocations: 128.5 kB / 0.5812 GB, free: 40.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.734, allocations: 5.484 kB / 0.5812 GB, free: 40.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.7342, allocations: 16 kB / 0.5812 GB, free: 40.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.7343, allocations: 11.92 kB / 0.5812 GB, free: 40.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.7343, allocations: 11.98 kB / 0.5812 GB, free: 40.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002448/0.7345, allocations: 251.2 kB / 0.5814 GB, free: 40.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7345, allocations: 0 / 0.5814 GB, free: 40.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004318/0.7389, allocations: 1.265 MB / 0.5827 GB, free: 39.12 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007973/0.7469, allocations: 1.404 MB / 0.584 GB, free: 37.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.7476, allocations: 306.3 kB / 0.5843 GB, free: 37.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7476, allocations: 0 / 0.5843 GB, free: 37.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.7479, allocations: 254.5 kB / 0.5846 GB, free: 37.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.7489, allocations: 172.6 kB / 0.5847 GB, free: 37.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.7507, allocations: 1.167 MB / 0.5859 GB, free: 35.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.7509, allocations: 0.8154 MB / 0.5867 GB, free: 35.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.751, allocations: 27.44 kB / 0.5867 GB, free: 35.1 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.751, allocations: 0 / 0.5867 GB, free: 35.1 MB / 414.1 MB Notification: Performance of Templates: time 0.04406/0.7951, allocations: 27.75 MB / 0.6138 GB, free: 7.324 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.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