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.001194/0.001194, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001111/0.001112, allocations: 194 kB / 18.72 MB, free: 4.762 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.074/2.074, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001332/0.001332, allocations: 43.94 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.141, allocations: 46.63 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.007092/0.1482, allocations: 4.289 MB / 331.5 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003778/0.152, allocations: 1.679 MB / 333.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.1523, allocations: 12 kB / 333.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.1548, allocations: 0.9535 MB / 334.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006131/0.1554, allocations: 206.8 kB / 334.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.1571, allocations: 0.779 MB / 335.2 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008214/0.1579, allocations: 0.6104 MB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008449/0.1588, allocations: 473.9 kB / 336.2 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000399/0.1592, allocations: 255 kB / 336.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004594/0.1597, allocations: 354.5 kB / 336.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.1597, allocations: 44 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005623/0.1603, allocations: 255.7 kB / 337.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1604, allocations: 123.5 kB / 337.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.1608, allocations: 314.3 kB / 337.6 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007919/0.1616, allocations: 0.7169 MB / 338.3 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1616, allocations: 0 / 338.3 MB, free: 9.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1616, allocations: 3.984 kB / 338.3 MB, free: 9.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.1616, allocations: 4 kB / 338.3 MB, free: 9.805 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.003773/0.1654, allocations: 1.253 MB / 339.5 MB, free: 8.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1654, allocations: 8.031 kB / 339.5 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.1668, allocations: 215.9 kB / 339.8 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.167, allocations: 239.4 kB / 340 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.1671, allocations: 54.38 kB / 340 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.1672, allocations: 80.3 kB / 340.1 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.1687, allocations: 0.7701 MB / 340.9 MB, free: 7.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.1688, allocations: 0 / 340.9 MB, free: 7.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.091e-05/0.1688, allocations: 32 kB / 340.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.1689, allocations: 16 kB / 340.9 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.1704, allocations: 0.6688 MB / 341.6 MB, free: 6.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005049/0.1755, allocations: 3.114 MB / 344.7 MB, free: 2.988 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.1785, allocations: 2.078 MB / 346.8 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006699/0.1792, allocations: 323.5 kB / 347.1 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.1794, allocations: 97.75 kB / 347.2 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/0.1794, allocations: 43.22 kB / 347.3 MB, free: 128 kB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.986e-06/0.1794, allocations: 224 / 347.3 MB, free: 128 kB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.00318/0.1826, allocations: 1.145 MB / 348.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/0.1827, allocations: 115.4 kB / 348.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.1831, allocations: 274.5 kB / 348.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.1831, allocations: 33.7 kB / 348.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.1833, allocations: 299.4 kB / 349.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.1836, allocations: 248.4 kB / 349.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.1838, allocations: 142.6 kB / 349.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.184, allocations: 350.7 kB / 349.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/0.1846, allocations: 229.9 kB / 350.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.1853, allocations: 386.2 kB / 350.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.1865, allocations: 0.6337 MB / 351.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1865, allocations: 0 / 351.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001672/0.1882, allocations: 0.8304 MB / 351.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.1882, allocations: 8 kB / 351.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1882, allocations: 4 kB / 351.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004227/0.1886, allocations: 121.8 kB / 352 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/0.1894, allocations: 155.8 kB / 352.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.1926, allocations: 3.419 MB / 355.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.1931, allocations: 91.16 kB / 355.7 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.1932, allocations: 24 kB / 355.7 MB, free: 7.168 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.0003231/0.1935, allocations: 209.5 kB / 355.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.1936, allocations: 47.47 kB / 356 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.1952, allocations: 0.7491 MB / 356.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1953, allocations: 8 kB / 356.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1953, allocations: 4 kB / 356.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.1953, allocations: 3.984 kB / 356.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.198, allocations: 1.497 MB / 358.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.198, allocations: 0 / 358.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.1985, allocations: 111.9 kB / 358.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003077/0.1988, allocations: 113.6 kB / 358.4 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.1989, allocations: 12 kB / 358.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/0.2019, allocations: 3.109 MB / 361.6 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2019, allocations: 3.938 kB / 361.6 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.2041, allocations: 1.12 MB / 362.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.2042, allocations: 124.4 kB / 362.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.2043, allocations: 12 kB / 362.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.2047, allocations: 36.03 kB / 362.9 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.2048, allocations: 48.53 kB / 362.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.2049, allocations: 31.98 kB / 362.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.2051, allocations: 190 kB / 363.1 MB, free: 15.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2051, allocations: 0 / 363.1 MB, free: 15.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008912/0.206, allocations: 215.4 kB / 363.3 MB, free: 15.14 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.0003074/0.2063, allocations: 143.2 kB / 363.5 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.2081, allocations: 0.8919 MB / 364.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2081, allocations: 0 / 364.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.209, allocations: 0.5556 MB / 364.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.2095, allocations: 40.56 kB / 365 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.2121, allocations: 1.434 MB / 366.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.2127, allocations: 0.8616 MB / 367.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.2129, allocations: 55.41 kB / 367.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of SimCode: time 9.11e-07/0.2129, allocations: 0 / 367.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of Templates: time 0.2404/0.4533, allocations: 11.45 MB / 378.8 MB, free: 52.96 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