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.00592/0.00592, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001193/0.001193, allocations: 190.8 kB / 16.78 MB, free: 5.809 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.493/1.493, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04437/0.04437, allocations: 9.089 MB / 279.1 MB, free: 12.44 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.001312/0.001312, allocations: 67.91 kB / 338 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1154, allocations: 48.17 MB / 386.2 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water): time 0.01769/0.1332, allocations: 13.96 MB / 400.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02204/0.1553, allocations: 19.24 MB / 419.4 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.1556, allocations: 0 / 419.4 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1561, allocations: 55.72 kB / 419.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.1564, allocations: 59.53 kB / 419.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01968/0.1761, allocations: 5.295 MB / 424.8 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.1763, allocations: 159 kB / 424.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.1764, allocations: 17.11 kB / 424.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1765, allocations: 63.78 kB / 425 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.1766, allocations: 55.72 kB / 425.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1767, allocations: 4 kB / 425.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2424/0.4191, allocations: 10.7 MB / 435.8 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.4192, allocations: 22.42 kB / 435.8 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.4194, allocations: 61.55 kB / 435.8 MB, free: 16.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.4316, allocations: 4.09 MB / 439.9 MB, free: 16.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.4317, allocations: 3.219 kB / 439.9 MB, free: 16.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4317, allocations: 0 / 439.9 MB, free: 16.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.4317, allocations: 0 / 439.9 MB, free: 16.33 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.006516/0.4382, allocations: 1.346 MB / 441.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4383, allocations: 13.03 kB / 441.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.4383, allocations: 19.66 kB / 441.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.4385, allocations: 184.1 kB / 441.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4385, allocations: 7.344 kB / 441.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.4385, allocations: 12.89 kB / 441.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/0.4394, allocations: 321.5 kB / 441.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4394, allocations: 3 kB / 441.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.4395, allocations: 6.969 kB / 441.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4395, allocations: 3.094 kB / 441.8 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009054/0.4404, allocations: 310.7 kB / 442.1 MB, free: 15.27 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.0008041/0.4412, allocations: 1.05 MB / 443.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/0.442, allocations: 296.3 kB / 443.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.4422, allocations: 79.97 kB / 443.6 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6579/1.1, allocations: 183.1 MB / 0.612 GB, free: 147.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.656e-05/1.1, allocations: 37.56 kB / 0.612 GB, free: 147.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 3.206e-06/1.1, allocations: 0 / 0.612 GB, free: 147.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001879/1.102, allocations: 488 kB / 0.6125 GB, free: 146.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/1.102, allocations: 110.6 kB / 0.6126 GB, free: 146.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/1.102, allocations: 155.1 kB / 0.6127 GB, free: 146.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/1.102, allocations: 27.39 kB / 0.6128 GB, free: 146.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/1.102, allocations: 120.4 kB / 0.6129 GB, free: 146.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/1.103, allocations: 35.38 kB / 0.6129 GB, free: 146.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/1.103, allocations: 43.95 kB / 0.613 GB, free: 146.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/1.103, allocations: 321.6 kB / 0.6133 GB, free: 145.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/1.103, allocations: 52.64 kB / 0.6133 GB, free: 145.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/1.103, allocations: 114.3 kB / 0.6134 GB, free: 145.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/1.103, allocations: 181.2 kB / 0.6136 GB, free: 145.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/1.103, allocations: 0 / 0.6136 GB, free: 145.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004458/1.104, allocations: 214.5 kB / 0.6138 GB, free: 145.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.104, allocations: 4 kB / 0.6138 GB, free: 145.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.104, allocations: 4 kB / 0.6138 GB, free: 145.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.104, allocations: 4 kB / 0.6138 GB, free: 145.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/1.104, allocations: 48.28 kB / 0.6139 GB, free: 145.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.104, allocations: 4 kB / 0.6139 GB, free: 145.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/1.104, allocations: 30.67 kB / 0.6139 GB, free: 145.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/1.104, allocations: 7.688 kB / 0.6139 GB, free: 145.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 8.766e-05/1.104, allocations: 125.6 kB / 0.614 GB, free: 145.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/1.104, allocations: 19.7 kB / 0.614 GB, free: 145.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/1.105, allocations: 1.134 MB / 0.6151 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/1.106, allocations: 23.41 kB / 0.6152 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.106, allocations: 4 kB / 0.6152 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.106, allocations: 11.42 kB / 0.6152 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/1.106, allocations: 0.5853 MB / 0.6158 GB, free: 144 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.106, allocations: 0 / 0.6158 GB, free: 144 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/1.106, allocations: 31.97 kB / 0.6158 GB, free: 144 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.106, allocations: 2.906 kB / 0.6158 GB, free: 144 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/1.106, allocations: 7.438 kB / 0.6158 GB, free: 144 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.106, allocations: 3.984 kB / 0.6158 GB, free: 144 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.106, allocations: 0 / 0.6158 GB, free: 144 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/1.107, allocations: 0.8483 MB / 0.6166 GB, free: 143.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/1.107, allocations: 135.7 kB / 0.6168 GB, free: 143.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/1.107, allocations: 0 / 0.6168 GB, free: 143.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/1.107, allocations: 29.44 kB / 0.6168 GB, free: 143.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/1.107, allocations: 15.3 kB / 0.6168 GB, free: 143.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/1.107, allocations: 8 kB / 0.6168 GB, free: 143.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.147e-05/1.108, allocations: 106.9 kB / 0.6169 GB, free: 143 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.108, allocations: 0 / 0.6169 GB, free: 143 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006024/1.114, allocations: 1.437 MB / 0.6183 GB, free: 141.8 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.01016/1.124, allocations: 1.702 MB / 0.62 GB, free: 140.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000779/1.125, allocations: 302.3 kB / 0.6203 GB, free: 140.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.125, allocations: 448 / 0.6203 GB, free: 140.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/1.125, allocations: 282 kB / 0.6205 GB, free: 140 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006363/1.126, allocations: 38.34 kB / 0.6206 GB, free: 140 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/1.127, allocations: 0.921 MB / 0.6215 GB, free: 139.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/1.127, allocations: 0.7884 MB / 0.6222 GB, free: 138.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/1.127, allocations: 24.31 kB / 0.6223 GB, free: 138.3 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/1.127, allocations: 0 / 0.6223 GB, free: 138.3 MB / 462.1 MB Notification: Performance of Templates: time 0.04023/1.167, allocations: 27.89 MB / 0.6495 GB, free: 110.6 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