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.0008842/0.0008838, allocations: 97.78 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.001442/0.001443, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.807/1.807, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0455/0.0455, allocations: 9.075 MB / 280.5 MB, free: 12.15 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.0005627/0.0005628, allocations: 16.22 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1258, allocations: 49.2 MB / 389.6 MB, free: 8.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01923/0.1451, allocations: 16.64 MB / 406.2 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006445/0.1516, allocations: 5.928 MB / 412.2 MB, free: 1.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.1517, allocations: 4 kB / 412.2 MB, free: 1.738 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007888/0.1525, allocations: 244.1 kB / 412.4 MB, free: 1.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.134e-05/0.1526, allocations: 23.84 kB / 412.4 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01115/0.1637, allocations: 3.499 MB / 415.9 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1638, allocations: 51.73 kB / 416 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.1639, allocations: 7.938 kB / 416 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.164, allocations: 27.8 kB / 416 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.1641, allocations: 11.94 kB / 416 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.777e-06/0.1641, allocations: 0 / 416 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.012/0.1761, allocations: 6.311 MB / 422.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.1762, allocations: 3.984 kB / 422.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.1763, allocations: 37.64 kB / 422.4 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.1806, allocations: 1.532 MB / 423.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.1807, allocations: 0 / 423.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.584e-06/0.1807, allocations: 4 kB / 423.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1807, allocations: 0 / 423.9 MB, free: 5.969 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.002113/0.1828, allocations: 0.6006 MB / 424.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1829, allocations: 8.031 kB / 424.5 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.1829, allocations: 7.938 kB / 424.5 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1831, allocations: 174.8 kB / 424.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1832, allocations: 4 kB / 424.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1832, allocations: 0 / 424.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1834, allocations: 41.69 kB / 424.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1834, allocations: 0 / 424.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1834, allocations: 3.938 kB / 424.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1834, allocations: 0 / 424.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.1835, allocations: 12 kB / 424.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.1838, allocations: 165.7 kB / 424.9 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.19e-05/0.1838, allocations: 38.5 kB / 424.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.401e-05/0.1839, allocations: 20.89 kB / 425 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2542/0.4381, allocations: 9.751 MB / 434.7 MB, free: 41.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.4382, allocations: 36.22 kB / 434.8 MB, free: 41.07 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 3.035e-06/0.4382, allocations: 0 / 434.8 MB, free: 41.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002696/0.4385, allocations: 72.8 kB / 434.8 MB, free: 41.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.4385, allocations: 51.97 kB / 434.9 MB, free: 40.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.4386, allocations: 103.5 kB / 435 MB, free: 40.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.4386, allocations: 25.7 kB / 435 MB, free: 40.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.365e-05/0.4386, allocations: 81.89 kB / 435.1 MB, free: 40.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.4387, allocations: 21.27 kB / 435.1 MB, free: 40.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.4387, allocations: 12.91 kB / 435.1 MB, free: 40.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.4388, allocations: 319.5 kB / 435.4 MB, free: 40.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.4388, allocations: 11.45 kB / 435.4 MB, free: 40.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/0.4389, allocations: 11.78 kB / 435.4 MB, free: 40.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.4389, allocations: 35.53 kB / 435.5 MB, free: 40.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4389, allocations: 3.75 kB / 435.5 MB, free: 40.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.476e-05/0.439, allocations: 66.3 kB / 435.6 MB, free: 40.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.4391, allocations: 7 kB / 435.6 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4391, allocations: 1.75 kB / 435.6 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4391, allocations: 0.5156 kB / 435.6 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-06/0.4391, allocations: 2.438 kB / 435.6 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4391, allocations: 0.5156 kB / 435.6 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.4391, allocations: 1.844 kB / 435.6 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4392, allocations: 3.375 kB / 435.6 MB, free: 40.39 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 7.541e-05/0.4392, allocations: 114.1 kB / 435.7 MB, free: 40.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.4393, allocations: 2.531 kB / 435.7 MB, free: 40.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.4394, allocations: 169.4 kB / 435.8 MB, free: 40.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.771e-05/0.4395, allocations: 180.2 kB / 436 MB, free: 39.92 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-05/0.4395, allocations: 186.8 kB / 436.2 MB, free: 39.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/0.4396, allocations: 181.6 kB / 436.4 MB, free: 39.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.4397, allocations: 418.2 kB / 436.8 MB, free: 39.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/0.4398, allocations: 106.5 kB / 436.9 MB, free: 39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.4398, allocations: 106.1 kB / 437 MB, free: 38.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.201e-05/0.4399, allocations: 185.5 kB / 437.2 MB, free: 38.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.4399, allocations: 181.7 kB / 437.4 MB, free: 38.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.511e-05/0.4399, allocations: 179.2 kB / 437.5 MB, free: 38.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.352e-05/0.44, allocations: 182.9 kB / 437.7 MB, free: 38.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.131e-05/0.4401, allocations: 315.5 kB / 438 MB, free: 37.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.4401, allocations: 188.4 kB / 438.2 MB, free: 37.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.4402, allocations: 184 kB / 438.4 MB, free: 37.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.4403, allocations: 107 kB / 438.5 MB, free: 37.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.4403, allocations: 181.4 kB / 438.7 MB, free: 37.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.4403, allocations: 108 kB / 438.8 MB, free: 37.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.413e-05/0.4404, allocations: 98.61 kB / 438.9 MB, free: 37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4404, allocations: 0 / 438.9 MB, free: 37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002011/0.4424, allocations: 0.5955 MB / 439.5 MB, free: 36.99 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.002763/0.4452, allocations: 1.036 MB / 440.5 MB, free: 36.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.706e-05/0.4453, allocations: 23.78 kB / 440.5 MB, free: 36.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4453, allocations: 0 / 440.5 MB, free: 36.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-06/0.4453, allocations: 1.938 kB / 440.5 MB, free: 36.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.4458, allocations: 0.5552 MB / 441.1 MB, free: 36.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.4462, allocations: 252.7 kB / 441.3 MB, free: 35.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.4464, allocations: 0.677 MB / 442 MB, free: 35.28 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.4464, allocations: 9.938 kB / 442 MB, free: 35.27 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4464, allocations: 1.156 kB / 442 MB, free: 35.27 MB / 318.1 MB Notification: Performance of Templates: time 0.02848/0.4749, allocations: 13.11 MB / 455.1 MB, free: 29.31 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