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.001331/0.001331, 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.001508/0.001508, 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.741/1.741, allocations: 205.1 MB / 224.6 MB, free: 12.38 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.001289/0.001289, allocations: 47.94 kB / 280.6 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1198, allocations: 46.64 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.03572/0.1555, allocations: 33.5 MB / 360.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.1751, allocations: 6.61 MB / 367.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009971/0.1852, allocations: 139.7 kB / 367.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00506/0.1903, allocations: 1.804 MB / 369.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005716/0.1961, allocations: 1.238 MB / 370.5 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1973, allocations: 199.7 kB / 370.7 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006964/0.2042, allocations: 4.274 MB / 375 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003858/0.2081, allocations: 2.118 MB / 377.1 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.2106, allocations: 0.891 MB / 378 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/0.2139, allocations: 1.67 MB / 379.7 MB, free: 204 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008812/0.2149, allocations: 148 kB / 379.8 MB, free: 56 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2878/0.5026, allocations: 459.5 kB / 380.3 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004019/0.5067, allocations: 1.28 MB / 381.6 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005616/0.5124, allocations: 1.573 MB / 383.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00805/0.5205, allocations: 3.679 MB / 386.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.5205, allocations: 1.156 kB / 386.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.5205, allocations: 0 / 386.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002043/0.5207, allocations: 6.594 kB / 386.8 MB, free: 12.77 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.01163/0.5324, allocations: 3.63 MB / 390.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.498e-05/0.5325, allocations: 13.72 kB / 390.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005951/0.5385, allocations: 1.643 MB / 392.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.5422, allocations: 1.55 MB / 393.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.5424, allocations: 153.2 kB / 393.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004614/0.5429, allocations: 208.2 kB / 394 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01255/0.5554, allocations: 6.975 MB / 401 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.653e-05/0.5556, allocations: 27.62 kB / 401 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/0.5559, allocations: 100.7 kB / 401.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002766/0.5587, allocations: 1.563 MB / 402.7 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.5701, allocations: 5.481 MB / 408.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04187/0.612, allocations: 27.26 MB / 435.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.6157, allocations: 1.587 MB / 437 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009193/0.6166, allocations: 470.9 kB / 437.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006201/0.6229, allocations: 2.589 MB / 440.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.623, allocations: 44.81 kB / 440.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 6.653e-06/0.623, allocations: 3.984 kB / 440.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.004873/0.6278, allocations: 1.66 MB / 441.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.628, allocations: 187.9 kB / 441.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/0.6394, allocations: 3.71 MB / 445.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.6396, allocations: 29.7 kB / 445.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003744/0.6434, allocations: 2.717 MB / 448.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009484/0.6443, allocations: 364.5 kB / 448.8 MB, free: 452 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003936/0.6483, allocations: 0.9665 MB / 449.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.6485, allocations: 309.1 kB / 450 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003246/0.6518, allocations: 1.192 MB / 451.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006226/0.658, allocations: 4.567 MB / 455.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009505/0.6676, allocations: 6.313 MB / 462.1 MB, free: 224 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002228/0.6679, allocations: 32 kB / 462.1 MB, free: 192 kB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01555/0.6834, allocations: 5.45 MB / 467.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002236/0.6837, allocations: 60 kB / 467.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003367/0.6841, allocations: 121.7 kB / 467.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.6843, allocations: 156 kB / 467.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004293/0.6886, allocations: 1.105 MB / 469 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00038/0.6891, allocations: 235.2 kB / 469.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00656/0.6956, allocations: 0.6802 MB / 469.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001312/0.697, allocations: 320 kB / 470.2 MB, free: 8.953 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.0055/0.7025, allocations: 1.726 MB / 472 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/0.7036, allocations: 299.2 kB / 472.3 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.7056, allocations: 494.6 kB / 472.7 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/0.7057, allocations: 8 kB / 472.7 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.7057, allocations: 8 kB / 472.8 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.7058, allocations: 3.984 kB / 472.8 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.7173, allocations: 3.132 MB / 475.9 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.7174, allocations: 0 / 475.9 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/0.718, allocations: 107.6 kB / 476 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/0.718, allocations: 10.5 kB / 476 MB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.7181, allocations: 17.8 kB / 476 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/0.7181, allocations: 7.984 kB / 476 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/0.7181, allocations: 6.812 kB / 476 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003565/0.7217, allocations: 2.035 MB / 478.1 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/0.7235, allocations: 421 kB / 478.5 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009967/0.7245, allocations: 19.91 kB / 478.5 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.7261, allocations: 28.03 kB / 478.5 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.7262, allocations: 54.5 kB / 478.6 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.7263, allocations: 24 kB / 478.6 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.006852/0.7332, allocations: 2.355 MB / 481 MB, free: 14.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7332, allocations: 0 / 481 MB, free: 14.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00721/0.7404, allocations: 0.8249 MB / 481.8 MB, free: 13.41 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.0006308/0.7411, allocations: 135.2 kB / 481.9 MB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006595/0.7477, allocations: 2.765 MB / 484.7 MB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.7477, allocations: 0 / 484.7 MB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.7485, allocations: 413 kB / 485.1 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/0.7524, allocations: 359.1 kB / 485.4 MB, free: 9.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02614/0.7785, allocations: 8.576 MB / 494 MB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006682/0.7853, allocations: 2.687 MB / 496.7 MB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009763/0.7863, allocations: 231.4 kB / 496.9 MB, free: 14.41 MB / 414.1 MB Notification: Performance of SimCode: time 1.342e-06/0.7863, allocations: 0 / 496.9 MB, free: 14.41 MB / 414.1 MB Notification: Performance of Templates: time 0.09821/0.8846, allocations: 43.6 MB / 0.5279 GB, free: 2.758 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