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.001476/0.001476, 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.001765/0.001765, 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 1.772/1.772, allocations: 205.1 MB / 224.6 MB, free: 12.5 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.001327/0.001327, allocations: 59.89 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1527, allocations: 46.63 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.02163/0.1744, allocations: 18.14 MB / 345.4 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.1876, allocations: 5.068 MB / 350.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004884/0.1926, allocations: 75.81 kB / 350.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.1954, allocations: 1.005 MB / 351.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.1996, allocations: 1.246 MB / 352.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.201, allocations: 0.5031 MB / 353.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005232/0.2063, allocations: 3.577 MB / 356.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.2085, allocations: 1.372 MB / 358.3 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.2102, allocations: 0.747 MB / 359 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.2119, allocations: 1.242 MB / 360.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003036/0.2123, allocations: 107.9 kB / 360.3 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.2143, allocations: 0.9125 MB / 361.3 MB, free: 2.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.2154, allocations: 1.032 MB / 362.3 MB, free: 1.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.2168, allocations: 1.226 MB / 363.5 MB, free: 492 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003737/0.2205, allocations: 3.134 MB / 366.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2205, allocations: 0 / 366.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2205, allocations: 0 / 366.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-05/0.2206, allocations: 0 / 366.7 MB, free: 13.34 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.005958/0.2266, allocations: 3.003 MB / 369.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2266, allocations: 12.03 kB / 369.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00528/0.2319, allocations: 1.569 MB / 371.2 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.235, allocations: 1.446 MB / 372.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.2351, allocations: 127 kB / 372.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/0.2355, allocations: 163.8 kB / 373 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2538/0.4893, allocations: 6.531 MB / 379.5 MB, free: 52.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.4895, allocations: 26.53 kB / 379.5 MB, free: 52.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004592/0.4899, allocations: 87.64 kB / 379.6 MB, free: 52.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003153/0.4931, allocations: 1.464 MB / 381.1 MB, free: 52.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/0.5071, allocations: 5.829 MB / 386.9 MB, free: 51.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03036/0.5375, allocations: 25.78 MB / 412.7 MB, free: 29.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004802/0.5423, allocations: 2.545 MB / 415.2 MB, free: 27.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.5436, allocations: 1.215 MB / 416.4 MB, free: 26.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006554/0.5501, allocations: 4.822 MB / 421.3 MB, free: 21.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.5502, allocations: 38.56 kB / 421.3 MB, free: 21.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 2.995e-06/0.5502, allocations: 3.938 kB / 421.3 MB, free: 21.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02174/0.5719, allocations: 9.799 MB / 431.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.5721, allocations: 144.9 kB / 431.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00342/0.5755, allocations: 2.733 MB / 434 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.5756, allocations: 33.7 kB / 434 MB, free: 8.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.5767, allocations: 2.042 MB / 436.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.5771, allocations: 428.7 kB / 436.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008688/0.578, allocations: 0.8371 MB / 437.3 MB, free: 4.891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.578, allocations: 305.1 kB / 437.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.5798, allocations: 1.445 MB / 439 MB, free: 3.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003835/0.5836, allocations: 4.073 MB / 443.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008739/0.5924, allocations: 5.959 MB / 449.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.295e-05/0.5925, allocations: 28 kB / 449.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01191/0.6044, allocations: 6.025 MB / 455.1 MB, free: 408 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.383e-05/0.6045, allocations: 44 kB / 455.2 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.916e-05/0.6046, allocations: 95.94 kB / 455.3 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/0.607, allocations: 0.8206 MB / 456.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/0.6099, allocations: 0.9474 MB / 457 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005976/0.6159, allocations: 4.339 MB / 461.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.619, allocations: 243.5 kB / 461.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/0.6193, allocations: 267.9 kB / 461.9 MB, free: 9.527 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.002345/0.6217, allocations: 1.368 MB / 463.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/0.6222, allocations: 225.1 kB / 463.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.6265, allocations: 2.134 MB / 465.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.6265, allocations: 12 kB / 465.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.6265, allocations: 8 kB / 465.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.6266, allocations: 9.328 kB / 465.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009421/0.636, allocations: 5.075 MB / 470.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.636, allocations: 0 / 470.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/0.6368, allocations: 155.8 kB / 470.9 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/0.6389, allocations: 0.6795 MB / 471.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.6391, allocations: 23.98 kB / 471.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005615/0.6447, allocations: 3.902 MB / 475.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.6447, allocations: 4 kB / 475.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007057/0.6518, allocations: 4.058 MB / 479.5 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.653, allocations: 453.9 kB / 480 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006088/0.6537, allocations: 20 kB / 480 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.6549, allocations: 75.89 kB / 480.1 MB, free: 7.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.6552, allocations: 56.36 kB / 480.1 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.6553, allocations: 31.98 kB / 480.1 MB, free: 6.953 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003822/0.6591, allocations: 1.697 MB / 481.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6591, allocations: 0 / 481.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004569/0.6637, allocations: 0.6784 MB / 482.5 MB, free: 4.578 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.0007362/0.6645, allocations: 195 kB / 482.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006544/0.671, allocations: 3.477 MB / 486.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.671, allocations: 3.938 kB / 486.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.6727, allocations: 1.04 MB / 487.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.6749, allocations: 247.5 kB / 487.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.6898, allocations: 7.149 MB / 494.6 MB, free: 8.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003534/0.6934, allocations: 2.237 MB / 496.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008105/0.6942, allocations: 195.4 kB / 497 MB, free: 5.961 MB / 382.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6943, allocations: 0 / 497 MB, free: 5.961 MB / 382.1 MB Notification: Performance of Templates: time 0.3542/1.048, allocations: 48.34 MB / 0.5326 GB, free: 131.6 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