Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 92.45 kB / 17.96 MB, free: 5.297 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.001583/0.001583, allocations: 176.2 kB / 18.86 MB, free: 4.645 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.932/1.932, allocations: 205.4 MB / 225 MB, free: 13.05 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.000503/0.0005033, allocations: 12 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1224, allocations: 47.59 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01844/0.1409, allocations: 17.49 MB / 347.1 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.1541, allocations: 5.01 MB / 352.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00434/0.1585, allocations: 75.75 kB / 352.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.1599, allocations: 278.7 kB / 352.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.1642, allocations: 1.258 MB / 353.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.1657, allocations: 0.4991 MB / 354.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00511/0.1708, allocations: 3.577 MB / 357.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003304/0.1741, allocations: 1.732 MB / 359.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.1755, allocations: 0.6923 MB / 360.2 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.177, allocations: 1.176 MB / 361.4 MB, free: 3.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.1772, allocations: 84 kB / 361.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.179, allocations: 0.8852 MB / 362.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000933/0.1799, allocations: 1.017 MB / 363.4 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.1811, allocations: 1.212 MB / 364.6 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.1843, allocations: 3.075 MB / 367.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1843, allocations: 4 kB / 367.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1843, allocations: 0 / 367.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.731e-05/0.1843, allocations: 4 kB / 367.7 MB, free: 13.51 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.004612/0.189, allocations: 2.497 MB / 370.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.189, allocations: 8.031 kB / 370.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005639/0.1947, allocations: 1.612 MB / 371.8 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/0.1982, allocations: 1.45 MB / 373.3 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.1983, allocations: 131 kB / 373.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/0.1987, allocations: 159.9 kB / 373.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.2107, allocations: 6.538 MB / 380.1 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.493e-05/0.2109, allocations: 27.72 kB / 380.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/0.2111, allocations: 87.83 kB / 380.2 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2781/0.4893, allocations: 1.467 MB / 381.7 MB, free: 50.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/0.5033, allocations: 5.835 MB / 387.5 MB, free: 49.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02773/0.5311, allocations: 25.77 MB / 413.3 MB, free: 29.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005184/0.5363, allocations: 2.573 MB / 415.8 MB, free: 26.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.5375, allocations: 1.223 MB / 417.1 MB, free: 25.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006236/0.5438, allocations: 4.813 MB / 421.9 MB, free: 20.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.5438, allocations: 42.5 kB / 421.9 MB, free: 20.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.637e-06/0.5439, allocations: 0 / 421.9 MB, free: 20.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02121/0.5651, allocations: 9.779 MB / 431.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.5652, allocations: 140.9 kB / 431.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/0.5683, allocations: 2.718 MB / 434.5 MB, free: 7.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.5684, allocations: 37.7 kB / 434.6 MB, free: 7.742 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.5695, allocations: 2.049 MB / 436.6 MB, free: 5.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003888/0.5699, allocations: 427.1 kB / 437 MB, free: 5.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/0.5703, allocations: 350.8 kB / 437.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.5703, allocations: 305.1 kB / 437.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.572, allocations: 1.449 MB / 439.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003617/0.5756, allocations: 4.073 MB / 443.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007837/0.5835, allocations: 5.955 MB / 449.2 MB, free: 6.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.888e-05/0.5836, allocations: 28 kB / 449.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01222/0.5958, allocations: 6.038 MB / 455.2 MB, free: 444 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.147e-05/0.596, allocations: 48.22 kB / 455.3 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.5961, allocations: 92 kB / 455.4 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/0.5986, allocations: 0.817 MB / 456.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003113/0.6017, allocations: 0.9459 MB / 457.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006061/0.6078, allocations: 4.339 MB / 461.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003813/0.6117, allocations: 251.3 kB / 461.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008144/0.6125, allocations: 260 kB / 462 MB, free: 9.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (502): * Single equations (assignments): 498 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003663/0.6162, allocations: 1.372 MB / 463.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007158/0.6169, allocations: 232.4 kB / 463.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/0.6223, allocations: 2.134 MB / 465.7 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/0.6223, allocations: 12 kB / 465.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.6223, allocations: 4 kB / 465.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.632e-05/0.6224, allocations: 3.984 kB / 465.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.6345, allocations: 5.082 MB / 470.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.6345, allocations: 8.031 kB / 470.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008162/0.6354, allocations: 155.8 kB / 471 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/0.6376, allocations: 0.6756 MB / 471.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/0.6378, allocations: 20.62 kB / 471.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/0.6437, allocations: 3.895 MB / 475.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6438, allocations: 0 / 475.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007136/0.6509, allocations: 4.06 MB / 479.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/0.6524, allocations: 453.9 kB / 480.1 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006944/0.6532, allocations: 24.84 kB / 480.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.6545, allocations: 75.89 kB / 480.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.6547, allocations: 52.38 kB / 480.2 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.884e-05/0.6548, allocations: 33.16 kB / 480.2 MB, free: 7.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004424/0.6593, allocations: 1.697 MB / 481.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6593, allocations: 0 / 481.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005062/0.6644, allocations: 0.6723 MB / 482.6 MB, free: 4.652 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006552/0.665, allocations: 201.7 kB / 482.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007514/0.6726, allocations: 3.481 MB / 486.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.6726, allocations: 4 kB / 486.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001655/0.6743, allocations: 1.037 MB / 487.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.677, allocations: 250.9 kB / 487.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.6912, allocations: 7.223 MB / 494.8 MB, free: 8.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/0.6939, allocations: 2.237 MB / 497 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/0.6947, allocations: 195.4 kB / 497.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of SimCode: time 2.094e-06/0.6947, allocations: 0 / 497.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of Templates: time 0.3316/1.026, allocations: 47.85 MB / 0.5323 GB, free: 131.5 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityFieldCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityFieldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityFieldCalcHelperMain.o] Error 1