Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") translateModel(HelmholtzMedia.Examples.Validation.MaxwellLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 181.5 kB / 15.98 MB, free: 5.391 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06773/0.06773, allocations: 9.091 MB / 25.82 MB, free: 3.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 94.28 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 51.92 kB / 341.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2373, allocations: 48.16 MB / 389.2 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01485/0.2522, allocations: 17.76 MB / 407 MB, free: 20.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.2546, allocations: 2.571 MB / 409.6 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.642e-05/0.2548, allocations: 4 kB / 409.6 MB, free: 18.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000851/0.2556, allocations: 353.8 kB / 409.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007105/0.2628, allocations: 2.848 MB / 412.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.06e-05/0.2628, allocations: 11.98 kB / 412.8 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.263, allocations: 203 kB / 413 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.263, allocations: 5.562 kB / 413 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.2633, allocations: 91.52 kB / 413.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.224e-05/0.2633, allocations: 63.7 kB / 413.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.2634, allocations: 4 kB / 413.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007364/0.2708, allocations: 6.327 MB / 419.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.2709, allocations: 15.88 kB / 419.5 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.271, allocations: 59.61 kB / 419.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.273, allocations: 1.478 MB / 421 MB, free: 6.664 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.273, allocations: 0 / 421 MB, free: 6.664 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.273, allocations: 0 / 421 MB, free: 6.664 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.273, allocations: 0 / 421 MB, free: 6.664 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001026/0.2741, allocations: 0.6743 MB / 421.7 MB, free: 5.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2741, allocations: 11.89 kB / 421.7 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.2743, allocations: 35.78 kB / 421.7 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2744, allocations: 186.8 kB / 421.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.2744, allocations: 0 / 421.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.2744, allocations: 8 kB / 421.9 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.2747, allocations: 162.4 kB / 422.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2747, allocations: 4 kB / 422.1 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2747, allocations: 4 kB / 422.1 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2748, allocations: 7.984 kB / 422.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.2751, allocations: 188.2 kB / 422.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.2753, allocations: 282.3 kB / 422.6 MB, free: 4.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.2756, allocations: 182.8 kB / 422.7 MB, free: 4.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.2758, allocations: 157.1 kB / 422.9 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02033/0.2962, allocations: 10.95 MB / 433.8 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.2962, allocations: 34.56 kB / 433.9 MB, free: 7.828 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 2.515e-06/0.2962, allocations: 0 / 433.9 MB, free: 7.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009192/0.2972, allocations: 464 kB / 434.3 MB, free: 7.371 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.2972, allocations: 51.41 kB / 434.4 MB, free: 7.309 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.2974, allocations: 137.3 kB / 434.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2974, allocations: 29.64 kB / 434.5 MB, free: 7.133 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.2975, allocations: 88.8 kB / 434.6 MB, free: 7.043 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.2976, allocations: 102.4 kB / 434.7 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.2976, allocations: 33.61 kB / 434.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2978, allocations: 330.8 kB / 435.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.298, allocations: 115.9 kB / 435.2 MB, free: 6.457 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.2982, allocations: 123.8 kB / 435.3 MB, free: 6.336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.2988, allocations: 299.6 kB / 435.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2988, allocations: 4 kB / 435.6 MB, free: 6.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005972/0.2994, allocations: 327.3 kB / 435.9 MB, free: 5.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2994, allocations: 8 kB / 435.9 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2994, allocations: 0 / 435.9 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2994, allocations: 4 kB / 435.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.2996, allocations: 15.98 kB / 436 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2996, allocations: 4 kB / 436 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.2998, allocations: 43.59 kB / 436 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.2998, allocations: 0 / 436 MB, free: 5.637 MB / 314.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 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.826e-05/0.2999, allocations: 113.8 kB / 436.1 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.3, allocations: 15.81 kB / 436.1 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.3006, allocations: 360.8 kB / 436.5 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3006, allocations: 11.98 kB / 436.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3006, allocations: 0 / 436.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3006, allocations: 3.938 kB / 436.5 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.3008, allocations: 262 kB / 436.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3008, allocations: 0 / 436.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.301, allocations: 23.86 kB / 436.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.301, allocations: 0 / 436.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.301, allocations: 8 kB / 436.8 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.301, allocations: 0 / 436.8 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.301, allocations: 0 / 436.8 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.3016, allocations: 378.5 kB / 437.2 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.3017, allocations: 96.84 kB / 437.2 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.3017, allocations: 4 kB / 437.3 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3018, allocations: 15.98 kB / 437.3 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.3019, allocations: 11.92 kB / 437.3 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.3019, allocations: 0 / 437.3 MB, free: 4.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.165e-05/0.3019, allocations: 99.27 kB / 437.4 MB, free: 4.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3019, allocations: 7.938 kB / 437.4 MB, free: 4.152 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001415/0.3034, allocations: 487.8 kB / 437.9 MB, free: 3.676 MB / 314.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002365/0.3057, allocations: 0.717 MB / 438.6 MB, free: 2.949 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006162/0.3064, allocations: 295.8 kB / 438.9 MB, free: 2.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3064, allocations: 0 / 438.9 MB, free: 2.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.3066, allocations: 163.9 kB / 439 MB, free: 2.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.3072, allocations: 67.86 kB / 439.1 MB, free: 2.434 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.3079, allocations: 461.5 kB / 439.5 MB, free: 1.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3082, allocations: 0.7201 MB / 440.3 MB, free: 1.203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.3083, allocations: 19.38 kB / 440.3 MB, free: 1.188 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3083, allocations: 0 / 440.3 MB, free: 1.188 MB / 314.7 MB Notification: Performance of Templates: time 0.02036/0.3287, allocations: 12.58 MB / 452.9 MB, free: 4.602 MB / 330.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile clang++ -std=c++14 -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.Validation.MaxwellLoopCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopCalcHelperMain.cpp In file included from OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopCalcHelperMain.cpp:28: ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopFunctions.cpp:6312:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopFunctions.cpp:6313:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,0.0002549219298245614,!_initial,"0.0002549219298245614"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopFunctions.cpp:6372:32: error: use of undeclared identifier 'MM_' f_.R_s_ = division(8.3144598,MM_,!_initial,"MM"); ^ ./OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopFunctions.cpp:6373:25: error: use of undeclared identifier 'MM_' f_.d_crit_ = division(MM_,0.0002549219298245614,!_initial,"0.0002549219298245614"); ^ 4 errors generated. make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopCalcHelperMain.o] Error 1