Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 94.03 kB / 16.67 MB, free: 6.594 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.002509/0.002509, allocations: 174.9 kB / 17.57 MB, free: 6.188 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.994/1.994, 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.2787/0.2787, allocations: 43.59 MB / 315.6 MB, free: 440 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.000562/0.000562, allocations: 19.89 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1387, allocations: 58.87 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.0476/0.1863, allocations: 39.42 MB / 483.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02886/0.2152, allocations: 20.92 MB / 0.4926 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.2174, allocations: 19.81 kB / 0.4926 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.2193, allocations: 401.9 kB / 0.493 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01617/0.2355, allocations: 4.151 MB / 0.4971 GB, free: 4.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007925/0.2435, allocations: 2.243 MB / 0.4993 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004445/0.2479, allocations: 2.843 MB / 0.502 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000954/0.2489, allocations: 421.2 kB / 0.5024 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009682/0.2586, allocations: 4.047 MB / 0.5064 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.011/0.2696, allocations: 5.444 MB / 0.5117 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.27, allocations: 39.94 kB / 0.5118 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01733/0.2873, allocations: 7.266 MB / 0.5189 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005879/0.2879, allocations: 247.2 kB / 0.5191 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.2892, allocations: 447.7 kB / 0.5195 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007918/0.2971, allocations: 3.504 MB / 0.5229 GB, free: 9.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2971, allocations: 4 kB / 0.5229 GB, free: 9.395 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2971, allocations: 0 / 0.5229 GB, free: 9.395 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.843e-05/0.2972, allocations: 0 / 0.5229 GB, free: 9.395 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.005878/0.3031, allocations: 1.536 MB / 0.5244 GB, free: 7.809 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.3031, allocations: 8.031 kB / 0.5244 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/0.3056, allocations: 311.7 kB / 0.5247 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.3069, allocations: 0.556 MB / 0.5253 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.3071, allocations: 121.2 kB / 0.5254 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.3072, allocations: 64.11 kB / 0.5255 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.31, allocations: 1.22 MB / 0.5267 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.31, allocations: 0 / 0.5267 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.551e-05/0.3101, allocations: 24 kB / 0.5267 GB, free: 5.359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.769e-05/0.3102, allocations: 49.23 kB / 0.5267 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.3129, allocations: 1.063 MB / 0.5278 GB, free: 4.25 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.3338/0.6468, allocations: 5.624 MB / 0.5333 GB, free: 88.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.6497, allocations: 0.8009 MB / 0.534 GB, free: 88.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/0.6504, allocations: 313.1 kB / 0.5343 GB, free: 88.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03888/0.6893, allocations: 15.97 MB / 0.5499 GB, free: 79.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.6893, allocations: 41.94 kB / 0.55 GB, free: 79.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.815e-06/0.6894, allocations: 0 / 0.55 GB, free: 79.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.007856/0.6972, allocations: 2.376 MB / 0.5523 GB, free: 78.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.6973, allocations: 164 kB / 0.5525 GB, free: 78.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.6982, allocations: 0.6077 MB / 0.553 GB, free: 77.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.6982, allocations: 36.77 kB / 0.5531 GB, free: 77.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.6985, allocations: 384.3 kB / 0.5534 GB, free: 77.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.6986, allocations: 180 kB / 0.5536 GB, free: 77.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/0.6987, allocations: 73.36 kB / 0.5537 GB, free: 77.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.6988, allocations: 373.5 kB / 0.554 GB, free: 77.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006042/0.6995, allocations: 296.3 kB / 0.5543 GB, free: 77.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.7003, allocations: 0.6193 MB / 0.5549 GB, free: 76.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.7016, allocations: 0.9226 MB / 0.5558 GB, free: 76.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.7016, allocations: 7.906 kB / 0.5558 GB, free: 76.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001804/0.7034, allocations: 0.9882 MB / 0.5568 GB, free: 75.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.7035, allocations: 11.84 kB / 0.5568 GB, free: 75.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.7035, allocations: 7.906 kB / 0.5568 GB, free: 75.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003137/0.7038, allocations: 68.09 kB / 0.5569 GB, free: 75.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.705, allocations: 308.8 kB / 0.5572 GB, free: 75.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.7064, allocations: 1.983 MB / 0.5591 GB, free: 73.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007202/0.7071, allocations: 87.39 kB / 0.5592 GB, free: 73.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.7072, allocations: 39.42 kB / 0.5592 GB, free: 73.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004032/0.7076, allocations: 276.5 kB / 0.5595 GB, free: 73.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.7077, allocations: 70.38 kB / 0.5596 GB, free: 73.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/0.7108, allocations: 2.603 MB / 0.5621 GB, free: 71.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/0.7108, allocations: 34.86 kB / 0.5621 GB, free: 71.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.7108, allocations: 0 / 0.5621 GB, free: 71.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.7108, allocations: 3.984 kB / 0.5622 GB, free: 71.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004503/0.7153, allocations: 3.796 MB / 0.5659 GB, free: 68.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.7154, allocations: 0 / 0.5659 GB, free: 68.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.7164, allocations: 247.7 kB / 0.5661 GB, free: 68.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/0.7169, allocations: 93.95 kB / 0.5662 GB, free: 68.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.7169, allocations: 19.73 kB / 0.5662 GB, free: 68.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.718, allocations: 1.99 MB / 0.5681 GB, free: 66.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7181, allocations: 4.094 kB / 0.5681 GB, free: 66.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.7207, allocations: 2.381 MB / 0.5705 GB, free: 63.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.7211, allocations: 326.8 kB / 0.5708 GB, free: 63.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/0.7212, allocations: 15.94 kB / 0.5708 GB, free: 63.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.7218, allocations: 59.95 kB / 0.5709 GB, free: 63.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.7219, allocations: 53.41 kB / 0.5709 GB, free: 63.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.7219, allocations: 24 kB / 0.5709 GB, free: 63.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006984/0.7226, allocations: 0.5615 MB / 0.5715 GB, free: 62.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7226, allocations: 0 / 0.5715 GB, free: 62.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004363/0.727, allocations: 1.086 MB / 0.5725 GB, free: 61.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004278/0.7313, allocations: 1.213 MB / 0.5737 GB, free: 60.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.7336, allocations: 1.104 MB / 0.5748 GB, free: 59.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.7336, allocations: 2.031 kB / 0.5748 GB, free: 59.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.7349, allocations: 0.808 MB / 0.5756 GB, free: 58.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.7371, allocations: 381.1 kB / 0.576 GB, free: 58.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.7409, allocations: 3.136 MB / 0.579 GB, free: 55.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/0.7415, allocations: 1.153 MB / 0.5801 GB, free: 54.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.7417, allocations: 71.42 kB / 0.5802 GB, free: 54.21 MB / 414.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7417, allocations: 0 / 0.5802 GB, free: 54.21 MB / 414.1 MB Notification: Performance of Templates: time 0.05874/0.8004, allocations: 39.37 MB / 0.6187 GB, free: 14.86 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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_phCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_phCalcHelperMain.o] Error 1