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.006677/0.006677, allocations: 100.4 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.001373/0.001374, allocations: 189.3 kB / 16.79 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.533/1.533, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04664/0.04664, allocations: 9.075 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.001267/0.001267, allocations: 67.89 kB / 338 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1074, allocations: 48.17 MB / 386.2 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01791/0.1254, allocations: 17.07 MB / 403.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009256/0.1347, allocations: 10.03 MB / 413.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.1348, allocations: 0 / 413.3 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.1355, allocations: 239.7 kB / 413.5 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.032e-05/0.1356, allocations: 19.84 kB / 413.5 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.1476, allocations: 4.253 MB / 417.8 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.1477, allocations: 43.73 kB / 417.8 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.958e-05/0.1478, allocations: 4 kB / 417.8 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1479, allocations: 27.81 kB / 417.8 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.543e-05/0.148, allocations: 11.98 kB / 417.9 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.148, allocations: 0 / 417.9 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0126/0.1606, allocations: 7.152 MB / 425 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.853e-05/0.1606, allocations: 3.938 kB / 425 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.1607, allocations: 11.94 kB / 425 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004293/0.165, allocations: 1.848 MB / 426.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.165, allocations: 0 / 426.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.165, allocations: 0 / 426.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1651, allocations: 0 / 426.9 MB, free: 0.832 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002071/0.1671, allocations: 0.6903 MB / 427.6 MB, free: 96 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.1672, allocations: 8.031 kB / 427.6 MB, free: 88 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.1673, allocations: 7.906 kB / 427.6 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2246/0.3919, allocations: 169.1 kB / 427.7 MB, free: 47.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.392, allocations: 0 / 427.7 MB, free: 47.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.392, allocations: 0 / 427.7 MB, free: 47.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3921, allocations: 37.98 kB / 427.8 MB, free: 47.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3922, allocations: 0.9375 kB / 427.8 MB, free: 47.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3922, allocations: 4.219 kB / 427.8 MB, free: 47.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3922, allocations: 5.453 kB / 427.8 MB, free: 47.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.803e-05/0.3922, allocations: 18.84 kB / 427.8 MB, free: 47.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.3924, allocations: 158.3 kB / 428 MB, free: 47.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.3925, allocations: 30.86 kB / 428 MB, free: 47.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.3925, allocations: 20.62 kB / 428 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02612/0.4186, allocations: 14 MB / 442 MB, free: 35.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.4187, allocations: 32.22 kB / 442 MB, free: 35.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 4.338e-06/0.4187, allocations: 2.109 kB / 442.1 MB, free: 35.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002409/0.419, allocations: 87.88 kB / 442.1 MB, free: 35.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.419, allocations: 51.41 kB / 442.2 MB, free: 35.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.4191, allocations: 96.11 kB / 442.3 MB, free: 34.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.4191, allocations: 26.95 kB / 442.3 MB, free: 34.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.709e-05/0.4191, allocations: 80.14 kB / 442.4 MB, free: 34.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.4192, allocations: 29.52 kB / 442.4 MB, free: 34.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.4192, allocations: 17.78 kB / 442.4 MB, free: 34.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.4193, allocations: 320.2 kB / 442.7 MB, free: 34.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.4193, allocations: 9.312 kB / 442.8 MB, free: 34.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.4193, allocations: 10.25 kB / 442.8 MB, free: 34.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.4194, allocations: 36.41 kB / 442.8 MB, free: 34.42 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4194, allocations: 2.406 kB / 442.8 MB, free: 34.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.537e-05/0.4195, allocations: 58.12 kB / 442.9 MB, free: 34.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4195, allocations: 5.312 kB / 442.9 MB, free: 34.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.4195, allocations: 5.266 kB / 442.9 MB, free: 34.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.4195, allocations: 0.7031 kB / 442.9 MB, free: 34.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.4195, allocations: 1.406 kB / 442.9 MB, free: 34.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4196, allocations: 1.781 kB / 442.9 MB, free: 34.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.4196, allocations: 10.28 kB / 442.9 MB, free: 34.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.4196, allocations: 0.75 kB / 442.9 MB, free: 34.37 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 5.853e-05/0.4197, allocations: 116.1 kB / 443 MB, free: 34.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.4197, allocations: 1.906 kB / 443 MB, free: 34.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.4198, allocations: 175.2 kB / 443.2 MB, free: 34.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.494e-05/0.4199, allocations: 183.6 kB / 443.3 MB, free: 33.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-05/0.4199, allocations: 179.7 kB / 443.5 MB, free: 33.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.4199, allocations: 178.7 kB / 443.7 MB, free: 33.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.4201, allocations: 410.5 kB / 444.1 MB, free: 33.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.4201, allocations: 103.3 kB / 444.2 MB, free: 32.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.4201, allocations: 108.8 kB / 444.3 MB, free: 32.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.697e-05/0.4202, allocations: 179.9 kB / 444.5 MB, free: 32.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.4202, allocations: 186 kB / 444.7 MB, free: 32.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.651e-05/0.4202, allocations: 184.6 kB / 444.8 MB, free: 32.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.568e-05/0.4203, allocations: 177 kB / 445 MB, free: 32.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.37e-05/0.4204, allocations: 312.3 kB / 445.3 MB, free: 31.81 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.4204, allocations: 181.7 kB / 445.5 MB, free: 31.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.4204, allocations: 191.9 kB / 445.7 MB, free: 31.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.4205, allocations: 107.7 kB / 445.8 MB, free: 31.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.4206, allocations: 185.4 kB / 446 MB, free: 31.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.4206, allocations: 102.1 kB / 446.1 MB, free: 31.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.4206, allocations: 103.9 kB / 446.2 MB, free: 30.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4207, allocations: 0.9062 kB / 446.2 MB, free: 30.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002268/0.4229, allocations: 0.7397 MB / 446.9 MB, free: 30.9 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.003509/0.4264, allocations: 1.277 MB / 448.2 MB, free: 30.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.4266, allocations: 20.05 kB / 448.2 MB, free: 30.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4266, allocations: 0.6875 kB / 448.2 MB, free: 30.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.4266, allocations: 4.812 kB / 448.2 MB, free: 30.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.4271, allocations: 0.5427 MB / 448.8 MB, free: 30 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.4274, allocations: 234.4 kB / 449 MB, free: 29.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.4275, allocations: 0.6805 MB / 449.7 MB, free: 29.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.4275, allocations: 11.06 kB / 449.7 MB, free: 29.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4275, allocations: 0 / 449.7 MB, free: 29.07 MB / 318.1 MB Notification: Performance of Templates: time 0.02617/0.4537, allocations: 15.11 MB / 464.8 MB, free: 18.36 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