Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 93.38 kB / 16.67 MB, free: 6.59 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.001213/0.001213, allocations: 175 kB / 17.57 MB, free: 6.191 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.008/2.008, allocations: 205.4 MB / 223.8 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2668/0.2668, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 254.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.0005575/0.0005575, allocations: 12.56 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1315, allocations: 58.86 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04828/0.1799, allocations: 39.41 MB / 483.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02903/0.209, allocations: 20.93 MB / 0.4926 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.2106, allocations: 23.81 kB / 0.4927 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.2124, allocations: 393.9 kB / 0.493 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01783/0.2302, allocations: 4.154 MB / 0.4971 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008414/0.2386, allocations: 2.243 MB / 0.4993 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003883/0.2425, allocations: 2.819 MB / 0.502 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007078/0.2433, allocations: 409.2 kB / 0.5024 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009501/0.2528, allocations: 4.031 MB / 0.5064 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01048/0.2633, allocations: 5.432 MB / 0.5117 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.2636, allocations: 39.94 kB / 0.5117 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01852/0.2821, allocations: 7.121 MB / 0.5187 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006686/0.2828, allocations: 247.1 kB / 0.5189 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009713/0.2838, allocations: 439.7 kB / 0.5193 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008266/0.2921, allocations: 3.395 MB / 0.5226 GB, free: 9.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.2921, allocations: 7.938 kB / 0.5226 GB, free: 9.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2921, allocations: 0 / 0.5226 GB, free: 9.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.2922, allocations: 0 / 0.5226 GB, free: 9.695 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004801/0.297, allocations: 1.462 MB / 0.5241 GB, free: 8.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.297, allocations: 12.03 kB / 0.5241 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.2984, allocations: 223.7 kB / 0.5243 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/0.2993, allocations: 0.5365 MB / 0.5248 GB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.2994, allocations: 113.2 kB / 0.5249 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.2996, allocations: 68.12 kB / 0.525 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.3018, allocations: 1.082 MB / 0.526 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.3018, allocations: 7.875 kB / 0.5261 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.609e-05/0.3019, allocations: 35.98 kB / 0.5261 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.306e-05/0.302, allocations: 40.98 kB / 0.5261 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.3037, allocations: 0.8194 MB / 0.5269 GB, free: 5.09 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.3422/0.6459, allocations: 5.557 MB / 0.5324 GB, free: 65.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.6475, allocations: 0.5347 MB / 0.5329 GB, free: 65.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.6478, allocations: 216.6 kB / 0.5331 GB, free: 65.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09569/0.7435, allocations: 47.87 MB / 0.5798 GB, free: 32.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.7436, allocations: 42.06 kB / 0.5799 GB, free: 32.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 3.517e-06/0.7436, allocations: 0 / 0.5799 GB, free: 32.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.006287/0.7499, allocations: 2.133 MB / 0.582 GB, free: 30.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.75, allocations: 192 kB / 0.5821 GB, free: 30.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.7508, allocations: 0.6389 MB / 0.5828 GB, free: 29.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.7509, allocations: 32.92 kB / 0.5828 GB, free: 29.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.7513, allocations: 401.1 kB / 0.5832 GB, free: 29.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.7514, allocations: 165.1 kB / 0.5833 GB, free: 29.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.7516, allocations: 71.11 kB / 0.5834 GB, free: 29.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.7518, allocations: 379.1 kB / 0.5838 GB, free: 28.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.7522, allocations: 228.9 kB / 0.584 GB, free: 28.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.7528, allocations: 0.5905 MB / 0.5846 GB, free: 28.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.754, allocations: 0.8673 MB / 0.5854 GB, free: 27.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.754, allocations: 4 kB / 0.5854 GB, free: 27.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001442/0.7554, allocations: 0.8966 MB / 0.5863 GB, free: 26.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.7555, allocations: 10.73 kB / 0.5863 GB, free: 26.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.7555, allocations: 12 kB / 0.5863 GB, free: 26.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/0.7585, allocations: 281.2 kB / 0.5866 GB, free: 26.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.7596, allocations: 277.1 kB / 0.5868 GB, free: 26.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.7612, allocations: 2.03 MB / 0.5888 GB, free: 24.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/0.7619, allocations: 62.19 kB / 0.5889 GB, free: 24.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.762, allocations: 41.75 kB / 0.5889 GB, free: 23.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.7624, allocations: 285.7 kB / 0.5892 GB, free: 23.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.7626, allocations: 71.16 kB / 0.5893 GB, free: 23.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/0.7648, allocations: 2.015 MB / 0.5912 GB, free: 22.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/0.7648, allocations: 23.22 kB / 0.5913 GB, free: 22.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.7649, allocations: 0 / 0.5913 GB, free: 22.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.7649, allocations: 7.984 kB / 0.5913 GB, free: 22.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/0.769, allocations: 2.995 MB / 0.5942 GB, free: 20.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.7691, allocations: 4.062 kB / 0.5942 GB, free: 20.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000865/0.7699, allocations: 182.7 kB / 0.5944 GB, free: 20.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.7717, allocations: 314.4 kB / 0.5947 GB, free: 19.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.7718, allocations: 15.61 kB / 0.5947 GB, free: 19.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.7732, allocations: 2.071 MB / 0.5967 GB, free: 17.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7732, allocations: 8.203 kB / 0.5967 GB, free: 17.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.7753, allocations: 1.944 MB / 0.5986 GB, free: 16.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.7757, allocations: 281.1 kB / 0.5989 GB, free: 16.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/0.7758, allocations: 22.55 kB / 0.5989 GB, free: 16.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.7762, allocations: 34.98 kB / 0.5989 GB, free: 16.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.7763, allocations: 32.33 kB / 0.599 GB, free: 16.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.7764, allocations: 19.75 kB / 0.599 GB, free: 16.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006816/0.777, allocations: 0.5746 MB / 0.5995 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7771, allocations: 4 kB / 0.5995 GB, free: 15.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004257/0.7813, allocations: 1.084 MB / 0.6006 GB, free: 14.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004508/0.7858, allocations: 1.179 MB / 0.6018 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.7878, allocations: 0.906 MB / 0.6026 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.7878, allocations: 4 kB / 0.6026 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.7888, allocations: 0.6338 MB / 0.6033 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.791, allocations: 380.6 kB / 0.6036 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.7939, allocations: 2.681 MB / 0.6062 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.7944, allocations: 1.089 MB / 0.6073 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.7946, allocations: 71.44 kB / 0.6074 GB, free: 8.246 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.7946, allocations: 0 / 0.6074 GB, free: 8.246 MB / 414.1 MB Notification: Performance of Templates: time 0.06197/0.8565, allocations: 37.04 MB / 0.6435 GB, free: 3.324 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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 OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o] Error 1