Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001165/0.001165, allocations: 92.22 kB / 16.95 MB, free: 5.672 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.001213/0.001214, allocations: 187 kB / 17.85 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 223.3 MB / 241.9 MB, free: 14.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003012, allocations: 8 kB / 301.5 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 50.42 MB / 351.9 MB, free: 3.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01601/0.1351, allocations: 16.27 MB / 368.2 MB, free: 3.426 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2778/0.413, allocations: 4.724 MB / 372.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003784/0.4168, allocations: 70.94 kB / 373 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003997/0.4208, allocations: 0.786 MB / 373.7 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01213/0.433, allocations: 2.644 MB / 376.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.4355, allocations: 474 kB / 376.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007002/0.4425, allocations: 2.8 MB / 379.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003835/0.4464, allocations: 1.574 MB / 381.2 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.4484, allocations: 0.7589 MB / 382 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.4507, allocations: 1.162 MB / 383.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004415/0.4512, allocations: 82.44 kB / 383.2 MB, free: 7.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.4534, allocations: 0.7574 MB / 384 MB, free: 7.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.4549, allocations: 0.9812 MB / 385 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007844/0.4557, allocations: 0.4992 MB / 385.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004238/0.4599, allocations: 3.066 MB / 388.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4599, allocations: 0 / 388.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4599, allocations: 0 / 388.5 MB, free: 5.457 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001184/0.4601, allocations: 0.9688 kB / 388.5 MB, free: 5.457 MB / 302.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.007178/0.4673, allocations: 2.535 MB / 391.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4673, allocations: 8 kB / 391.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005592/0.4729, allocations: 1.612 MB / 392.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/0.4772, allocations: 1.363 MB / 394 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.4775, allocations: 122 kB / 394.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006224/0.4781, allocations: 163.6 kB / 394.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.4896, allocations: 6.538 MB / 400.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.061e-05/0.4897, allocations: 27.81 kB / 400.9 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/0.49, allocations: 83.55 kB / 401 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002439/0.4925, allocations: 1.466 MB / 402.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.5051, allocations: 5.824 MB / 408.3 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04366/0.5488, allocations: 25.74 MB / 434 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006131/0.555, allocations: 2.573 MB / 436.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.5569, allocations: 1.223 MB / 437.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009215/0.5662, allocations: 4.802 MB / 442.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/0.5663, allocations: 44.09 kB / 442.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 5.54e-06/0.5663, allocations: 0 / 442.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.02786/0.5942, allocations: 9.745 MB / 452.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.777e-05/0.5943, allocations: 141 kB / 452.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005565/0.5999, allocations: 2.693 MB / 455.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003409/0.6003, allocations: 41.7 kB / 455.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002056/0.6023, allocations: 2.044 MB / 457.3 MB, free: 6.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007416/0.6031, allocations: 430.8 kB / 457.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.6033, allocations: 80 kB / 457.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003426/0.6036, allocations: 487 kB / 458.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002504/0.6061, allocations: 1.441 MB / 459.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004458/0.6106, allocations: 4.049 MB / 463.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/0.6143, allocations: 2.346 MB / 466.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.865e-05/0.6144, allocations: 28 kB / 466.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.0119/0.6263, allocations: 5.989 MB / 472.1 MB, free: 6.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.6264, allocations: 48 kB / 472.2 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001894/0.6267, allocations: 92 kB / 472.3 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002291/0.629, allocations: 0.8299 MB / 473.1 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/0.6323, allocations: 0.9512 MB / 474 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/0.6388, allocations: 4.343 MB / 478.4 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/0.6429, allocations: 239.6 kB / 478.6 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001115/0.6441, allocations: 266.7 kB / 478.9 MB, free: 15.91 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004042/0.6481, allocations: 1.368 MB / 480.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009277/0.6491, allocations: 229 kB / 480.5 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005836/0.6549, allocations: 2.13 MB / 482.6 MB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.652e-05/0.655, allocations: 12 kB / 482.6 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.655, allocations: 4 kB / 482.6 MB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.6551, allocations: 7.984 kB / 482.6 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.668, allocations: 5.08 MB / 487.7 MB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.6681, allocations: 0 / 487.7 MB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008203/0.6689, allocations: 159.8 kB / 487.9 MB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/0.6709, allocations: 0.6834 MB / 488.5 MB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/0.6711, allocations: 27.94 kB / 488.6 MB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005446/0.6765, allocations: 3.877 MB / 492.5 MB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.6766, allocations: 3.938 kB / 492.5 MB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007615/0.6842, allocations: 4.049 MB / 496.5 MB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.6854, allocations: 294.1 kB / 496.8 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008198/0.6862, allocations: 16.28 kB / 496.8 MB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.6872, allocations: 71.89 kB / 496.9 MB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.6875, allocations: 60.25 kB / 496.9 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.706e-05/0.6876, allocations: 43.05 kB / 497 MB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003332/0.6909, allocations: 1.678 MB / 498.7 MB, free: 11.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6909, allocations: 1.531 kB / 498.7 MB, free: 11.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004812/0.6957, allocations: 0.6718 MB / 499.3 MB, free: 11.19 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005742/0.6963, allocations: 180.1 kB / 499.5 MB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006723/0.7031, allocations: 3.45 MB / 0.4912 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.7031, allocations: 0 / 0.4912 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.7047, allocations: 1.045 MB / 0.4922 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/0.7072, allocations: 238.9 kB / 0.4924 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.7207, allocations: 6.956 MB / 0.4992 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/0.7233, allocations: 2.229 MB / 0.5014 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009612/0.7243, allocations: 195.4 kB / 0.5016 GB, free: 12.82 MB / 430.1 MB Notification: Performance of SimCode: time 1.522e-06/0.7243, allocations: 0 / 0.5016 GB, free: 12.82 MB / 430.1 MB Notification: Performance of Templates: time 0.3541/1.078, allocations: 47.9 MB / 0.5484 GB, free: 147.9 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityFieldCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityFieldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityFieldCalcHelperMain.o] Error 1