Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 95.11 kB / 17.95 MB, free: 5.629 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.001794/0.001794, allocations: 185.3 kB / 18.87 MB, free: 4.77 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.014/2.014, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005187/0.0005194, allocations: 15.98 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1506, allocations: 47.58 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003916/0.1546, allocations: 2.369 MB / 332 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.1572, allocations: 1.165 MB / 333.2 MB, free: 188 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.1574, allocations: 12 kB / 333.2 MB, free: 176 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.158, allocations: 123.5 kB / 333.3 MB, free: 52 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005091/0.1586, allocations: 111.3 kB / 333.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.1601, allocations: 0.6346 MB / 334 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.1606, allocations: 274.7 kB / 334.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.1617, allocations: 0.5776 MB / 334.9 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.1619, allocations: 107.5 kB / 335 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.1622, allocations: 151.3 kB / 335.1 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.1622, allocations: 16 kB / 335.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.1626, allocations: 159.9 kB / 335.3 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.1627, allocations: 51.77 kB / 335.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.1628, allocations: 157 kB / 335.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.1633, allocations: 371.1 kB / 335.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1634, allocations: 0 / 335.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.1634, allocations: 4 kB / 335.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1634, allocations: 4 kB / 335.9 MB, free: 13.43 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001804/0.1652, allocations: 0.6593 MB / 336.5 MB, free: 12.72 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.1653, allocations: 8.031 kB / 336.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000816/0.1661, allocations: 132.4 kB / 336.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.1666, allocations: 252.6 kB / 336.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.1666, allocations: 21.03 kB / 336.9 MB, free: 12.28 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.1667, allocations: 36.31 kB / 337 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/0.1673, allocations: 337 kB / 337.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.884e-05/0.1674, allocations: 3.906 kB / 337.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.1675, allocations: 20 kB / 337.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.1675, allocations: 8 kB / 337.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/0.1679, allocations: 238.5 kB / 337.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.1702, allocations: 1.439 MB / 339 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008283/0.1711, allocations: 0.7048 MB / 339.7 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.1712, allocations: 101.1 kB / 339.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.1715, allocations: 89.05 kB / 339.9 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1716, allocations: 38.56 kB / 339.9 MB, free: 8.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.1716, allocations: 0 / 339.9 MB, free: 8.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001336/0.1729, allocations: 499.3 kB / 340.4 MB, free: 8.465 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.173, allocations: 59.39 kB / 340.5 MB, free: 8.395 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1732, allocations: 179.2 kB / 340.7 MB, free: 8.207 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.1733, allocations: 33.64 kB / 340.7 MB, free: 8.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.1734, allocations: 176 kB / 340.9 MB, free: 7.988 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.1735, allocations: 86.73 kB / 341 MB, free: 7.902 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1736, allocations: 29.7 kB / 341 MB, free: 7.867 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1737, allocations: 330.8 kB / 341.3 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1738, allocations: 68.53 kB / 341.4 MB, free: 7.469 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.174, allocations: 128.2 kB / 341.5 MB, free: 7.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.1743, allocations: 220.9 kB / 341.7 MB, free: 7.082 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1744, allocations: 0 / 341.7 MB, free: 7.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005893/0.1749, allocations: 331.5 kB / 342 MB, free: 6.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.175, allocations: 4 kB / 342 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.175, allocations: 4 kB / 342 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/0.1754, allocations: 88.94 kB / 342.1 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1755, allocations: 35.98 kB / 342.2 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.178, allocations: 1.835 MB / 344 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.1781, allocations: 31.62 kB / 344 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1781, allocations: 8.281 kB / 344 MB, free: 4.609 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.1784, allocations: 145.8 kB / 344.2 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.1784, allocations: 19.81 kB / 344.2 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.179, allocations: 288.6 kB / 344.5 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.179, allocations: 7.938 kB / 344.5 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.179, allocations: 3.984 kB / 344.5 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.179, allocations: 0 / 344.5 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.1801, allocations: 0.7017 MB / 345.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1801, allocations: 0 / 345.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1802, allocations: 20 kB / 345.2 MB, free: 3.355 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.1805, allocations: 84.72 kB / 345.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.1805, allocations: 4 kB / 345.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.1824, allocations: 1.831 MB / 347.1 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1824, allocations: 0 / 347.1 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.1831, allocations: 443.9 kB / 347.6 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.1833, allocations: 116.8 kB / 347.7 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.1833, allocations: 8 kB / 347.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.1835, allocations: 4 kB / 347.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.1835, allocations: 15.92 kB / 347.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.1835, allocations: 8.281 kB / 347.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1837, allocations: 131.2 kB / 347.8 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1837, allocations: 4.062 kB / 347.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005428/0.1842, allocations: 99.62 kB / 347.9 MB, free: 456 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000263/0.1845, allocations: 115.2 kB / 348.1 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006947/0.1852, allocations: 358.2 kB / 348.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1852, allocations: 0 / 348.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.1856, allocations: 251 kB / 348.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1859, allocations: 16.38 kB / 348.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1871, allocations: 0.766 MB / 349.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.1875, allocations: 0.7519 MB / 350.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.1876, allocations: 23.42 kB / 350.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1876, allocations: 0 / 350.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of Templates: time 0.007748/0.1953, allocations: 3.892 MB / 354.1 MB, free: 10.19 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.Leakage.GeneralLeakageCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakageCalcHelperMain.o] Error 1