Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0008588/0.0008584, allocations: 95.72 kB / 17.58 MB, free: 5.801 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.0008091/0.0008091, allocations: 181.5 kB / 18.48 MB, free: 5.254 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.741/1.741, allocations: 205.4 MB / 224.6 MB, free: 13.02 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.0004777/0.0004779, allocations: 12 kB / 281.4 MB, free: 3.691 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1167, allocations: 47.58 MB / 329 MB, free: 4.043 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004242/0.121, allocations: 3.631 MB / 332.6 MB, free: 400 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.124, allocations: 1.547 MB / 334.2 MB, free: 14.83 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.1243, allocations: 12 kB / 334.2 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.1248, allocations: 163.1 kB / 334.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.1254, allocations: 210.7 kB / 334.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1268, allocations: 0.6428 MB / 335.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006899/0.1275, allocations: 0.5832 MB / 335.8 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.1291, allocations: 0.8412 MB / 336.6 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.1295, allocations: 223.1 kB / 336.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.1299, allocations: 306.7 kB / 337.1 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.1299, allocations: 32 kB / 337.2 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.1305, allocations: 235.7 kB / 337.4 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.1306, allocations: 99.53 kB / 337.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1307, allocations: 137.4 kB / 337.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.1315, allocations: 0.7091 MB / 338.3 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1315, allocations: 0 / 338.3 MB, free: 10.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1316, allocations: 4 kB / 338.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1316, allocations: 0 / 338.3 MB, free: 10.62 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003356/0.1349, allocations: 1.147 MB / 339.5 MB, free: 9.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.135, allocations: 8.031 kB / 339.5 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.1363, allocations: 214.9 kB / 339.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.1366, allocations: 238.2 kB / 339.9 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.1367, allocations: 54 kB / 340 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.1368, allocations: 75.98 kB / 340.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.1383, allocations: 0.766 MB / 340.8 MB, free: 8.023 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.1384, allocations: 7.938 kB / 340.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.1385, allocations: 28 kB / 340.9 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.1385, allocations: 20 kB / 340.9 MB, free: 7.969 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.1399, allocations: 0.6844 MB / 341.6 MB, free: 7.281 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.1443, allocations: 3.115 MB / 344.7 MB, free: 3.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.1467, allocations: 2.089 MB / 346.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.1474, allocations: 327.8 kB / 347.1 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.1475, allocations: 105.7 kB / 347.2 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.1476, allocations: 43.22 kB / 347.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 3.757e-06/0.1476, allocations: 3.938 kB / 347.2 MB, free: 1.008 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.00262/0.1502, allocations: 1.169 MB / 348.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/0.1503, allocations: 115.4 kB / 348.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.1507, allocations: 270.5 kB / 348.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.1507, allocations: 41.7 kB / 348.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.151, allocations: 299.3 kB / 349.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.1512, allocations: 248.4 kB / 349.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1512, allocations: 16 kB / 349.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1514, allocations: 354.8 kB / 349.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.1519, allocations: 241.9 kB / 350 MB, free: 14.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/0.1526, allocations: 390.3 kB / 350.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.1533, allocations: 294.9 kB / 350.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1533, allocations: 0 / 350.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00171/0.155, allocations: 0.8462 MB / 351.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.155, allocations: 8 kB / 351.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.1551, allocations: 7.953 kB / 351.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/0.1555, allocations: 121.7 kB / 351.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.1561, allocations: 163.8 kB / 351.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00367/0.1598, allocations: 3.419 MB / 355.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/0.1604, allocations: 95.06 kB / 355.3 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.471e-05/0.1605, allocations: 31.98 kB / 355.3 MB, free: 8.488 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.0004787/0.161, allocations: 209.6 kB / 355.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.1611, allocations: 39.75 kB / 355.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.163, allocations: 0.757 MB / 356.3 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.163, allocations: 11.94 kB / 356.3 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.163, allocations: 4 kB / 356.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.163, allocations: 3.984 kB / 356.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.1658, allocations: 1.508 MB / 357.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.1659, allocations: 7.953 kB / 357.9 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005039/0.1664, allocations: 119.9 kB / 358 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003574/0.1667, allocations: 109.6 kB / 358.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.1668, allocations: 15.98 kB / 358.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00314/0.1699, allocations: 3.109 MB / 361.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.17, allocations: 0 / 361.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001926/0.1719, allocations: 1.152 MB / 362.4 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.1721, allocations: 124.5 kB / 362.5 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.1722, allocations: 8 kB / 362.5 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.1726, allocations: 44.03 kB / 362.5 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.1727, allocations: 52.52 kB / 362.6 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.1728, allocations: 27.95 kB / 362.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.173, allocations: 190 kB / 362.8 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.173, allocations: 0 / 362.8 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009722/0.174, allocations: 215.5 kB / 363 MB, free: 408 kB / 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.0002893/0.1743, allocations: 147.1 kB / 363.1 MB, free: 252 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.176, allocations: 0.8991 MB / 364 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.176, allocations: 0.8125 kB / 364 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008061/0.1769, allocations: 0.5674 MB / 364.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.1774, allocations: 36.56 kB / 364.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1798, allocations: 1.416 MB / 366.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.1804, allocations: 0.8616 MB / 366.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.1806, allocations: 59.41 kB / 367 MB, free: 12.3 MB / 318.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1806, allocations: 0 / 367 MB, free: 12.3 MB / 318.1 MB Notification: Performance of Templates: time 0.01603/0.1966, allocations: 11.41 MB / 378.4 MB, free: 0.875 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSectionsCalcHelperMain.o] Error 1