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.0008047/0.0008045, allocations: 102.5 kB / 15.71 MB, free: 440 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.0008341/0.0008338, allocations: 176.2 kB / 16.58 MB, free: 6.879 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.527/1.527, allocations: 205.4 MB / 222.8 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04105/0.04105, allocations: 9.056 MB / 280.1 MB, free: 12.51 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.0004649/0.000465, allocations: 12.22 kB / 339.8 MB, free: 26.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 49.19 MB / 389 MB, free: 8.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.017/0.1249, allocations: 15.61 MB / 404.6 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.1306, allocations: 5.472 MB / 410 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.1307, allocations: 0 / 410 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.1313, allocations: 223 kB / 410.2 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.1314, allocations: 27.84 kB / 410.3 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009344/0.1407, allocations: 3.352 MB / 413.6 MB, free: 56 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.1408, allocations: 43.75 kB / 413.7 MB, free: 12 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.1409, allocations: 0 / 413.7 MB, free: 12 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.981e-05/0.141, allocations: 31.84 kB / 413.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.141, allocations: 8 kB / 413.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.141, allocations: 0 / 413.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.1513, allocations: 5.71 MB / 419.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.1513, allocations: 4 kB / 419.4 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.1514, allocations: 29.7 kB / 419.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00403/0.1554, allocations: 1.54 MB / 421 MB, free: 8.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1555, allocations: 0 / 421 MB, free: 8.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1555, allocations: 0 / 421 MB, free: 8.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1555, allocations: 4 kB / 421 MB, free: 8.664 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.001353/0.1569, allocations: 0.6045 MB / 421.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1569, allocations: 8.031 kB / 421.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.1569, allocations: 7.938 kB / 421.6 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.1571, allocations: 163 kB / 421.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1572, allocations: 0 / 421.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.1572, allocations: 0 / 421.8 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.1573, allocations: 45.62 kB / 421.8 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.1573, allocations: 0 / 421.8 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1574, allocations: 4 kB / 421.8 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1574, allocations: 7.953 kB / 421.8 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.626e-05/0.1574, allocations: 12 kB / 421.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1576, allocations: 161.6 kB / 422 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.678e-05/0.1577, allocations: 34.56 kB / 422 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.1578, allocations: 20.89 kB / 422.1 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.228/0.3858, allocations: 9.756 MB / 431.8 MB, free: 42.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.3858, allocations: 33.98 kB / 431.8 MB, free: 42.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.3858, allocations: 0 / 431.8 MB, free: 42.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002168/0.3861, allocations: 79.27 kB / 431.9 MB, free: 42.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.3861, allocations: 52.53 kB / 432 MB, free: 42.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.57e-05/0.3862, allocations: 96.09 kB / 432.1 MB, free: 42.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.3862, allocations: 25.7 kB / 432.1 MB, free: 42.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.3862, allocations: 84.5 kB / 432.2 MB, free: 42.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.3863, allocations: 19.7 kB / 432.2 MB, free: 42.42 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.3863, allocations: 0 / 432.2 MB, free: 42.42 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.71e-05/0.3863, allocations: 319.8 kB / 432.5 MB, free: 42.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.3864, allocations: 9.656 kB / 432.5 MB, free: 42.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.3864, allocations: 15.73 kB / 432.5 MB, free: 42.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.3864, allocations: 16.55 kB / 432.5 MB, free: 42.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3864, allocations: 0 / 432.5 MB, free: 42.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.399e-05/0.3865, allocations: 58.33 kB / 432.6 MB, free: 42.08 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3865, allocations: 7.375 kB / 432.6 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3866, allocations: 2.469 kB / 432.6 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3866, allocations: 0.5625 kB / 432.6 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.3866, allocations: 5.688 kB / 432.6 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3866, allocations: 1.688 kB / 432.6 MB, free: 42.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.3866, allocations: 11.72 kB / 432.6 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-06/0.3866, allocations: 1.406 kB / 432.6 MB, free: 42.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.3867, allocations: 111.6 kB / 432.7 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.3867, allocations: 5.969 kB / 432.7 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.3869, allocations: 174.2 kB / 432.9 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/0.3869, allocations: 183 kB / 433.1 MB, free: 41.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-05/0.3869, allocations: 178.9 kB / 433.3 MB, free: 41.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/0.387, allocations: 187.6 kB / 433.5 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.3871, allocations: 414.5 kB / 433.9 MB, free: 40.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/0.3872, allocations: 106.7 kB / 434 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.3872, allocations: 103.1 kB / 434.1 MB, free: 40.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.275e-05/0.3872, allocations: 177.8 kB / 434.2 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.3873, allocations: 183 kB / 434.4 MB, free: 40.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-05/0.3873, allocations: 189.1 kB / 434.6 MB, free: 40.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.064e-05/0.3873, allocations: 181.8 kB / 434.8 MB, free: 39.87 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.845e-05/0.3874, allocations: 313.2 kB / 435.1 MB, free: 39.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.3875, allocations: 192.3 kB / 435.3 MB, free: 39.35 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.3875, allocations: 182.9 kB / 435.5 MB, free: 39.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.839e-05/0.3876, allocations: 108.1 kB / 435.6 MB, free: 39.06 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.3876, allocations: 180.8 kB / 435.7 MB, free: 38.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3877, allocations: 102.5 kB / 435.8 MB, free: 38.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.392e-05/0.3877, allocations: 103.9 kB / 435.9 MB, free: 38.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3877, allocations: 0 / 435.9 MB, free: 38.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001812/0.3895, allocations: 0.5946 MB / 436.5 MB, free: 38.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002467/0.392, allocations: 1.038 MB / 437.6 MB, free: 38.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.789e-05/0.3921, allocations: 16.66 kB / 437.6 MB, free: 38.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3921, allocations: 1 kB / 437.6 MB, free: 38.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.3921, allocations: 3.938 kB / 437.6 MB, free: 38.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3925, allocations: 0.5281 MB / 438.1 MB, free: 37.9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.3928, allocations: 247.1 kB / 438.4 MB, free: 37.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.3929, allocations: 0.6757 MB / 439 MB, free: 36.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.036e-05/0.3929, allocations: 10.59 kB / 439 MB, free: 36.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3929, allocations: 0 / 439 MB, free: 36.98 MB / 318.1 MB Notification: Performance of Templates: time 0.02475/0.4177, allocations: 12.94 MB / 452 MB, free: 31.79 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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