Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009845, allocations: 92.55 kB / 16.96 MB, free: 6.453 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.001272/0.001272, allocations: 183.3 kB / 17.85 MB, free: 6 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.588/1.588, allocations: 223.3 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003009, allocations: 4 kB / 301.5 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 50.42 MB / 351.9 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004445/0.1351, allocations: 3.66 MB / 355.6 MB, free: 88 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.138, allocations: 1.511 MB / 357.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.1382, allocations: 12 kB / 357.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.1386, allocations: 167.1 kB / 357.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005467/0.1392, allocations: 202.7 kB / 357.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1406, allocations: 0.646 MB / 358.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.1413, allocations: 0.587 MB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.1429, allocations: 0.8414 MB / 359.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.1432, allocations: 227.1 kB / 359.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.1436, allocations: 302.8 kB / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.1437, allocations: 28 kB / 360.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.1443, allocations: 227.8 kB / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1444, allocations: 103.5 kB / 360.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1445, allocations: 137.4 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.1454, allocations: 0.7169 MB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1454, allocations: 0 / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1454, allocations: 0 / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1454, allocations: 4 kB / 361.2 MB, free: 10.35 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003363/0.1488, allocations: 1.155 MB / 362.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1488, allocations: 8.031 kB / 362.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.1502, allocations: 211 kB / 362.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1504, allocations: 238 kB / 362.8 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.1505, allocations: 61.95 kB / 362.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.1506, allocations: 72 kB / 363 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.1521, allocations: 0.7737 MB / 363.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.1522, allocations: 11.91 kB / 363.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.1522, allocations: 28 kB / 363.8 MB, free: 7.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.1523, allocations: 20 kB / 363.8 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.1537, allocations: 0.6767 MB / 364.5 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004679/0.1584, allocations: 3.118 MB / 367.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/0.1612, allocations: 2.076 MB / 369.7 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006302/0.1618, allocations: 343.1 kB / 370 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.162, allocations: 97.73 kB / 370.1 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.162, allocations: 39.22 kB / 370.1 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.104e-06/0.162, allocations: 0 / 370.1 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.234/0.396, allocations: 1.163 MB / 371.3 MB, free: 24.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3961, allocations: 115.4 kB / 371.4 MB, free: 24.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.3965, allocations: 270.9 kB / 371.7 MB, free: 24.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.3965, allocations: 37.8 kB / 371.7 MB, free: 24.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.3967, allocations: 299.1 kB / 372 MB, free: 24.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.3969, allocations: 241.1 kB / 372.2 MB, free: 24.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.397, allocations: 19.28 kB / 372.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3971, allocations: 352.9 kB / 372.6 MB, free: 23.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.3976, allocations: 237.1 kB / 372.8 MB, free: 23.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.3983, allocations: 406.8 kB / 373.2 MB, free: 23.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.3989, allocations: 293.5 kB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3989, allocations: 1.562 kB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001569/0.4005, allocations: 0.8488 MB / 374.4 MB, free: 23.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.4005, allocations: 13.69 kB / 374.4 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4005, allocations: 5.188 kB / 374.4 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.4009, allocations: 120.4 kB / 374.5 MB, free: 23.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.4016, allocations: 164.3 kB / 374.7 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.4041, allocations: 3.412 MB / 378.1 MB, free: 20.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.4046, allocations: 94.48 kB / 378.2 MB, free: 20.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.4046, allocations: 33.06 kB / 378.2 MB, free: 20.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002397/0.4049, allocations: 196.1 kB / 378.4 MB, free: 19.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.405, allocations: 39.61 kB / 378.4 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.4065, allocations: 0.768 MB / 379.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/0.4065, allocations: 7.531 kB / 379.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4066, allocations: 2.75 kB / 379.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4066, allocations: 5.031 kB / 379.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.4092, allocations: 1.515 MB / 380.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.4093, allocations: 1.125 kB / 380.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.4098, allocations: 115.5 kB / 380.8 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003357/0.4102, allocations: 117.3 kB / 381 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.4102, allocations: 15.09 kB / 381 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.4125, allocations: 3.106 MB / 384.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4125, allocations: 2.047 kB / 384.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.4145, allocations: 1.151 MB / 385.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4146, allocations: 128.2 kB / 385.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.4147, allocations: 17.59 kB / 385.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.4151, allocations: 32.92 kB / 385.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.4152, allocations: 56.61 kB / 385.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.4153, allocations: 19.08 kB / 385.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.4155, allocations: 196.8 kB / 385.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4155, allocations: 0 / 385.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008605/0.4163, allocations: 210.6 kB / 385.9 MB, free: 14.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000256/0.4166, allocations: 146.4 kB / 386 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.4183, allocations: 0.9014 MB / 386.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4183, allocations: 2.734 kB / 386.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008011/0.4191, allocations: 0.5747 MB / 387.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.4196, allocations: 45.23 kB / 387.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.4219, allocations: 1.402 MB / 388.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.4223, allocations: 0.871 MB / 389.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.4226, allocations: 53.2 kB / 389.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4226, allocations: 0.9688 kB / 389.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Templates: time 0.014/0.4366, allocations: 11.45 MB / 401.3 MB, free: 6.602 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.o] Error 1