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.0009231/0.0009233, allocations: 99.58 kB / 16.02 MB, free: 76 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.001229/0.00123, allocations: 181.9 kB / 16.92 MB, free: 6.918 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.803/1.803, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04626/0.04626, allocations: 9.071 MB / 280.5 MB, free: 12.38 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.0005739/0.0005739, allocations: 12.22 kB / 340.4 MB, free: 25.66 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1253, allocations: 49.19 MB / 389.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01718/0.1425, allocations: 13.48 MB / 403.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0225/0.1651, allocations: 18.91 MB / 422 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.1654, allocations: 8 kB / 422 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.1657, allocations: 47.77 kB / 422 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1659, allocations: 59.52 kB / 422.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02081/0.1867, allocations: 5.293 MB / 427.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.1871, allocations: 166.9 kB / 427.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.655e-05/0.1872, allocations: 13.12 kB / 427.5 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.1874, allocations: 59.78 kB / 427.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.1876, allocations: 63.66 kB / 427.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.1876, allocations: 4 kB / 427.7 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2957/0.4833, allocations: 10.71 MB / 438.4 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.4835, allocations: 16.45 kB / 438.4 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.4836, allocations: 87.23 kB / 438.5 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.4962, allocations: 4.052 MB / 442.5 MB, free: 16.17 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4962, allocations: 0 / 442.5 MB, free: 16.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4962, allocations: 4.844 kB / 442.5 MB, free: 16.17 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4962, allocations: 0 / 442.5 MB, free: 16.17 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.007895/0.5041, allocations: 1.329 MB / 443.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.5042, allocations: 12.12 kB / 443.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.5042, allocations: 14.28 kB / 443.9 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.5044, allocations: 186.4 kB / 444.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.5044, allocations: 10.41 kB / 444.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.5044, allocations: 6.312 kB / 444.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/0.5053, allocations: 339.9 kB / 444.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.5053, allocations: 6.531 kB / 444.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.5054, allocations: 5.469 kB / 444.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.5054, allocations: 1.75 kB / 444.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009868/0.5064, allocations: 342.3 kB / 444.8 MB, free: 14.95 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.0008217/0.5072, allocations: 1.049 MB / 445.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008251/0.508, allocations: 305.4 kB / 446.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.5083, allocations: 99.8 kB / 446.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7116/1.22, allocations: 184.8 MB / 0.6163 GB, free: 162.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/1.22, allocations: 41.06 kB / 0.6163 GB, free: 162.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 3.006e-06/1.22, allocations: 4 kB / 0.6163 GB, free: 162.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001881/1.222, allocations: 0.5224 MB / 0.6168 GB, free: 162 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/1.222, allocations: 102.8 kB / 0.6169 GB, free: 161.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/1.222, allocations: 156 kB / 0.6171 GB, free: 161.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/1.222, allocations: 29.27 kB / 0.6171 GB, free: 161.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/1.222, allocations: 106 kB / 0.6172 GB, free: 161.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/1.222, allocations: 46.62 kB / 0.6172 GB, free: 161.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/1.222, allocations: 24.77 kB / 0.6173 GB, free: 161.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/1.222, allocations: 322.1 kB / 0.6176 GB, free: 161.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/1.223, allocations: 71.88 kB / 0.6176 GB, free: 161.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/1.223, allocations: 118.8 kB / 0.6178 GB, free: 161 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/1.223, allocations: 207.1 kB / 0.618 GB, free: 160.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.223, allocations: 6.953 kB / 0.618 GB, free: 160.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004876/1.224, allocations: 225.6 kB / 0.6182 GB, free: 160.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/1.224, allocations: 8 kB / 0.6182 GB, free: 160.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.224, allocations: 3.75 kB / 0.6182 GB, free: 160.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.224, allocations: 4 kB / 0.6182 GB, free: 160.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/1.224, allocations: 64.11 kB / 0.6183 GB, free: 160.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.224, allocations: 4 kB / 0.6183 GB, free: 160.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/1.224, allocations: 29.86 kB / 0.6183 GB, free: 160.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/1.224, allocations: 11.98 kB / 0.6183 GB, free: 160.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/1.224, allocations: 121.8 kB / 0.6184 GB, free: 160.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/1.224, allocations: 18.06 kB / 0.6184 GB, free: 160.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/1.225, allocations: 1.146 MB / 0.6195 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/1.225, allocations: 15.97 kB / 0.6196 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.225, allocations: 0 / 0.6196 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.225, allocations: 5.5 kB / 0.6196 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005018/1.226, allocations: 0.5826 MB / 0.6201 GB, free: 158.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.226, allocations: 0 / 0.6201 GB, free: 158.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/1.226, allocations: 47.91 kB / 0.6202 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.226, allocations: 0 / 0.6202 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/1.226, allocations: 7.312 kB / 0.6202 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.226, allocations: 4 kB / 0.6202 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.226, allocations: 0 / 0.6202 GB, free: 158.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/1.227, allocations: 0.8784 MB / 0.6211 GB, free: 157.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/1.227, allocations: 136.4 kB / 0.6212 GB, free: 157.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/1.227, allocations: 8 kB / 0.6212 GB, free: 157.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/1.227, allocations: 19.98 kB / 0.6212 GB, free: 157.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/1.227, allocations: 23.91 kB / 0.6212 GB, free: 157.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/1.227, allocations: 11.94 kB / 0.6212 GB, free: 157.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.139e-05/1.227, allocations: 107.2 kB / 0.6213 GB, free: 157.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.227, allocations: 0 / 0.6213 GB, free: 157.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006894/1.234, allocations: 1.439 MB / 0.6228 GB, free: 155.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008967/1.243, allocations: 1.681 MB / 0.6244 GB, free: 154.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007324/1.244, allocations: 335.1 kB / 0.6247 GB, free: 154.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.244, allocations: 0 / 0.6247 GB, free: 154.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/1.244, allocations: 285.7 kB / 0.625 GB, free: 153.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006541/1.245, allocations: 48.14 kB / 0.625 GB, free: 153.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/1.246, allocations: 0.9495 MB / 0.626 GB, free: 152.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/1.246, allocations: 0.7961 MB / 0.6267 GB, free: 152.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/1.247, allocations: 19.44 kB / 0.6268 GB, free: 152 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/1.247, allocations: 0 / 0.6268 GB, free: 152 MB / 462.1 MB Notification: Performance of Templates: time 0.04621/1.293, allocations: 27.86 MB / 0.654 GB, free: 124.2 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++ -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 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