Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 98.86 kB / 17.96 MB, free: 5.77 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.00144/0.001441, allocations: 178.8 kB / 18.86 MB, free: 4.906 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.941/1.941, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005491/0.000549, allocations: 8 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.04089/0.1653, allocations: 32.54 MB / 362.2 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02202/0.1874, allocations: 6.568 MB / 368.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008863/0.1963, allocations: 143.6 kB / 368.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.1981, allocations: 334.4 kB / 369.2 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.2032, allocations: 1.25 MB / 370.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009963/0.2043, allocations: 195.7 kB / 370.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007124/0.2114, allocations: 4.262 MB / 374.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005836/0.2173, allocations: 2.747 MB / 377.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.2196, allocations: 0.7739 MB / 378.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.223, allocations: 1.518 MB / 379.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008287/0.2239, allocations: 96 kB / 380 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.2252, allocations: 407.3 kB / 380.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2856/0.5108, allocations: 1.209 MB / 381.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002382/0.5133, allocations: 1.504 MB / 383.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005918/0.5192, allocations: 3.6 MB / 386.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5192, allocations: 4 kB / 386.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5192, allocations: 0 / 386.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002366/0.5195, allocations: 3.938 kB / 386.7 MB, free: 12.73 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: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.008108/0.5276, allocations: 2.994 MB / 389.7 MB, free: 11.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5277, allocations: 13.72 kB / 389.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006163/0.5338, allocations: 1.692 MB / 391.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003465/0.5373, allocations: 1.559 MB / 393 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.5375, allocations: 152 kB / 393.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/0.5379, allocations: 201.7 kB / 393.4 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.5498, allocations: 6.98 MB / 400.3 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-05/0.5499, allocations: 26.25 kB / 400.4 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.5502, allocations: 106 kB / 400.5 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002407/0.5526, allocations: 1.559 MB / 402 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.563, allocations: 5.489 MB / 407.5 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03469/0.5978, allocations: 27.28 MB / 434.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/0.6013, allocations: 1.594 MB / 436.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008773/0.6022, allocations: 468.9 kB / 436.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005133/0.6073, allocations: 2.581 MB / 439.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.6074, allocations: 49 kB / 439.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 2.505e-06/0.6074, allocations: 6.344 kB / 439.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.004076/0.6115, allocations: 1.659 MB / 441.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.6116, allocations: 194.5 kB / 441.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006468/0.6181, allocations: 3.714 MB / 445 MB, free: 5.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.6183, allocations: 41.64 kB / 445.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.6207, allocations: 2.709 MB / 447.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004958/0.6212, allocations: 361.2 kB / 448.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005832/0.6218, allocations: 411.3 kB / 448.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.622, allocations: 305.1 kB / 448.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.624, allocations: 1.2 MB / 450 MB, free: 180 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004612/0.6286, allocations: 4.571 MB / 454.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00961/0.6383, allocations: 6.31 MB / 460.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002029/0.6385, allocations: 36 kB / 461 MB, free: 2.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01431/0.6528, allocations: 5.453 MB / 466.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.049e-05/0.653, allocations: 59.98 kB / 466.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/0.6532, allocations: 120 kB / 466.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.6533, allocations: 156.7 kB / 466.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/0.657, allocations: 1.101 MB / 467.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002112/0.6572, allocations: 239.7 kB / 468.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/0.6618, allocations: 0.6919 MB / 468.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007835/0.6626, allocations: 312 kB / 469.1 MB, free: 11.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (597): * Single equations (assignments): 594 * Array equations: 3 * 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.004518/0.6671, allocations: 1.727 MB / 470.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009804/0.6681, allocations: 301.2 kB / 471.1 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.6696, allocations: 0.4922 MB / 471.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/0.6697, allocations: 12 kB / 471.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.6697, allocations: 4 kB / 471.6 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.6697, allocations: 4 kB / 471.6 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008014/0.6777, allocations: 3.129 MB / 474.7 MB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.6778, allocations: 4 kB / 474.7 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.6783, allocations: 111.7 kB / 474.8 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.6783, allocations: 4 kB / 474.9 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.6784, allocations: 16 kB / 474.9 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.6784, allocations: 8.281 kB / 474.9 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.6784, allocations: 10.72 kB / 474.9 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.6812, allocations: 2.039 MB / 476.9 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.6823, allocations: 441.3 kB / 477.4 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.6826, allocations: 16 kB / 477.4 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008602/0.6835, allocations: 30.08 kB / 477.4 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.6836, allocations: 51.7 kB / 477.5 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.6836, allocations: 31.98 kB / 477.5 MB, free: 2.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004081/0.6877, allocations: 2.361 MB / 479.8 MB, free: 396 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6877, allocations: 3.938 kB / 479.8 MB, free: 392 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.005522/0.6933, allocations: 0.8083 MB / 480.7 MB, free: 15.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * 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.000538/0.6938, allocations: 144.7 kB / 480.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00593/0.6998, allocations: 2.768 MB / 483.6 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.6998, allocations: 0 / 483.6 MB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006631/0.7005, allocations: 407.8 kB / 484 MB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005152/0.7056, allocations: 362.4 kB / 484.3 MB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/0.7263, allocations: 8.643 MB / 493 MB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005144/0.7315, allocations: 2.687 MB / 495.6 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008263/0.7323, allocations: 231.4 kB / 495.9 MB, free: 432 kB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7324, allocations: 3.938 kB / 495.9 MB, free: 428 kB / 398.1 MB Notification: Performance of Templates: time 0.09079/0.8232, allocations: 42.98 MB / 0.5262 GB, free: 5.402 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.SurfacesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SurfacesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SurfacesCalcHelperMain.o] Error 1