Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.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.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009631/0.000963, allocations: 98.88 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.0009555/0.0009556, allocations: 182.5 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.858/1.858, allocations: 205.4 MB / 223.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04635/0.04635, allocations: 9.067 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.0005945/0.0005946, allocations: 12.22 kB / 340.4 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1074, allocations: 49.2 MB / 389.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.02089/0.1283, allocations: 16.57 MB / 406.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.1394, allocations: 9.93 MB / 416.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.1395, allocations: 0 / 416.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008595/0.1404, allocations: 243.6 kB / 416.3 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.1404, allocations: 19.84 kB / 416.3 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01406/0.1545, allocations: 4.271 MB / 420.6 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.1546, allocations: 43.73 kB / 420.7 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.1547, allocations: 4 kB / 420.7 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1548, allocations: 19.92 kB / 420.7 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.1549, allocations: 15.88 kB / 420.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.1549, allocations: 0 / 420.7 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01398/0.1689, allocations: 7.152 MB / 427.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.1689, allocations: 7.938 kB / 427.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.264e-05/0.169, allocations: 37.64 kB / 427.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004717/0.1738, allocations: 1.836 MB / 429.7 MB, free: 156 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1738, allocations: 0 / 429.7 MB, free: 156 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1738, allocations: 0 / 429.7 MB, free: 156 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1738, allocations: 0 / 429.7 MB, free: 156 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.254/0.4278, allocations: 0.6844 MB / 430.4 MB, free: 46.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.4279, allocations: 8.25 kB / 430.4 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.428, allocations: 1.375 kB / 430.4 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.4281, allocations: 169.3 kB / 430.6 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.4281, allocations: 1.375 kB / 430.6 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.4281, allocations: 3.781 kB / 430.6 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.4283, allocations: 40.05 kB / 430.6 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4283, allocations: 0 / 430.6 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4283, allocations: 5.312 kB / 430.6 MB, free: 45.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4283, allocations: 0.7969 kB / 430.6 MB, free: 45.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.4283, allocations: 14.94 kB / 430.7 MB, free: 45.99 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.4285, allocations: 165 kB / 430.8 MB, free: 45.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.64e-05/0.4286, allocations: 30.28 kB / 430.8 MB, free: 45.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.4286, allocations: 25.11 kB / 430.9 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02386/0.4525, allocations: 13.69 MB / 444.6 MB, free: 33.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.4526, allocations: 40.64 kB / 444.6 MB, free: 33.6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.494e-06/0.4526, allocations: 0 / 444.6 MB, free: 33.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002847/0.4529, allocations: 74.77 kB / 444.7 MB, free: 33.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.4529, allocations: 52.62 kB / 444.7 MB, free: 33.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.453, allocations: 95.27 kB / 444.8 MB, free: 33.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.453, allocations: 26.86 kB / 444.8 MB, free: 33.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.453, allocations: 87.48 kB / 444.9 MB, free: 33.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.4531, allocations: 23.61 kB / 445 MB, free: 33.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.4531, allocations: 15.77 kB / 445 MB, free: 33.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.4532, allocations: 317.6 kB / 445.3 MB, free: 32.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.4532, allocations: 13.69 kB / 445.3 MB, free: 32.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.4533, allocations: 11.41 kB / 445.3 MB, free: 32.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.792e-05/0.4533, allocations: 32.7 kB / 445.3 MB, free: 32.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4533, allocations: 0 / 445.3 MB, free: 32.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.331e-05/0.4534, allocations: 70.19 kB / 445.4 MB, free: 32.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4534, allocations: 8.172 kB / 445.4 MB, free: 32.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4535, allocations: 0 / 445.4 MB, free: 32.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.4535, allocations: 1.188 kB / 445.4 MB, free: 32.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-06/0.4535, allocations: 3.562 kB / 445.4 MB, free: 32.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4535, allocations: 3.984 kB / 445.4 MB, free: 32.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.4535, allocations: 1.344 kB / 445.4 MB, free: 32.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.4536, allocations: 1.125 kB / 445.4 MB, free: 32.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 6.629e-05/0.4536, allocations: 108.5 kB / 445.5 MB, free: 32.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.4536, allocations: 12.66 kB / 445.5 MB, free: 32.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.4538, allocations: 168.1 kB / 445.7 MB, free: 32.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.252e-05/0.4539, allocations: 181 kB / 445.9 MB, free: 32.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-05/0.4539, allocations: 181.2 kB / 446.1 MB, free: 32.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.352e-05/0.4539, allocations: 184.8 kB / 446.2 MB, free: 32.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.4541, allocations: 404.3 kB / 446.6 MB, free: 31.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.4542, allocations: 114.5 kB / 446.7 MB, free: 31.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.4542, allocations: 107.9 kB / 446.8 MB, free: 31.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.993e-05/0.4542, allocations: 178.3 kB / 447 MB, free: 31.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.4543, allocations: 181.9 kB / 447.2 MB, free: 31.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-05/0.4543, allocations: 179 kB / 447.4 MB, free: 30.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.368e-05/0.4544, allocations: 181.3 kB / 447.6 MB, free: 30.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.423e-05/0.4545, allocations: 308.9 kB / 447.9 MB, free: 30.36 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.4545, allocations: 204.4 kB / 448.1 MB, free: 30.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/0.4546, allocations: 182 kB / 448.2 MB, free: 29.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.4547, allocations: 107 kB / 448.3 MB, free: 29.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.4547, allocations: 185.5 kB / 448.5 MB, free: 29.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.4548, allocations: 107 kB / 448.6 MB, free: 29.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.47e-05/0.4548, allocations: 101.9 kB / 448.7 MB, free: 29.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4548, allocations: 3.938 kB / 448.7 MB, free: 29.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002522/0.4574, allocations: 0.737 MB / 449.5 MB, free: 29.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.00318/0.4606, allocations: 1.257 MB / 450.7 MB, free: 29.06 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.129e-05/0.4607, allocations: 18.98 kB / 450.7 MB, free: 29.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4607, allocations: 3.938 kB / 450.7 MB, free: 29.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.4607, allocations: 0 / 450.7 MB, free: 29.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.4612, allocations: 0.5544 MB / 451.3 MB, free: 28.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.4615, allocations: 244.5 kB / 451.5 MB, free: 28.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.4617, allocations: 0.6792 MB / 452.2 MB, free: 27.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.257e-05/0.4617, allocations: 10.81 kB / 452.2 MB, free: 27.6 MB / 318.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4617, allocations: 0 / 452.2 MB, free: 27.6 MB / 318.1 MB Notification: Performance of Templates: time 0.02617/0.4879, allocations: 15.1 MB / 467.3 MB, free: 17.1 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.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.Parameter.State_ph_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameterCalcHelperMain.o] Error 1