Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 93.61 kB / 17.96 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.001503/0.001503, allocations: 180.1 kB / 18.86 MB, free: 4.773 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.1/2.1, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005341/0.0005345, allocations: 12 kB / 282 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1527, allocations: 47.59 MB / 329.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.008351/0.1611, allocations: 4.732 MB / 334.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005674/0.1668, allocations: 1.683 MB / 336 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.1676, allocations: 16 kB / 336.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.1687, allocations: 262.9 kB / 336.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.1702, allocations: 274.3 kB / 336.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.1727, allocations: 0.7595 MB / 337.3 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.1744, allocations: 0.774 MB / 338.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.1785, allocations: 1.499 MB / 339.6 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007569/0.1792, allocations: 286.7 kB / 339.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007493/0.18, allocations: 410.2 kB / 340.3 MB, free: 8.992 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.773e-05/0.1801, allocations: 36 kB / 340.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009936/0.1811, allocations: 219.8 kB / 340.5 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.1813, allocations: 127.4 kB / 340.7 MB, free: 8.617 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005864/0.1819, allocations: 407.5 kB / 341.1 MB, free: 8.211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.1834, allocations: 0.8922 MB / 342 MB, free: 7.316 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.1835, allocations: 4 kB / 342 MB, free: 7.312 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.1835, allocations: 0 / 342 MB, free: 7.312 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.1835, allocations: 0 / 342 MB, free: 7.312 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005409/0.1889, allocations: 1.283 MB / 343.2 MB, free: 5.977 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.189, allocations: 8.031 kB / 343.3 MB, free: 5.969 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.1916, allocations: 251.7 kB / 343.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.192, allocations: 263.2 kB / 343.8 MB, free: 5.426 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.416e-05/0.192, allocations: 74.38 kB / 343.8 MB, free: 5.355 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.1922, allocations: 100.3 kB / 343.9 MB, free: 5.258 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.194, allocations: 0.9422 MB / 344.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.194, allocations: 11.88 kB / 344.9 MB, free: 4.289 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/0.1941, allocations: 40 kB / 344.9 MB, free: 4.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/0.1941, allocations: 24 kB / 344.9 MB, free: 4.227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.1955, allocations: 0.777 MB / 345.7 MB, free: 3.453 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00605/0.2016, allocations: 3.396 MB / 349.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/0.2038, allocations: 1.256 MB / 350.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.2044, allocations: 373.2 kB / 350.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.2046, allocations: 102.1 kB / 350.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.2046, allocations: 51.5 kB / 350.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.326e-06/0.2046, allocations: 0 / 350.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002491/0.2071, allocations: 1.308 MB / 352.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.2072, allocations: 90.14 kB / 352.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.2077, allocations: 364.3 kB / 352.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.2078, allocations: 37.7 kB / 352.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.2082, allocations: 378.9 kB / 353 MB, free: 11.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.2085, allocations: 303.7 kB / 353.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.2086, allocations: 81.67 kB / 353.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.2089, allocations: 358.8 kB / 353.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.2094, allocations: 266.5 kB / 354 MB, free: 10.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.2101, allocations: 479.4 kB / 354.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.2113, allocations: 0.7705 MB / 355.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.2113, allocations: 7.938 kB / 355.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001776/0.2131, allocations: 0.9725 MB / 356.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.2131, allocations: 4 kB / 356.3 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.2132, allocations: 8 kB / 356.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/0.2136, allocations: 127.8 kB / 356.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/0.2144, allocations: 203.7 kB / 356.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005074/0.2195, allocations: 5.582 MB / 362.2 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008764/0.2204, allocations: 102.8 kB / 362.3 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-05/0.2204, allocations: 44.11 kB / 362.3 MB, free: 1.68 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005082/0.221, allocations: 241.4 kB / 362.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.2211, allocations: 47.44 kB / 362.6 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.2226, allocations: 0.8483 MB / 363.4 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.2227, allocations: 8 kB / 363.5 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.2227, allocations: 7.938 kB / 363.5 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.2227, allocations: 3.984 kB / 363.5 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.2258, allocations: 1.925 MB / 365.4 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.2258, allocations: 4 kB / 365.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/0.2265, allocations: 140.1 kB / 365.5 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/0.2269, allocations: 111.3 kB / 365.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.015e-05/0.2269, allocations: 19.94 kB / 365.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004376/0.2313, allocations: 5.314 MB / 371 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2313, allocations: 0 / 371 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.2334, allocations: 1.272 MB / 372.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.2337, allocations: 144.3 kB / 372.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.2338, allocations: 23.94 kB / 372.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.2341, allocations: 23.98 kB / 372.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.2343, allocations: 64.58 kB / 372.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.2343, allocations: 24 kB / 372.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003274/0.2347, allocations: 255.2 kB / 372.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.2347, allocations: 4 kB / 372.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001105/0.2358, allocations: 259.4 kB / 373 MB, free: 6.184 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.0003218/0.2361, allocations: 147 kB / 373.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.238, allocations: 1.166 MB / 374.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.238, allocations: 4 kB / 374.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009113/0.239, allocations: 0.7915 MB / 375.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.2396, allocations: 61.42 kB / 375.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.2426, allocations: 1.849 MB / 377 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.2432, allocations: 0.9148 MB / 378 MB, free: 1.051 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.2435, allocations: 59.42 kB / 378 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of SimCode: time 1.282e-06/0.2435, allocations: 0 / 378 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of Templates: time 0.229/0.4725, allocations: 20.81 MB / 398.8 MB, free: 41.93 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.CylinderLeakageCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakageCalcHelperMain.o] Error 1