Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 96.14 kB / 15.87 MB, free: 16 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.001201/0.001201, allocations: 195.1 kB / 16.79 MB, free: 6.812 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.541/1.541, allocations: 205.1 MB / 222.6 MB, free: 4.957 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04292/0.04292, allocations: 9.081 MB / 279.1 MB, free: 12.61 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.001266/0.001267, allocations: 64.47 kB / 338 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 48.18 MB / 386.2 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02057/0.1241, allocations: 17.14 MB / 403.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00713/0.1313, allocations: 5.986 MB / 409.3 MB, free: 2.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.1314, allocations: 3.938 kB / 409.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008541/0.1324, allocations: 244.1 kB / 409.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.216e-05/0.1324, allocations: 19.84 kB / 409.5 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.1432, allocations: 3.491 MB / 413 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1433, allocations: 47.73 kB / 413.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.1434, allocations: 11.98 kB / 413.1 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.1435, allocations: 27.69 kB / 413.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.1435, allocations: 11.94 kB / 413.1 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.1435, allocations: 0 / 413.1 MB, free: 14.63 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.1547, allocations: 6.303 MB / 419.4 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.1548, allocations: 0 / 419.4 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.1549, allocations: 11.94 kB / 419.4 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003825/0.1587, allocations: 1.54 MB / 421 MB, free: 6.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1587, allocations: 4 kB / 421 MB, free: 6.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1587, allocations: 0 / 421 MB, free: 6.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1588, allocations: 0 / 421 MB, free: 6.758 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.00119/0.16, allocations: 0.6084 MB / 421.6 MB, free: 6.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.16, allocations: 8.031 kB / 421.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.1601, allocations: 11.78 kB / 421.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1602, allocations: 175 kB / 421.8 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1602, allocations: 0 / 421.8 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.1602, allocations: 3.984 kB / 421.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1604, allocations: 37.64 kB / 421.8 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1604, allocations: 4 kB / 421.8 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1604, allocations: 3.938 kB / 421.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1604, allocations: 0 / 421.8 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.436e-05/0.1604, allocations: 11.98 kB / 421.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.1606, allocations: 161.7 kB / 422 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.89e-05/0.1607, allocations: 34.58 kB / 422 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.1607, allocations: 20.89 kB / 422.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2336/0.3943, allocations: 9.954 MB / 432 MB, free: 42.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3944, allocations: 35.06 kB / 432.1 MB, free: 42.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.3944, allocations: 1.344 kB / 432.1 MB, free: 42.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002373/0.3946, allocations: 81.84 kB / 432.1 MB, free: 42.83 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.3947, allocations: 53.16 kB / 432.2 MB, free: 42.77 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/0.3948, allocations: 94.28 kB / 432.3 MB, free: 42.67 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.3948, allocations: 28.3 kB / 432.3 MB, free: 42.64 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.3948, allocations: 81.88 kB / 432.4 MB, free: 42.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.3949, allocations: 21.55 kB / 432.4 MB, free: 42.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.3949, allocations: 18.39 kB / 432.4 MB, free: 42.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/0.395, allocations: 313.4 kB / 432.7 MB, free: 42.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.395, allocations: 12.7 kB / 432.7 MB, free: 42.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.395, allocations: 16.61 kB / 432.8 MB, free: 42.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.218e-05/0.3951, allocations: 32.83 kB / 432.8 MB, free: 42.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3951, allocations: 1.188 kB / 432.8 MB, free: 42.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.275e-05/0.3952, allocations: 64.17 kB / 432.9 MB, free: 42.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3952, allocations: 4.938 kB / 432.9 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3952, allocations: 2.328 kB / 432.9 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3953, allocations: 3.344 kB / 432.9 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.184e-06/0.3953, allocations: 1.094 kB / 432.9 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3953, allocations: 0 / 432.9 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.3953, allocations: 5.516 kB / 432.9 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3953, allocations: 1.844 kB / 432.9 MB, free: 42.18 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.81e-05/0.3954, allocations: 115.2 kB / 433 MB, free: 42.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.3954, allocations: 4.875 kB / 433 MB, free: 42.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.3956, allocations: 167.5 kB / 433.2 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.252e-05/0.3956, allocations: 182.3 kB / 433.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.495e-05/0.3957, allocations: 176.9 kB / 433.5 MB, free: 41.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.675e-05/0.3957, allocations: 181.5 kB / 433.7 MB, free: 41.35 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3959, allocations: 423.7 kB / 434.1 MB, free: 40.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/0.3959, allocations: 106.7 kB / 434.2 MB, free: 40.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.3959, allocations: 105.9 kB / 434.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.588e-05/0.396, allocations: 178.2 kB / 434.5 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.396, allocations: 182.2 kB / 434.7 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.305e-05/0.396, allocations: 189.5 kB / 434.8 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.897e-05/0.3961, allocations: 177 kB / 435 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.917e-05/0.3961, allocations: 314.1 kB / 435.3 MB, free: 39.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.3962, allocations: 183.8 kB / 435.5 MB, free: 39.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.3962, allocations: 184 kB / 435.7 MB, free: 39.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.3963, allocations: 102.8 kB / 435.8 MB, free: 39.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.3964, allocations: 185.5 kB / 436 MB, free: 38.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.3964, allocations: 102.9 kB / 436.1 MB, free: 38.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.624e-05/0.3964, allocations: 99.7 kB / 436.2 MB, free: 38.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3965, allocations: 0 / 436.2 MB, free: 38.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002315/0.3988, allocations: 0.5968 MB / 436.8 MB, free: 38.79 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.002828/0.4016, allocations: 1.043 MB / 437.8 MB, free: 38.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.4017, allocations: 16.45 kB / 437.8 MB, free: 38.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4017, allocations: 2.594 kB / 437.8 MB, free: 38.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4017, allocations: 0 / 437.8 MB, free: 38.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.4022, allocations: 0.5601 MB / 438.4 MB, free: 38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.4025, allocations: 237.5 kB / 438.6 MB, free: 37.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.4027, allocations: 0.6804 MB / 439.3 MB, free: 37.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.4027, allocations: 10.72 kB / 439.3 MB, free: 37.08 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4027, allocations: 0 / 439.3 MB, free: 37.08 MB / 318.1 MB Notification: Performance of Templates: time 0.02874/0.4314, allocations: 13.12 MB / 452.4 MB, free: 31.07 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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_pd_parameterCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterCalcHelperMain.o] Error 1