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.0009911/0.0009914, allocations: 91.61 kB / 16.02 MB, free: 80 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.001363/0.001363, allocations: 177 kB / 16.92 MB, free: 6.652 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.821/1.821, allocations: 205.4 MB / 223.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04506/0.04506, allocations: 9.076 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.0005351/0.0005351, allocations: 12.22 kB / 340.4 MB, free: 25.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 49.19 MB / 389.6 MB, free: 8.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02069/0.1302, allocations: 17.61 MB / 407.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3121/0.4423, allocations: 32.33 MB / 439.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.4428, allocations: 2.094 kB / 439.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.4445, allocations: 366.8 kB / 439.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.4452, allocations: 123.6 kB / 440 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03338/0.4786, allocations: 8.145 MB / 448.1 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008017/0.4794, allocations: 417.6 kB / 448.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.713e-05/0.4795, allocations: 21.34 kB / 448.6 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.4799, allocations: 150.6 kB / 448.7 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.4801, allocations: 118.4 kB / 448.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.4802, allocations: 7.594 kB / 448.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02521/0.5054, allocations: 10.52 MB / 459.4 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.5056, allocations: 37.55 kB / 459.4 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.5059, allocations: 129.8 kB / 459.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008036/0.514, allocations: 2.815 MB / 462.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.514, allocations: 3.938 kB / 462.3 MB, free: 6.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.514, allocations: 0 / 462.3 MB, free: 6.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.514, allocations: 0 / 462.3 MB, free: 6.012 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.003188/0.5172, allocations: 1.115 MB / 463.5 MB, free: 5.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5173, allocations: 10.7 kB / 463.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002465/0.5176, allocations: 30.44 kB / 463.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.5178, allocations: 231 kB / 463.7 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.5178, allocations: 15.31 kB / 463.7 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5179, allocations: 8.406 kB / 463.7 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.5185, allocations: 272.7 kB / 464 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5185, allocations: 3.438 kB / 464 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.5185, allocations: 2.562 kB / 464 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.5185, allocations: 3.281 kB / 464 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006451/0.5192, allocations: 255.7 kB / 464.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.5201, allocations: 1.085 MB / 465.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.5206, allocations: 262.9 kB / 465.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.5209, allocations: 167.1 kB / 465.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07934/0.6003, allocations: 45.2 MB / 0.499 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.6004, allocations: 45.19 kB / 0.499 GB, free: 15.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.116e-06/0.6004, allocations: 0 / 0.499 GB, free: 15.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001713/0.6021, allocations: 0.4991 MB / 0.4995 GB, free: 14.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.6022, allocations: 136.5 kB / 0.4997 GB, free: 14.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.6024, allocations: 175.9 kB / 0.4998 GB, free: 14.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.6025, allocations: 25.77 kB / 0.4999 GB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/0.6026, allocations: 130 kB / 0.5 GB, free: 14.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.6026, allocations: 90.42 kB / 0.5001 GB, free: 13.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.6027, allocations: 29.7 kB / 0.5001 GB, free: 13.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6029, allocations: 334.8 kB / 0.5004 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.6031, allocations: 119.9 kB / 0.5005 GB, free: 13.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.6035, allocations: 181.8 kB / 0.5007 GB, free: 13.28 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.6041, allocations: 310.6 kB / 0.501 GB, free: 12.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.6041, allocations: 0 / 0.501 GB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007039/0.6048, allocations: 355.5 kB / 0.5013 GB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.6049, allocations: 4 kB / 0.5013 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.6049, allocations: 4 kB / 0.5013 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.6049, allocations: 0 / 0.5013 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.6052, allocations: 60.08 kB / 0.5014 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.6052, allocations: 7.938 kB / 0.5014 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.6054, allocations: 37 kB / 0.5014 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.6055, allocations: 15.92 kB / 0.5015 GB, free: 12.48 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.0001394/0.6056, allocations: 133.5 kB / 0.5016 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.6057, allocations: 19.81 kB / 0.5016 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006756/0.6064, allocations: 392.2 kB / 0.502 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.6064, allocations: 4 kB / 0.502 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6064, allocations: 0 / 0.502 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6065, allocations: 4 kB / 0.502 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.6069, allocations: 321.6 kB / 0.5023 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.607, allocations: 4 kB / 0.5023 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.6072, allocations: 43.95 kB / 0.5023 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6072, allocations: 0 / 0.5023 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.6072, allocations: 11.98 kB / 0.5024 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6072, allocations: 0 / 0.5024 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6072, allocations: 4 kB / 0.5024 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.608, allocations: 0.6752 MB / 0.503 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.6081, allocations: 102.7 kB / 0.5031 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.6081, allocations: 11.3 kB / 0.5031 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.6085, allocations: 31.92 kB / 0.5032 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.6085, allocations: 19.91 kB / 0.5032 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.6086, allocations: 15.98 kB / 0.5032 GB, free: 10.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.6e-05/0.6087, allocations: 120.1 kB / 0.5033 GB, free: 10.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6087, allocations: 0 / 0.5033 GB, free: 10.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003654/0.6123, allocations: 0.7925 MB / 0.5041 GB, free: 9.719 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.004677/0.617, allocations: 1.184 MB / 0.5052 GB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008592/0.6179, allocations: 314.5 kB / 0.5055 GB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6179, allocations: 0 / 0.5055 GB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.6183, allocations: 180.1 kB / 0.5057 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.6192, allocations: 96.41 kB / 0.5058 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009456/0.6202, allocations: 0.6074 MB / 0.5064 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.6205, allocations: 0.7428 MB / 0.5071 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.045e-05/0.6206, allocations: 27.42 kB / 0.5071 GB, free: 6.625 MB / 382.1 MB Notification: Performance of SimCode: time 2.464e-06/0.6206, allocations: 0 / 0.5071 GB, free: 6.625 MB / 382.1 MB Notification: Performance of Templates: time 0.03321/0.6538, allocations: 16.39 MB / 0.5231 GB, free: 6.207 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