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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007696/0.0007696, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007891/0.0007891, allocations: 177.9 kB / 23.21 MB, free: 1.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.846/0.846, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02746/0.02746, allocations: 7.519 MB / 267.5 MB, free: 6.184 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 393 MB, free: 5.887 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.537e-05, allocations: 2.281 kB / 393 MB, free: 5.883 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01157/0.01159, allocations: 15.38 MB / 408.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003608/0.0152, allocations: 5.156 MB / 413.5 MB, free: 1.273 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.01523, allocations: 4 kB / 413.5 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.01563, allocations: 231.8 kB / 413.7 MB, free: 1.043 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.138e-05/0.01566, allocations: 31.81 kB / 413.8 MB, free: 1.012 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005684/0.02134, allocations: 4.293 MB / 418.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.988e-05/0.0214, allocations: 59.67 kB / 418.1 MB, free: 12.65 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.437e-05/0.02143, allocations: 3.984 kB / 418.1 MB, free: 12.65 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.714e-05/0.02149, allocations: 39.78 kB / 418.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.962e-05/0.02151, allocations: 8 kB / 418.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-06/0.02151, allocations: 0 / 418.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/0.02572, allocations: 4.7 MB / 422.9 MB, free: 7.891 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.02573, allocations: 3.938 kB / 422.9 MB, free: 7.887 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.02575, allocations: 11.98 kB / 422.9 MB, free: 7.875 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.02883, allocations: 2.72 MB / 425.6 MB, free: 5.148 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.02883, allocations: 0 / 425.6 MB, free: 5.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02883, allocations: 4 kB / 425.6 MB, free: 5.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.02884, allocations: 0 / 425.6 MB, free: 5.145 MB / 394.7 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.0007722/0.02961, allocations: 0.5578 MB / 426.2 MB, free: 4.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.02964, allocations: 8.625 kB / 426.2 MB, free: 4.547 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.02966, allocations: 3.938 kB / 426.2 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.197e-05/0.02974, allocations: 113.1 kB / 426.3 MB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.02974, allocations: 0 / 426.3 MB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-06/0.02975, allocations: 0 / 426.3 MB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.906e-05/0.02983, allocations: 41.69 kB / 426.3 MB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.02984, allocations: 0 / 426.3 MB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.02984, allocations: 4 kB / 426.3 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.02985, allocations: 4 kB / 426.3 MB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.02987, allocations: 15.94 kB / 426.4 MB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.02997, allocations: 109.3 kB / 426.5 MB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/0.03001, allocations: 30.52 kB / 426.5 MB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.03003, allocations: 24.88 kB / 426.5 MB, free: 4.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006761/0.03679, allocations: 3.016 MB / 429.5 MB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.03681, allocations: 38.56 kB / 429.6 MB, free: 1.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.03681, allocations: 0 / 429.6 MB, free: 1.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000151/0.03696, allocations: 77.66 kB / 429.7 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.03699, allocations: 59.28 kB / 429.7 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.635e-05/0.03704, allocations: 97.86 kB / 429.8 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.617e-06/0.03705, allocations: 25.7 kB / 429.8 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.178e-05/0.03707, allocations: 84.08 kB / 429.9 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.0371, allocations: 23.95 kB / 429.9 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.03712, allocations: 17.7 kB / 430 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.929e-05/0.03719, allocations: 318.8 kB / 430.3 MB, free: 328 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.0372, allocations: 8 kB / 430.3 MB, free: 320 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.03722, allocations: 15.98 kB / 430.3 MB, free: 304 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.03725, allocations: 37.16 kB / 430.3 MB, free: 264 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.03725, allocations: 0 / 430.3 MB, free: 264 kB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.345e-05/0.0373, allocations: 69.58 kB / 430.4 MB, free: 188 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.03732, allocations: 8 kB / 430.4 MB, free: 180 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.03732, allocations: 0 / 430.4 MB, free: 180 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.03733, allocations: 3.984 kB / 430.4 MB, free: 176 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.03733, allocations: 4.062 kB / 430.4 MB, free: 172 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.03734, allocations: 3.938 kB / 430.4 MB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.211e-05/0.03735, allocations: 0 / 430.4 MB, free: 168 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.03735, allocations: 4 kB / 430.4 MB, free: 164 kB / 394.7 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 4.867e-05/0.0374, allocations: 106.5 kB / 430.5 MB, free: 48 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-06/0.03741, allocations: 0 / 430.5 MB, free: 48 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.03752, allocations: 179 kB / 430.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.711e-05/0.03756, allocations: 180.2 kB / 430.9 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.955e-05/0.0376, allocations: 184.2 kB / 431 MB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/0.03764, allocations: 180.3 kB / 431.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.03777, allocations: 372.8 kB / 431.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/0.0378, allocations: 101 kB / 431.7 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.03782, allocations: 104.9 kB / 431.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.323e-05/0.03786, allocations: 180.3 kB / 432 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.03791, allocations: 188.2 kB / 432.1 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.59e-05/0.03794, allocations: 176.3 kB / 432.3 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.901e-05/0.03798, allocations: 180.3 kB / 432.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.311e-05/0.03807, allocations: 311.7 kB / 432.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.0381, allocations: 112.9 kB / 432.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.03815, allocations: 180.2 kB / 433.1 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.0382, allocations: 101 kB / 433.2 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.03824, allocations: 196.5 kB / 433.4 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.03827, allocations: 104.9 kB / 433.5 MB, free: 12.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.03831, allocations: 103.2 kB / 433.6 MB, free: 12.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03831, allocations: 0 / 433.6 MB, free: 12.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008518/0.03916, allocations: 0.6114 MB / 434.2 MB, free: 12.18 MB / 410.7 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.0016/0.04076, allocations: 1.11 MB / 435.3 MB, free: 11.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.571e-05/0.04083, allocations: 23.98 kB / 435.3 MB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.04083, allocations: 4 kB / 435.3 MB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.04083, allocations: 0 / 435.3 MB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.04116, allocations: 483.6 kB / 435.8 MB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.04138, allocations: 225.7 kB / 436 MB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.703e-05/0.04142, allocations: 67.28 kB / 436.1 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.116e-05/0.04143, allocations: 12.5 kB / 436.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04143, allocations: 0 / 436.1 MB, free: 10.2 MB / 410.7 MB Notification: Performance of Templates: time 0.1294/0.1708, allocations: 13.08 MB / 449.2 MB, free: 84.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile [Timeout 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/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 In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6918:39: error: use of undeclared identifier 'MM_' 6918 | f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6919:25: error: use of undeclared identifier 'MM_' 6919 | f_.d_crit_ = division(MM_,2e-4,!_initial,"2e-4"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6973:39: error: use of undeclared identifier 'MM_' 6973 | f_.R_s_ = division(8.31446261815324,MM_,!_initial,"MM"); | ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterFunctions.cpp:6974:25: error: use of undeclared identifier 'MM_' 6974 | f_.d_crit_ = division(MM_,2e-4,!_initial,"2e-4"); | ^ 4 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.5042015090584755] Failed to read output from testmodel.py, exit status != 0: 0.1756896497681737 0.18166310200000002 0.15147817500000002 Calling exit ...