Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 95.94 kB / 17.96 MB, free: 5.77 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.001258/0.001259, allocations: 178.8 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.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.0005267/0.0005269, allocations: 16 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1499, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004998/0.1549, allocations: 3.865 MB / 333.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.1589, allocations: 1.648 MB / 335.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.1593, allocations: 16 kB / 335.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.16, allocations: 227.1 kB / 335.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007013/0.1607, allocations: 210.7 kB / 335.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1625, allocations: 0.7517 MB / 336.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007852/0.1633, allocations: 0.6143 MB / 336.9 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.165, allocations: 0.9232 MB / 337.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.1654, allocations: 234.9 kB / 338.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.1658, allocations: 314.6 kB / 338.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-05/0.1658, allocations: 28 kB / 338.4 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006194/0.1665, allocations: 243.7 kB / 338.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.1666, allocations: 107.5 kB / 338.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.1669, allocations: 320 kB / 339.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008577/0.1678, allocations: 0.7091 MB / 339.8 MB, free: 9.504 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1678, allocations: 0 / 339.8 MB, free: 9.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1678, allocations: 0 / 339.8 MB, free: 9.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.639e-06/0.1678, allocations: 0 / 339.8 MB, free: 9.504 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003639/0.1714, allocations: 1.14 MB / 340.9 MB, free: 8.312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.1715, allocations: 16.03 kB / 341 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.173, allocations: 207.9 kB / 341.2 MB, free: 8.094 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1732, allocations: 243.4 kB / 341.4 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/0.1733, allocations: 54.38 kB / 341.4 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.1734, allocations: 76.36 kB / 341.5 MB, free: 7.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.175, allocations: 0.7819 MB / 342.3 MB, free: 6.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.175, allocations: 0 / 342.3 MB, free: 6.891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/0.1751, allocations: 32 kB / 342.3 MB, free: 6.859 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.1751, allocations: 16 kB / 342.3 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.1767, allocations: 0.6922 MB / 343 MB, free: 6.148 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.1821, allocations: 3.122 MB / 346.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.1854, allocations: 2.082 MB / 348.2 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/0.1861, allocations: 335.5 kB / 348.6 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.1863, allocations: 93.97 kB / 348.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.983e-05/0.1864, allocations: 47.44 kB / 348.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.547e-06/0.1864, allocations: 7.938 kB / 348.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.003143/0.1896, allocations: 1.18 MB / 349.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1897, allocations: 115.5 kB / 350 MB, free: 14.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.1901, allocations: 274.4 kB / 350.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.1901, allocations: 37.7 kB / 350.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.1904, allocations: 295.4 kB / 350.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.1907, allocations: 252.4 kB / 350.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1908, allocations: 65.62 kB / 350.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.191, allocations: 354.7 kB / 351.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.1916, allocations: 241.9 kB / 351.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006909/0.1923, allocations: 402.3 kB / 351.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.1936, allocations: 0.6532 MB / 352.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.1936, allocations: 8 kB / 352.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001739/0.1954, allocations: 0.8462 MB / 353.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.1954, allocations: 4 kB / 353.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.1954, allocations: 4 kB / 353.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000521/0.1959, allocations: 133.7 kB / 353.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.1966, allocations: 163.8 kB / 353.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.2005, allocations: 3.411 MB / 357.1 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.2011, allocations: 99.16 kB / 357.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.2012, allocations: 32 kB / 357.2 MB, free: 6.852 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 initialization (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003941/0.2016, allocations: 205.5 kB / 357.4 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2017, allocations: 39.53 kB / 357.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.2034, allocations: 0.7648 MB / 358.2 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.2034, allocations: 8 kB / 358.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2034, allocations: 4 kB / 358.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.2035, allocations: 3.984 kB / 358.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.2063, allocations: 1.528 MB / 359.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2063, allocations: 0 / 359.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.2068, allocations: 119.9 kB / 359.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003102/0.2072, allocations: 110.1 kB / 360 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.2073, allocations: 12 kB / 360 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003261/0.2106, allocations: 3.113 MB / 363.1 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2106, allocations: 4.062 kB / 363.1 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.2128, allocations: 1.151 MB / 364.3 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.213, allocations: 128.5 kB / 364.4 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.2131, allocations: 15.94 kB / 364.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.2135, allocations: 31.98 kB / 364.5 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.2136, allocations: 56.64 kB / 364.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.2137, allocations: 23.92 kB / 364.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002387/0.2139, allocations: 190 kB / 364.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2139, allocations: 3.938 kB / 364.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009365/0.2149, allocations: 215.5 kB / 364.9 MB, free: 14.74 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004051/0.2153, allocations: 147.1 kB / 365.1 MB, free: 14.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002093/0.2174, allocations: 0.9108 MB / 366 MB, free: 13.65 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2174, allocations: 3.938 kB / 366 MB, free: 13.65 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008832/0.2183, allocations: 0.5682 MB / 366.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005439/0.2188, allocations: 40.55 kB / 366.6 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.2215, allocations: 1.475 MB / 368.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.2221, allocations: 0.8694 MB / 368.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.2223, allocations: 51.42 kB / 369 MB, free: 10.57 MB / 318.1 MB Notification: Performance of SimCode: time 1.443e-06/0.2224, allocations: 0 / 369 MB, free: 10.57 MB / 318.1 MB Notification: Performance of Templates: time 0.2735/0.4959, allocations: 11.38 MB / 380.4 MB, free: 51.1 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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 OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.o] Error 1