Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008756, allocations: 99.84 kB / 18.01 MB, free: 5.734 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.001522/0.001523, allocations: 182.3 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 242.9 MB, free: 100 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.247/0.247, allocations: 44.24 MB / 338.3 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003684, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1582, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003613/0.1619, allocations: 2.321 MB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.1636, allocations: 0.7362 MB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000315/0.1639, allocations: 8 kB / 476 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1643, allocations: 55.55 kB / 476 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.1648, allocations: 83.42 kB / 476.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.1652, allocations: 87.92 kB / 476.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006132/0.1658, allocations: 398.5 kB / 476.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.1661, allocations: 128.4 kB / 476.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.1664, allocations: 139.4 kB / 476.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1667, allocations: 151.2 kB / 477 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.1668, allocations: 16 kB / 477 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.1669, allocations: 16 kB / 477 MB, free: 9.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.926e-05/0.1669, allocations: 63.7 kB / 477.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.1672, allocations: 188.8 kB / 477.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.1675, allocations: 307.1 kB / 477.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1675, allocations: 0 / 477.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1675, allocations: 0 / 477.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.1675, allocations: 0 / 477.6 MB, free: 8.625 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00117/0.1687, allocations: 0.6123 MB / 478.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1688, allocations: 8.031 kB / 478.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.1689, allocations: 40.47 kB / 478.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.1693, allocations: 268.7 kB / 478.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.1693, allocations: 29.38 kB / 478.5 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.1694, allocations: 40.31 kB / 478.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.1702, allocations: 374.2 kB / 478.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1702, allocations: 0 / 478.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.1703, allocations: 16 kB / 478.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.1703, allocations: 12 kB / 479 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.171, allocations: 281.8 kB / 479.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.1733, allocations: 1.369 MB / 480.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.1738, allocations: 202.6 kB / 480.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.1741, allocations: 95.56 kB / 480.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1741, allocations: 0 / 480.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.375e-05/0.1742, allocations: 38.5 kB / 480.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.1742, allocations: 0 / 480.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.000876/0.1751, allocations: 293.3 kB / 481.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1752, allocations: 128.5 kB / 481.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.1756, allocations: 328.5 kB / 481.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.1756, allocations: 29.7 kB / 481.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.1758, allocations: 239.6 kB / 481.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.1759, allocations: 51.3 kB / 482 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.1759, allocations: 29.7 kB / 482 MB, free: 3.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1761, allocations: 346.7 kB / 482.3 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1764, allocations: 88.52 kB / 482.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.1767, allocations: 180.2 kB / 482.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.1773, allocations: 275.3 kB / 482.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.1773, allocations: 4 kB / 482.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008161/0.1781, allocations: 336.9 kB / 483.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.1781, allocations: 8.25 kB / 483.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1782, allocations: 4 kB / 483.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.1782, allocations: 4 kB / 483.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.1786, allocations: 103.9 kB / 483.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.1786, allocations: 8 kB / 483.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.179, allocations: 51.58 kB / 483.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.179, allocations: 11.94 kB / 483.4 MB, free: 2.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001851/0.1792, allocations: 153.7 kB / 483.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.1793, allocations: 31.61 kB / 483.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.157e-05/0.1794, allocations: 38.41 kB / 483.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1794, allocations: 4 kB / 483.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.1794, allocations: 4 kB / 483.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1794, allocations: 3.938 kB / 483.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/0.1803, allocations: 0.5798 MB / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.1803, allocations: 4 kB / 484.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.1806, allocations: 72.09 kB / 484.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1806, allocations: 4 kB / 484.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.1807, allocations: 7.938 kB / 484.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1807, allocations: 0 / 484.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.1807, allocations: 11.94 kB / 484.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006133/0.1813, allocations: 410.6 kB / 484.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1814, allocations: 112.7 kB / 484.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.1815, allocations: 11.92 kB / 484.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.1817, allocations: 19.98 kB / 484.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.1818, allocations: 19.92 kB / 484.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1818, allocations: 4 kB / 484.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.1821, allocations: 227.1 kB / 485.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1821, allocations: 4 kB / 485.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.1825, allocations: 67.84 kB / 485.2 MB, free: 496 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001675/0.1827, allocations: 99.77 kB / 485.3 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000682/0.1834, allocations: 211.7 kB / 485.5 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1834, allocations: 0 / 485.5 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.1836, allocations: 96.95 kB / 485.6 MB, free: 76 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.1842, allocations: 29.36 kB / 485.6 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1853, allocations: 0.7311 MB / 486.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.1857, allocations: 0.7755 MB / 487.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.1858, allocations: 19.44 kB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1858, allocations: 4 kB / 487.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of Templates: time 0.005676/0.1915, allocations: 3.059 MB / 490.2 MB, free: 11.38 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.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 OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.SourcesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.SourcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.SourcesCalcHelperMain.o] Error 1