Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 87.06 kB / 17.95 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.001582/0.001583, allocations: 176.3 kB / 18.86 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 2.239/2.239, allocations: 205.4 MB / 225 MB, free: 12.97 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.000504/0.0005039, allocations: 8 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 47.59 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006661/0.135, allocations: 4.128 MB / 333.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004051/0.1391, allocations: 1.7 MB / 335.4 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008716/0.14, allocations: 11.94 kB / 335.5 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1411, allocations: 402.7 kB / 335.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.1428, allocations: 390.2 kB / 336.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009791/0.1438, allocations: 263.8 kB / 336.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.1457, allocations: 0.9501 MB / 337.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.1463, allocations: 263.6 kB / 337.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008429/0.1472, allocations: 330.7 kB / 338 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009357/0.1481, allocations: 462.1 kB / 338.5 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.1483, allocations: 36 kB / 338.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003474/0.1487, allocations: 60 kB / 338.6 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.1489, allocations: 183.2 kB / 338.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007273/0.1497, allocations: 415.3 kB / 339.1 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.1509, allocations: 0.9817 MB / 340.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1509, allocations: 0 / 340.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1509, allocations: 0 / 340.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.488e-05/0.151, allocations: 0 / 340.1 MB, free: 9.18 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002757/0.1538, allocations: 1.087 MB / 341.2 MB, free: 8.043 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.1538, allocations: 8.031 kB / 341.2 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.1541, allocations: 99.72 kB / 341.3 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.1554, allocations: 0.5473 MB / 341.9 MB, free: 7.344 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.1556, allocations: 49.81 kB / 341.9 MB, free: 7.297 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.1557, allocations: 63.94 kB / 342 MB, free: 7.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.1576, allocations: 0.6674 MB / 342.6 MB, free: 6.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.1577, allocations: 4 kB / 342.6 MB, free: 6.547 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.1578, allocations: 28 kB / 342.7 MB, free: 6.52 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.1578, allocations: 16 kB / 342.7 MB, free: 6.504 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.1598, allocations: 0.5907 MB / 343.3 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006084/0.1659, allocations: 2.575 MB / 345.9 MB, free: 3.191 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.1675, allocations: 489.7 kB / 346.3 MB, free: 2.703 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.1686, allocations: 306 kB / 346.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.331e-05/0.1687, allocations: 4.438 kB / 346.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.265e-05/0.1688, allocations: 42.98 kB / 346.7 MB, free: 2.348 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 3.697e-06/0.1688, allocations: 0 / 346.7 MB, free: 2.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.007082/0.1759, allocations: 1.657 MB / 348.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.176, allocations: 55.97 kB / 348.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.1781, allocations: 0.9458 MB / 349.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.1782, allocations: 37.7 kB / 349.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005375/0.1788, allocations: 403.9 kB / 349.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.1791, allocations: 208.9 kB / 350 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.1793, allocations: 57.69 kB / 350 MB, free: 14.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.1795, allocations: 334 kB / 350.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009438/0.1805, allocations: 265.9 kB / 350.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.1816, allocations: 367.1 kB / 351 MB, free: 13.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.1836, allocations: 0.6026 MB / 351.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1836, allocations: 0 / 351.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002544/0.1862, allocations: 0.7775 MB / 352.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/0.1862, allocations: 8 kB / 352.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1862, allocations: 0 / 352.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.1863, allocations: 8 kB / 352.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.1874, allocations: 187.8 kB / 352.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.1874, allocations: 4 kB / 352.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/0.1881, allocations: 51.95 kB / 352.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.1882, allocations: 24 kB / 352.6 MB, free: 12.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006088/0.1888, allocations: 265.7 kB / 352.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.189, allocations: 86.91 kB / 353 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.1907, allocations: 0.6748 MB / 353.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.1907, allocations: 4 kB / 353.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1907, allocations: 0 / 353.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.1908, allocations: 7.969 kB / 353.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.1939, allocations: 1.867 MB / 355.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.1939, allocations: 4 kB / 355.5 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.1945, allocations: 143.7 kB / 355.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.1945, allocations: 4 kB / 355.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.1945, allocations: 16.16 kB / 355.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.1946, allocations: 8 kB / 355.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.1946, allocations: 7.984 kB / 355.7 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.196, allocations: 0.7809 MB / 356.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/0.1963, allocations: 208.1 kB / 356.7 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.1964, allocations: 12 kB / 356.7 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.1969, allocations: 51.97 kB / 356.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/0.197, allocations: 48.25 kB / 356.8 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.197, allocations: 16 kB / 356.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008847/0.1979, allocations: 0.6865 MB / 357.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1979, allocations: 0 / 357.5 MB, free: 7.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000597/0.1985, allocations: 163.9 kB / 357.7 MB, free: 7.031 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.1996, allocations: 364.6 kB / 358 MB, free: 6.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.201, allocations: 0.6204 MB / 358.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.201, allocations: 4.125 kB / 358.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.2017, allocations: 310.9 kB / 358.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.2027, allocations: 126.8 kB / 359.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.2057, allocations: 1.986 MB / 361.1 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.2063, allocations: 0.9594 MB / 362 MB, free: 2.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.2066, allocations: 67.41 kB / 362.1 MB, free: 2.52 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2066, allocations: 0 / 362.1 MB, free: 2.52 MB / 302.1 MB Notification: Performance of Templates: time 0.01753/0.2241, allocations: 9.671 MB / 371.8 MB, free: 8.832 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviourCalcHelperMain.o] Error 1