Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 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(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008206, allocations: 100.1 kB / 15.71 MB, free: 448 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000896/0.000896, allocations: 176 kB / 16.59 MB, free: 6.426 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.481/1.481, allocations: 205.4 MB / 222.8 MB, free: 5.855 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04167/0.04167, allocations: 9.052 MB / 280.1 MB, free: 12.49 MB / 238.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.0004969/0.0004969, allocations: 12.22 kB / 339.8 MB, free: 26.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1036, allocations: 49.2 MB / 389 MB, free: 8.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01394/0.1176, allocations: 12.19 MB / 401.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01881/0.1365, allocations: 16.51 MB / 417.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.1367, allocations: 0 / 417.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.137, allocations: 43.72 kB / 417.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.1371, allocations: 55.53 kB / 417.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0173/0.1544, allocations: 5.103 MB / 422.9 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.1547, allocations: 166.9 kB / 423 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.1548, allocations: 5.125 kB / 423 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1549, allocations: 55.78 kB / 423.1 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1551, allocations: 59.77 kB / 423.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1551, allocations: 4 kB / 423.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.235/0.3901, allocations: 10.3 MB / 433.4 MB, free: 18.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.3902, allocations: 14.67 kB / 433.5 MB, free: 18.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.3903, allocations: 51.64 kB / 433.5 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.4013, allocations: 4.024 MB / 437.5 MB, free: 18.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.4013, allocations: 0.8438 kB / 437.5 MB, free: 18.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4013, allocations: 0 / 437.5 MB, free: 18.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4014, allocations: 0 / 437.5 MB, free: 18.05 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.008405/0.4098, allocations: 1.333 MB / 438.9 MB, free: 17.3 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4098, allocations: 9.625 kB / 438.9 MB, free: 17.3 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.4099, allocations: 11.5 kB / 438.9 MB, free: 17.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.41, allocations: 182.7 kB / 439.1 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.41, allocations: 12.61 kB / 439.1 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4101, allocations: 9.594 kB / 439.1 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.411, allocations: 338.5 kB / 439.4 MB, free: 17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.411, allocations: 1.125 kB / 439.4 MB, free: 17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.411, allocations: 5.25 kB / 439.4 MB, free: 17 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.411, allocations: 3.531 kB / 439.4 MB, free: 17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009095/0.412, allocations: 336.7 kB / 439.7 MB, free: 17 MB / 318.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.0008221/0.4128, allocations: 1.053 MB / 440.8 MB, free: 16.08 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008272/0.4136, allocations: 316.5 kB / 441.1 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.4139, allocations: 102 kB / 441.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5971/1.011, allocations: 184.8 MB / 0.6114 GB, free: 152.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/1.011, allocations: 38.55 kB / 0.6114 GB, free: 152.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.295e-06/1.011, allocations: 0 / 0.6114 GB, free: 152.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.00177/1.013, allocations: 0.5235 MB / 0.6119 GB, free: 152.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.013, allocations: 102.8 kB / 0.612 GB, free: 152.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/1.013, allocations: 157 kB / 0.6122 GB, free: 152.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/1.013, allocations: 29.7 kB / 0.6122 GB, free: 152.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/1.013, allocations: 108.1 kB / 0.6123 GB, free: 152.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/1.013, allocations: 46.88 kB / 0.6124 GB, free: 152 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/1.013, allocations: 0 / 0.6124 GB, free: 152 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/1.013, allocations: 326.6 kB / 0.6127 GB, free: 151.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/1.013, allocations: 70.91 kB / 0.6127 GB, free: 151.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/1.014, allocations: 121.7 kB / 0.6128 GB, free: 151.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/1.014, allocations: 87.48 kB / 0.6129 GB, free: 151.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.014, allocations: 0 / 0.6129 GB, free: 151.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004085/1.014, allocations: 232.4 kB / 0.6132 GB, free: 151.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.014, allocations: 7.844 kB / 0.6132 GB, free: 151.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/1.014, allocations: 4 kB / 0.6132 GB, free: 151.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.014, allocations: 4.219 kB / 0.6132 GB, free: 151.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/1.014, allocations: 57.86 kB / 0.6132 GB, free: 151.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/1.014, allocations: 6.578 kB / 0.6132 GB, free: 151.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/1.015, allocations: 25.44 kB / 0.6133 GB, free: 151.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/1.015, allocations: 15.5 kB / 0.6133 GB, free: 151.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/1.015, allocations: 133.7 kB / 0.6134 GB, free: 151.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/1.015, allocations: 11.91 kB / 0.6134 GB, free: 151 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009587/1.016, allocations: 1.142 MB / 0.6145 GB, free: 150.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/1.016, allocations: 17.78 kB / 0.6145 GB, free: 150.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.016, allocations: 0 / 0.6145 GB, free: 150.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.016, allocations: 4 kB / 0.6145 GB, free: 150.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/1.016, allocations: 0.5758 MB / 0.6151 GB, free: 149.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.016, allocations: 0 / 0.6151 GB, free: 149.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/1.016, allocations: 51.42 kB / 0.6152 GB, free: 149.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.016, allocations: 0 / 0.6152 GB, free: 149.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/1.016, allocations: 3 kB / 0.6152 GB, free: 149.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.016, allocations: 8.703 kB / 0.6152 GB, free: 149.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.016, allocations: 0 / 0.6152 GB, free: 149.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007576/1.017, allocations: 0.8707 MB / 0.616 GB, free: 149.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/1.017, allocations: 134 kB / 0.6161 GB, free: 149 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/1.017, allocations: 7.859 kB / 0.6162 GB, free: 148.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/1.018, allocations: 20.86 kB / 0.6162 GB, free: 148.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/1.018, allocations: 27.8 kB / 0.6162 GB, free: 148.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/1.018, allocations: 4 kB / 0.6162 GB, free: 148.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.791e-05/1.018, allocations: 111 kB / 0.6163 GB, free: 148.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/1.018, allocations: 0 / 0.6163 GB, free: 148.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0065/1.024, allocations: 1.43 MB / 0.6177 GB, free: 147.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009742/1.034, allocations: 1.686 MB / 0.6194 GB, free: 146.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007018/1.035, allocations: 327.8 kB / 0.6197 GB, free: 145.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.035, allocations: 0 / 0.6197 GB, free: 145.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003565/1.035, allocations: 294.7 kB / 0.6199 GB, free: 145.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/1.036, allocations: 42.3 kB / 0.62 GB, free: 145.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008574/1.037, allocations: 0.937 MB / 0.6209 GB, free: 144.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/1.037, allocations: 0.7906 MB / 0.6217 GB, free: 144.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/1.037, allocations: 22.69 kB / 0.6217 GB, free: 144.1 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/1.037, allocations: 0 / 0.6217 GB, free: 144.1 MB / 462.1 MB Notification: Performance of Templates: time 0.03955/1.076, allocations: 27.86 MB / 0.6489 GB, free: 116.3 MB / 462.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.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 OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_WaterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_WaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_WaterCalcHelperMain.o] Error 1