Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 91.22 kB / 16.67 MB, free: 6.59 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.001271/0.001271, allocations: 185.5 kB / 17.58 MB, free: 6.191 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.994/1.994, allocations: 205.4 MB / 223.8 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2911/0.2911, allocations: 43.59 MB / 315.6 MB, free: 428 kB / 254.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.0005578/0.0005579, allocations: 11.38 kB / 385.2 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1501, allocations: 58.86 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.00358/0.1538, allocations: 3.063 MB / 447.2 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.1557, allocations: 0.8149 MB / 448 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007791/0.1565, allocations: 12 kB / 448 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.157, allocations: 55.55 kB / 448 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.1579, allocations: 103.1 kB / 448.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.1586, allocations: 107.9 kB / 448.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007249/0.1594, allocations: 0.5023 MB / 448.7 MB, free: 492 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.1598, allocations: 198.7 kB / 448.9 MB, free: 292 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004474/0.1602, allocations: 175.3 kB / 449.1 MB, free: 116 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.1606, allocations: 207 kB / 449.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.1607, allocations: 24 kB / 449.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.563e-05/0.1608, allocations: 32 kB / 449.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.1609, allocations: 83.61 kB / 449.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.1612, allocations: 236.6 kB / 449.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.1616, allocations: 414.8 kB / 450.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1616, allocations: 0 / 450.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1616, allocations: 0 / 450.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1616, allocations: 0 / 450.1 MB, free: 15.12 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001386/0.163, allocations: 0.7019 MB / 450.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.1631, allocations: 8.031 kB / 450.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.1632, allocations: 56.28 kB / 450.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.1636, allocations: 309.4 kB / 451.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.1637, allocations: 37.38 kB / 451.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.1638, allocations: 44.38 kB / 451.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008478/0.1646, allocations: 475.2 kB / 451.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1647, allocations: 3.938 kB / 451.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.1647, allocations: 23.98 kB / 451.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1647, allocations: 12 kB / 451.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.1655, allocations: 339.8 kB / 452.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.1682, allocations: 1.697 MB / 453.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.1688, allocations: 248.9 kB / 454 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.1692, allocations: 145.2 kB / 454.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.1692, allocations: 4 kB / 454.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.1692, allocations: 42.48 kB / 454.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/0.1693, allocations: 0 / 454.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.00325/0.1725, allocations: 1.355 MB / 455.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.1726, allocations: 85.05 kB / 455.6 MB, free: 9.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.1729, allocations: 266.6 kB / 455.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.173, allocations: 33.7 kB / 455.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.1731, allocations: 259.4 kB / 456.2 MB, free: 8.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1732, allocations: 122.2 kB / 456.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.1733, allocations: 41.69 kB / 456.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1735, allocations: 334.8 kB / 456.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.1738, allocations: 112.8 kB / 456.8 MB, free: 8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.1741, allocations: 220.3 kB / 457 MB, free: 7.742 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/0.1748, allocations: 343.7 kB / 457.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1748, allocations: 0 / 457.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001184/0.176, allocations: 431.2 kB / 457.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.176, allocations: 4 kB / 457.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.1761, allocations: 4 kB / 457.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.1763, allocations: 28.84 kB / 457.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.1769, allocations: 135.9 kB / 457.9 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.1782, allocations: 1.339 MB / 459.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1785, allocations: 23.98 kB / 459.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.1785, allocations: 16 kB / 459.3 MB, free: 5.246 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.1788, allocations: 161.7 kB / 459.5 MB, free: 5.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-05/0.1788, allocations: 35.64 kB / 459.5 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.1789, allocations: 30.25 kB / 459.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1789, allocations: 11.98 kB / 459.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.179, allocations: 0 / 459.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.179, allocations: 7.938 kB / 459.5 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.1801, allocations: 0.7253 MB / 460.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1801, allocations: 4 kB / 460.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.1805, allocations: 95.88 kB / 460.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.295e-05/0.1806, allocations: 24.84 kB / 460.4 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.1807, allocations: 11.94 kB / 460.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009966/0.1817, allocations: 1.335 MB / 461.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1817, allocations: 0 / 461.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1827, allocations: 0.6241 MB / 462.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1829, allocations: 124.7 kB / 462.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.1829, allocations: 8 kB / 462.5 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.1832, allocations: 23.98 kB / 462.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.1833, allocations: 27.91 kB / 462.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1833, allocations: 12 kB / 462.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.1835, allocations: 186 kB / 462.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1835, allocations: 0 / 462.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.184, allocations: 92 kB / 462.8 MB, free: 1.473 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.1841, allocations: 107.2 kB / 462.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000907/0.185, allocations: 426.1 kB / 463.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1851, allocations: 0.75 kB / 463.3 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.1855, allocations: 256.7 kB / 463.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.186, allocations: 36.55 kB / 463.6 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.1879, allocations: 1.211 MB / 464.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.1883, allocations: 0.8113 MB / 465.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/0.1884, allocations: 31.42 kB / 465.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1884, allocations: 4 kB / 465.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Templates: time 0.009794/0.1982, allocations: 5.853 MB / 471.5 MB, free: 8.656 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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_3.2.3_ModelicaTest.FluxTubes.BasicComponentsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponentsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponentsCalcHelperMain.o] Error 1