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.001676/0.001676, 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.00177/0.00177, 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 1.996/1.996, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001665/0.001665, allocations: 47.92 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1773, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.006787/0.1842, allocations: 2.746 MB / 330 MB, free: 2.117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.1872, allocations: 1.185 MB / 331.2 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.1874, allocations: 8 kB / 331.2 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.1894, allocations: 0.5916 MB / 331.8 MB, free: 332 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.19, allocations: 103.4 kB / 331.9 MB, free: 228 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.1919, allocations: 0.654 MB / 332.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006285/0.1926, allocations: 286.6 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007645/0.1934, allocations: 243.3 kB / 333.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.1936, allocations: 123.5 kB / 333.2 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.194, allocations: 163.3 kB / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.194, allocations: 20 kB / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.1946, allocations: 171.8 kB / 333.5 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.1947, allocations: 55.83 kB / 333.6 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.195, allocations: 143.2 kB / 333.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007234/0.1957, allocations: 379.3 kB / 334.1 MB, free: 14.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1957, allocations: 3.938 kB / 334.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1957, allocations: 0 / 334.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1957, allocations: 0 / 334.1 MB, free: 14.01 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.00251/0.1983, allocations: 0.7256 MB / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.641e-05/0.1984, allocations: 8.031 kB / 334.8 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.1996, allocations: 112.6 kB / 334.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/0.2003, allocations: 264.4 kB / 335.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.2003, allocations: 29.03 kB / 335.2 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.621e-05/0.2004, allocations: 32.38 kB / 335.3 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.2012, allocations: 333 kB / 335.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.2013, allocations: 0 / 335.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.2013, allocations: 12 kB / 335.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.2014, allocations: 11.94 kB / 335.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.202, allocations: 246.5 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.2051, allocations: 1.447 MB / 337.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.2063, allocations: 0.7004 MB / 338 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.2065, allocations: 100.8 kB / 338.1 MB, free: 9.648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.2067, allocations: 89.05 kB / 338.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.2068, allocations: 42.5 kB / 338.2 MB, free: 9.492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 2.475e-06/0.2068, allocations: 0 / 338.2 MB, free: 9.492 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.002164/0.209, allocations: 495.3 kB / 338.7 MB, free: 8.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/0.2091, allocations: 59.39 kB / 338.8 MB, free: 8.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.2094, allocations: 171.3 kB / 338.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.2094, allocations: 33.7 kB / 339 MB, free: 8.691 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.2097, allocations: 175.9 kB / 339.1 MB, free: 8.512 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.2098, allocations: 78.84 kB / 339.2 MB, free: 8.434 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.2099, allocations: 57.89 kB / 339.3 MB, free: 8.371 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.2102, allocations: 326.8 kB / 339.6 MB, free: 8.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.2104, allocations: 64.53 kB / 339.7 MB, free: 7.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.2107, allocations: 136.2 kB / 339.8 MB, free: 7.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.2113, allocations: 216 kB / 340 MB, free: 7.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.2113, allocations: 4 kB / 340 MB, free: 7.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000898/0.2122, allocations: 332.4 kB / 340.3 MB, free: 7.254 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.2122, allocations: 12.22 kB / 340.3 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.2123, allocations: 0 / 340.3 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005616/0.2128, allocations: 76.75 kB / 340.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.2131, allocations: 39.98 kB / 340.5 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/0.2164, allocations: 1.831 MB / 342.3 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.2167, allocations: 27.72 kB / 342.3 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.2167, allocations: 20.06 kB / 342.3 MB, free: 5.113 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.000292/0.217, allocations: 145.8 kB / 342.5 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.2171, allocations: 15.81 kB / 342.5 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008065/0.2179, allocations: 288 kB / 342.8 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.2179, allocations: 3.938 kB / 342.8 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.218, allocations: 4 kB / 342.8 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.218, allocations: 0 / 342.8 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.2195, allocations: 0.6947 MB / 343.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2195, allocations: 0 / 343.5 MB, free: 3.895 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2197, allocations: 27.98 kB / 343.5 MB, free: 3.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003089/0.22, allocations: 76.75 kB / 343.6 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.2201, allocations: 4 kB / 343.6 MB, free: 3.785 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.2226, allocations: 1.839 MB / 345.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2227, allocations: 0 / 345.4 MB, free: 1.809 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009175/0.2236, allocations: 443.9 kB / 345.9 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.2237, allocations: 116.9 kB / 346 MB, free: 1.223 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.2238, allocations: 4 kB / 346 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.224, allocations: 4 kB / 346 MB, free: 1.215 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.224, allocations: 23.91 kB / 346 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.2241, allocations: 8.062 kB / 346 MB, free: 1.184 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.2242, allocations: 127.2 kB / 346.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2242, allocations: 0 / 346.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008176/0.2251, allocations: 91.69 kB / 346.2 MB, free: 0.9688 MB / 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.0003784/0.2255, allocations: 123.2 kB / 346.3 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008633/0.2263, allocations: 354.2 kB / 346.7 MB, free: 492 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2264, allocations: 0 / 346.7 MB, free: 492 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.2268, allocations: 242.9 kB / 346.9 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005808/0.2274, allocations: 19.98 kB / 346.9 MB, free: 216 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.229, allocations: 0.7141 MB / 347.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.2295, allocations: 0.7558 MB / 348.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.009e-05/0.2296, allocations: 23.44 kB / 348.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2296, allocations: 0 / 348.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Templates: time 0.009237/0.2389, allocations: 3.926 MB / 352.4 MB, free: 10.73 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