Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006598/0.0006599, allocations: 93.7 kB / 17.31 MB, free: 6.535 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.0006972/0.0006972, allocations: 175.9 kB / 18.21 MB, free: 5.684 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.145/1.145, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.234/0.234, allocations: 48.78 MB / 321.5 MB, free: 11.12 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.0004272/0.0004272, allocations: 13.83 kB / 392.5 MB, free: 50.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07537/0.07581, allocations: 60.27 MB / 452.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.03598/0.1118, allocations: 44.07 MB / 496.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0172/0.1291, allocations: 16.71 MB / 0.5015 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.1293, allocations: 7.938 kB / 0.5015 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.1298, allocations: 163.1 kB / 0.5016 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1302, allocations: 242.5 kB / 0.5019 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.141, allocations: 5.217 MB / 0.507 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007504/0.1418, allocations: 0.9065 MB / 0.5079 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.1421, allocations: 206.9 kB / 0.5081 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.1423, allocations: 223 kB / 0.5083 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.1426, allocations: 250.8 kB / 0.5085 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.1426, allocations: 16 kB / 0.5085 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01154/0.1542, allocations: 8.938 MB / 0.5173 GB, free: 12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.1542, allocations: 59.7 kB / 0.5173 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.1544, allocations: 220.7 kB / 0.5175 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003313/0.1577, allocations: 3.508 MB / 0.5209 GB, free: 8.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1577, allocations: 0 / 0.5209 GB, free: 8.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1578, allocations: 0 / 0.5209 GB, free: 8.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.1578, allocations: 0 / 0.5209 GB, free: 8.207 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002338/0.1601, allocations: 1.224 MB / 0.5221 GB, free: 6.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1601, allocations: 12.03 kB / 0.5222 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.1604, allocations: 64.36 kB / 0.5222 GB, free: 6.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.1607, allocations: 327.3 kB / 0.5225 GB, free: 6.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1608, allocations: 25.03 kB / 0.5226 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.1608, allocations: 35.94 kB / 0.5226 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.1615, allocations: 384.2 kB / 0.523 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1616, allocations: 0 / 0.523 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.1616, allocations: 16 kB / 0.523 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1616, allocations: 8 kB / 0.523 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005577/0.1622, allocations: 262 kB / 0.5232 GB, free: 5.758 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.001542/0.1637, allocations: 1.631 MB / 0.5248 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005795/0.1643, allocations: 218.3 kB / 0.525 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.1644, allocations: 68.77 kB / 0.5251 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2638/0.4283, allocations: 64.58 MB / 0.5882 GB, free: 33.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.4284, allocations: 42.83 kB / 0.5882 GB, free: 33.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.4284, allocations: 0 / 0.5882 GB, free: 33.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001132/0.4295, allocations: 468.5 kB / 0.5886 GB, free: 32.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.4295, allocations: 51.41 kB / 0.5887 GB, free: 32.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.4298, allocations: 364.3 kB / 0.589 GB, free: 32.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.4299, allocations: 27.64 kB / 0.5891 GB, free: 32.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.43, allocations: 210.8 kB / 0.5893 GB, free: 32.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.43, allocations: 66.34 kB / 0.5893 GB, free: 32.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.43, allocations: 29.7 kB / 0.5894 GB, free: 32.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.4301, allocations: 342.8 kB / 0.5897 GB, free: 31.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.4302, allocations: 59.97 kB / 0.5897 GB, free: 31.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.4303, allocations: 110 kB / 0.5898 GB, free: 31.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.4306, allocations: 182.4 kB / 0.59 GB, free: 31.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4306, allocations: 0 / 0.59 GB, free: 31.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004557/0.431, allocations: 313.6 kB / 0.5903 GB, free: 31.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.4311, allocations: 129.2 kB / 0.5904 GB, free: 30.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4311, allocations: 4 kB / 0.5904 GB, free: 30.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.4314, allocations: 77.66 kB / 0.5905 GB, free: 30.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.4316, allocations: 51.84 kB / 0.5906 GB, free: 30.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009068/0.4325, allocations: 1.894 MB / 0.5924 GB, free: 28.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.4327, allocations: 39.7 kB / 0.5925 GB, free: 28.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.4327, allocations: 11.98 kB / 0.5925 GB, free: 28.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-06/0.4327, allocations: 4 kB / 0.5925 GB, free: 28.62 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003868/0.4331, allocations: 253.3 kB / 0.5927 GB, free: 28.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4332, allocations: 7.672 kB / 0.5927 GB, free: 28.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/0.4334, allocations: 76.16 kB / 0.5928 GB, free: 28.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.4335, allocations: 51.92 kB / 0.5928 GB, free: 28.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007852/0.4343, allocations: 1.906 MB / 0.5947 GB, free: 26.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.4345, allocations: 28.98 kB / 0.5947 GB, free: 26.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.4345, allocations: 12 kB / 0.5947 GB, free: 26.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.4347, allocations: 229.1 kB / 0.595 GB, free: 25.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.4347, allocations: 31.62 kB / 0.595 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007117/0.4354, allocations: 0.8225 MB / 0.5958 GB, free: 25.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.4354, allocations: 15.91 kB / 0.5958 GB, free: 25.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4355, allocations: 0 / 0.5958 GB, free: 25.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4355, allocations: 0 / 0.5958 GB, free: 25.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.4359, allocations: 0.5595 MB / 0.5964 GB, free: 24.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4359, allocations: 4 kB / 0.5964 GB, free: 24.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.4361, allocations: 47.16 kB / 0.5964 GB, free: 24.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.258e-05/0.4361, allocations: 20.84 kB / 0.5964 GB, free: 24.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.4362, allocations: 9.219 kB / 0.5964 GB, free: 24.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005399/0.4367, allocations: 1.276 MB / 0.5977 GB, free: 22.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4367, allocations: 3.938 kB / 0.5977 GB, free: 22.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/0.4374, allocations: 0.8095 MB / 0.5985 GB, free: 22.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.4374, allocations: 132.5 kB / 0.5986 GB, free: 21.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.4375, allocations: 7.938 kB / 0.5986 GB, free: 21.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.4377, allocations: 15.98 kB / 0.5986 GB, free: 21.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.4377, allocations: 15.98 kB / 0.5986 GB, free: 21.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.4377, allocations: 7.984 kB / 0.5986 GB, free: 21.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.4379, allocations: 259.2 kB / 0.5989 GB, free: 21.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4379, allocations: 3.938 kB / 0.5989 GB, free: 21.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002664/0.4406, allocations: 1.34 MB / 0.6002 GB, free: 20.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004157/0.4448, allocations: 1.424 MB / 0.6016 GB, free: 19.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009193/0.4457, allocations: 0.6145 MB / 0.6022 GB, free: 18.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4457, allocations: 0 / 0.6022 GB, free: 18.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.446, allocations: 315 kB / 0.6025 GB, free: 18.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009342/0.4469, allocations: 167.3 kB / 0.6027 GB, free: 18.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.4484, allocations: 1.466 MB / 0.6041 GB, free: 16.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.4485, allocations: 0.8401 MB / 0.6049 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.4486, allocations: 31.44 kB / 0.6049 GB, free: 15.66 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4486, allocations: 0 / 0.6049 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Templates: time 0.03101/0.4796, allocations: 29.32 MB / 0.6336 GB, free: 2.332 MB / 430.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.TestST1CalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestST1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestST1CalcHelperMain.o] Error 1