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.001936/0.001936, 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.002525/0.002526, 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 2.149/2.149, 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.001354/0.001354, allocations: 51.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1635, allocations: 46.64 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.009087/0.1726, allocations: 4.525 MB / 331.8 MB, free: 340 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004966/0.1777, allocations: 1.727 MB / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.1789, allocations: 11.94 kB / 333.5 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.1805, allocations: 398.7 kB / 333.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.1824, allocations: 382.2 kB / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.1836, allocations: 271.7 kB / 334.6 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.1859, allocations: 0.954 MB / 335.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007089/0.1867, allocations: 259.7 kB / 335.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000791/0.1875, allocations: 354.8 kB / 336.1 MB, free: 12 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006413/0.1881, allocations: 486.1 kB / 336.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.1883, allocations: 48 kB / 336.6 MB, free: 11.47 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.1885, allocations: 72 kB / 336.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.1887, allocations: 195.2 kB / 336.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.1892, allocations: 405.6 kB / 337.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.1902, allocations: 1.009 MB / 338.3 MB, free: 9.801 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1903, allocations: 0 / 338.3 MB, free: 9.801 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1903, allocations: 0 / 338.3 MB, free: 9.801 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1903, allocations: 0 / 338.3 MB, free: 9.801 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.002763/0.193, allocations: 1.203 MB / 339.5 MB, free: 8.547 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.1931, allocations: 12.03 kB / 339.5 MB, free: 8.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.1933, allocations: 99.72 kB / 339.6 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009991/0.1943, allocations: 0.5473 MB / 340.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.1944, allocations: 45.88 kB / 340.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.1946, allocations: 67.84 kB / 340.3 MB, free: 7.734 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.196, allocations: 0.6518 MB / 340.9 MB, free: 7.066 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.196, allocations: 0 / 340.9 MB, free: 7.066 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.1961, allocations: 24 kB / 340.9 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.1961, allocations: 12 kB / 341 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.1975, allocations: 0.5634 MB / 341.5 MB, free: 6.469 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/0.2019, allocations: 2.552 MB / 344.1 MB, free: 3.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.203, allocations: 473.8 kB / 344.5 MB, free: 3.297 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007353/0.2037, allocations: 298 kB / 344.8 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.059e-05/0.2038, allocations: 12.42 kB / 344.8 MB, free: 2.992 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.2039, allocations: 35 kB / 344.9 MB, free: 2.949 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.454e-06/0.2039, allocations: 7.938 kB / 344.9 MB, free: 2.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004986/0.2089, allocations: 1.477 MB / 346.4 MB, free: 1.457 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.209, allocations: 59.97 kB / 346.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.2104, allocations: 0.9496 MB / 347.4 MB, free: 440 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.2105, allocations: 33.7 kB / 347.4 MB, free: 400 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000493/0.211, allocations: 408.2 kB / 347.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.2113, allocations: 209 kB / 348 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.2115, allocations: 118.6 kB / 348.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.2117, allocations: 334 kB / 348.4 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007091/0.2125, allocations: 241.9 kB / 348.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.2132, allocations: 351 kB / 349 MB, free: 14.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.2146, allocations: 0.5635 MB / 349.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2146, allocations: 0 / 349.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001778/0.2164, allocations: 0.7307 MB / 350.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.2164, allocations: 12.03 kB / 350.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.2164, allocations: 0 / 350.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.2165, allocations: 8 kB / 350.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008279/0.2173, allocations: 175.7 kB / 350.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.2173, allocations: 8 kB / 350.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.2179, allocations: 35.97 kB / 350.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.218, allocations: 31.98 kB / 350.6 MB, free: 13.11 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.0004761/0.2185, allocations: 261.7 kB / 350.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.2186, allocations: 90.84 kB / 350.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.2202, allocations: 0.6319 MB / 351.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.2203, allocations: 8 kB / 351.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.685e-05/0.2203, allocations: 0 / 351.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.2203, allocations: 3.984 kB / 351.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003359/0.2237, allocations: 1.821 MB / 353.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.2237, allocations: 8.031 kB / 353.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.2243, allocations: 127.8 kB / 353.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.2243, allocations: 7.938 kB / 353.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.2244, allocations: 16 kB / 353.5 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/0.2244, allocations: 4 kB / 353.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.2244, allocations: 11.97 kB / 353.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.2259, allocations: 0.7458 MB / 354.3 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003036/0.2262, allocations: 200 kB / 354.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.2263, allocations: 16 kB / 354.5 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004484/0.2268, allocations: 39.95 kB / 354.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.2269, allocations: 48.27 kB / 354.6 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/0.227, allocations: 27.92 kB / 354.6 MB, free: 8.852 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009511/0.2279, allocations: 0.6865 MB / 355.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2279, allocations: 0 / 355.3 MB, free: 8.168 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006443/0.2286, allocations: 152 kB / 355.5 MB, free: 8.02 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.001008/0.2296, allocations: 362.4 kB / 355.8 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.2311, allocations: 0.5774 MB / 356.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.2311, allocations: 4.062 kB / 356.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000656/0.2318, allocations: 294.2 kB / 356.7 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.2327, allocations: 127.5 kB / 356.8 MB, free: 6.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.2363, allocations: 1.916 MB / 358.7 MB, free: 4.695 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008395/0.2372, allocations: 0.9594 MB / 359.7 MB, free: 3.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.2375, allocations: 67.36 kB / 359.7 MB, free: 3.641 MB / 302.1 MB Notification: Performance of SimCode: time 1.232e-06/0.2375, allocations: 4 kB / 359.8 MB, free: 3.637 MB / 302.1 MB Notification: Performance of Templates: time 0.0242/0.2617, allocations: 9.799 MB / 369.6 MB, free: 9.82 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