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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006267/0.006267, allocations: 100.8 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 194.6 kB / 16.79 MB, free: 6.254 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.505/1.505, allocations: 205.1 MB / 222.6 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04291/0.04291, allocations: 9.085 MB / 279.1 MB, free: 12.25 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.00124/0.001241, allocations: 63.91 kB / 338 MB, free: 25.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08093/0.08218, allocations: 48.17 MB / 386.2 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.01717/0.09938, allocations: 17.75 MB / 403.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.1024, allocations: 2.571 MB / 406.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.1025, allocations: 0 / 406.5 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.1036, allocations: 351.8 kB / 406.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006348/0.11, allocations: 2.641 MB / 409.5 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.984e-05/0.11, allocations: 7.984 kB / 409.5 MB, free: 2.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1102, allocations: 191 kB / 409.7 MB, free: 2.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.1103, allocations: 9.562 kB / 409.7 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.1105, allocations: 95.41 kB / 409.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.812e-05/0.1106, allocations: 51.72 kB / 409.8 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1106, allocations: 4 kB / 409.8 MB, free: 1.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007374/0.118, allocations: 5.839 MB / 415.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.118, allocations: 11.94 kB / 415.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.999e-05/0.1181, allocations: 59.61 kB / 415.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002577/0.1207, allocations: 1.454 MB / 417.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1207, allocations: 0 / 417.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1207, allocations: 0 / 417.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1207, allocations: 4 kB / 417.2 MB, free: 10.5 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001333/0.1221, allocations: 0.6588 MB / 417.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1221, allocations: 8.031 kB / 417.8 MB, free: 9.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.1223, allocations: 39.78 kB / 417.9 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.1224, allocations: 194.6 kB / 418.1 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1224, allocations: 0 / 418.1 MB, free: 9.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1225, allocations: 4 kB / 418.1 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.1228, allocations: 159.3 kB / 418.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1228, allocations: 0 / 418.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1228, allocations: 0 / 418.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1229, allocations: 11.98 kB / 418.2 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.1232, allocations: 200.1 kB / 418.4 MB, free: 9.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.1235, allocations: 266.5 kB / 418.7 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.1238, allocations: 178.8 kB / 418.9 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.1241, allocations: 161.1 kB / 419 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2085/0.3326, allocations: 10.94 MB / 430 MB, free: 45.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.3326, allocations: 35.53 kB / 430 MB, free: 45.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.264e-06/0.3326, allocations: 1.562 kB / 430 MB, free: 45.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.000883/0.3335, allocations: 457 kB / 430.5 MB, free: 45.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.3336, allocations: 53.45 kB / 430.5 MB, free: 45.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.373e-05/0.3337, allocations: 131.7 kB / 430.6 MB, free: 44.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.3337, allocations: 30.27 kB / 430.7 MB, free: 44.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.3337, allocations: 89.98 kB / 430.8 MB, free: 44.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.3338, allocations: 109 kB / 430.9 MB, free: 44.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.3339, allocations: 34.61 kB / 430.9 MB, free: 44.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.334, allocations: 323 kB / 431.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.3342, allocations: 121.4 kB / 431.3 MB, free: 44.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.3344, allocations: 123 kB / 431.5 MB, free: 44.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004443/0.3349, allocations: 297.2 kB / 431.7 MB, free: 44.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3349, allocations: 0 / 431.7 MB, free: 44.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005064/0.3354, allocations: 335.6 kB / 432.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3354, allocations: 7.75 kB / 432.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3354, allocations: 2.75 kB / 432.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3354, allocations: 1.719 kB / 432.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3356, allocations: 17.8 kB / 432.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3356, allocations: 8.562 kB / 432.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.3357, allocations: 26.42 kB / 432.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3357, allocations: 2.906 kB / 432.1 MB, free: 44.29 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 (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 6.258e-05/0.3358, allocations: 120.2 kB / 432.3 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.3358, allocations: 14 kB / 432.3 MB, free: 44.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005873/0.3364, allocations: 364.3 kB / 432.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.3364, allocations: 5.625 kB / 432.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3364, allocations: 2.953 kB / 432.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3364, allocations: 0 / 432.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.3366, allocations: 283.8 kB / 432.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3366, allocations: 0 / 432.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.3367, allocations: 17.69 kB / 432.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3368, allocations: 1.797 kB / 432.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3368, allocations: 1.156 kB / 432.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3368, allocations: 0.6094 kB / 432.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3368, allocations: 1.125 kB / 432.9 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.3373, allocations: 372.5 kB / 433.3 MB, free: 43.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.3374, allocations: 102.6 kB / 433.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3374, allocations: 0.7969 kB / 433.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.3375, allocations: 16.55 kB / 433.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.3376, allocations: 9.141 kB / 433.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3376, allocations: 3.562 kB / 433.4 MB, free: 43.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.3377, allocations: 97.39 kB / 433.5 MB, free: 43.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3377, allocations: 0 / 433.5 MB, free: 43.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001926/0.3396, allocations: 486.3 kB / 434 MB, free: 43.33 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: 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.00236/0.342, allocations: 0.7175 MB / 434.7 MB, free: 43.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005681/0.3425, allocations: 298.8 kB / 435 MB, free: 43.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3426, allocations: 4 kB / 435 MB, free: 43.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.3428, allocations: 164.4 kB / 435.2 MB, free: 42.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.3433, allocations: 78.59 kB / 435.2 MB, free: 42.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.3439, allocations: 463.4 kB / 435.7 MB, free: 42.65 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.3441, allocations: 0.7189 MB / 436.4 MB, free: 41.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.3441, allocations: 13.19 kB / 436.4 MB, free: 41.94 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3441, allocations: 1.125 kB / 436.4 MB, free: 41.94 MB / 318.1 MB Notification: Performance of Templates: time 0.02077/0.3649, allocations: 12.58 MB / 449 MB, free: 34.72 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.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.Validation.MaxwellLoopCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoopCalcHelperMain.o] Error 1