Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007552/0.007552, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001487/0.001487, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.7 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04388/0.04388, allocations: 9.079 MB / 279.1 MB, free: 12.4 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.001277/0.001277, allocations: 63.91 kB / 338 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.1003, allocations: 48.18 MB / 386.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01978/0.1201, allocations: 18.11 MB / 404.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.208/0.3281, allocations: 32.7 MB / 437 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.3283, allocations: 1.75 kB / 437 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.3294, allocations: 373 kB / 437.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.3298, allocations: 122.7 kB / 437.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02267/0.3524, allocations: 8.133 MB / 445.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005326/0.353, allocations: 423.5 kB / 446 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.534e-05/0.3531, allocations: 17.56 kB / 446 MB, free: 9.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.3533, allocations: 157.8 kB / 446.2 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3535, allocations: 117.1 kB / 446.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.3535, allocations: 8.219 kB / 446.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01798/0.3715, allocations: 10.52 MB / 456.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3717, allocations: 39.72 kB / 456.8 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.3719, allocations: 99.38 kB / 456.9 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005861/0.3778, allocations: 2.838 MB / 459.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3778, allocations: 0 / 459.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3778, allocations: 4 kB / 459.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3778, allocations: 0 / 459.8 MB, free: 6.02 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002477/0.3803, allocations: 1.128 MB / 460.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3803, allocations: 8.375 kB / 460.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.3806, allocations: 34.02 kB / 461 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.3808, allocations: 226.6 kB / 461.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3808, allocations: 9.156 kB / 461.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3808, allocations: 11.22 kB / 461.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.3814, allocations: 262.5 kB / 461.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3814, allocations: 0 / 461.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.3814, allocations: 6.281 kB / 461.5 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3814, allocations: 3.312 kB / 461.5 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.382, allocations: 239.2 kB / 461.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/0.3828, allocations: 1.07 MB / 462.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.3832, allocations: 239.6 kB / 463 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.3835, allocations: 153.3 kB / 463.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08137/0.4649, allocations: 46.26 MB / 0.4975 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.465, allocations: 46.5 kB / 0.4975 GB, free: 13.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.524e-06/0.465, allocations: 0 / 0.4975 GB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001461/0.4665, allocations: 468.9 kB / 0.498 GB, free: 13.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.4666, allocations: 136.5 kB / 0.4981 GB, free: 12.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.4667, allocations: 175.9 kB / 0.4983 GB, free: 12.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.4668, allocations: 25.7 kB / 0.4983 GB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.4668, allocations: 132.5 kB / 0.4984 GB, free: 12.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.4669, allocations: 90.95 kB / 0.4985 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.986e-05/0.467, allocations: 37.7 kB / 0.4985 GB, free: 12.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4671, allocations: 334.8 kB / 0.4989 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.4674, allocations: 103.9 kB / 0.4989 GB, free: 11.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.4677, allocations: 171.2 kB / 0.4991 GB, free: 11.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.4682, allocations: 282.6 kB / 0.4994 GB, free: 11.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4682, allocations: 4 kB / 0.4994 GB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006884/0.4689, allocations: 325.9 kB / 0.4997 GB, free: 11.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4689, allocations: 4.188 kB / 0.4997 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4689, allocations: 8 kB / 0.4997 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.469, allocations: 1.828 kB / 0.4997 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.4692, allocations: 47.89 kB / 0.4998 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.4692, allocations: 4 kB / 0.4998 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.4694, allocations: 27.83 kB / 0.4998 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.4695, allocations: 11.98 kB / 0.4998 GB, free: 11.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001275/0.4696, allocations: 141.7 kB / 0.4999 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.4697, allocations: 19.72 kB / 0.5 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006158/0.4703, allocations: 369.8 kB / 0.5003 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4704, allocations: 4 kB / 0.5003 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4704, allocations: 0 / 0.5003 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4704, allocations: 0 / 0.5003 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.4708, allocations: 322.1 kB / 0.5006 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4709, allocations: 0 / 0.5006 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.4711, allocations: 47.89 kB / 0.5007 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4711, allocations: 5.781 kB / 0.5007 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.4711, allocations: 0 / 0.5007 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4711, allocations: 7.984 kB / 0.5007 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4711, allocations: 4 kB / 0.5007 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/0.4719, allocations: 0.6361 MB / 0.5013 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.4719, allocations: 96.86 kB / 0.5014 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.472, allocations: 4 kB / 0.5014 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.4723, allocations: 35.75 kB / 0.5014 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.725e-05/0.4724, allocations: 26.64 kB / 0.5015 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.4724, allocations: 7.984 kB / 0.5015 GB, free: 9.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.4725, allocations: 120.1 kB / 0.5016 GB, free: 9.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4725, allocations: 0 / 0.5016 GB, free: 9.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002863/0.4754, allocations: 0.8042 MB / 0.5024 GB, free: 8.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003128/0.4785, allocations: 1.184 MB / 0.5035 GB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007204/0.4792, allocations: 275.7 kB / 0.5038 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4793, allocations: 0 / 0.5038 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.4796, allocations: 164.3 kB / 0.5039 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008351/0.4804, allocations: 104.2 kB / 0.504 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.4814, allocations: 0.5849 MB / 0.5046 GB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.4817, allocations: 0.7363 MB / 0.5053 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.4818, allocations: 23.42 kB / 0.5054 GB, free: 5.301 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4818, allocations: 0 / 0.5054 GB, free: 5.301 MB / 382.1 MB Notification: Performance of Templates: time 0.02394/0.5058, allocations: 16.44 MB / 0.5214 GB, free: 4.848 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.BaseProps_sweepCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweepCalcHelperMain.o] Error 1