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.0008193/0.000819, allocations: 88.55 kB / 17.58 MB, free: 5.758 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.0008428/0.0008431, allocations: 186.4 kB / 18.48 MB, free: 5.203 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.719/1.719, allocations: 205.4 MB / 224.6 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.0004524/0.0004524, allocations: 8 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 47.58 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.02928/0.1367, allocations: 30.31 MB / 359.3 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.1548, allocations: 6.28 MB / 365.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005666/0.1605, allocations: 143.7 kB / 365.7 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004548/0.1651, allocations: 1.544 MB / 367.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.1782, allocations: 4.556 MB / 371.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.1801, allocations: 207.8 kB / 372 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2709/0.451, allocations: 17.46 MB / 389.5 MB, free: 17.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004538/0.4556, allocations: 2.431 MB / 391.9 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.4575, allocations: 0.8397 MB / 392.7 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.4598, allocations: 1.362 MB / 394.1 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.4601, allocations: 94.97 kB / 394.2 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.4612, allocations: 491.1 kB / 394.7 MB, free: 16.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.4626, allocations: 1.276 MB / 396 MB, free: 16.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005687/0.4632, allocations: 0.6022 MB / 396.6 MB, free: 16.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.4665, allocations: 3.508 MB / 400.1 MB, free: 16.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4665, allocations: 0 / 400.1 MB, free: 16.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.4665, allocations: 0 / 400.1 MB, free: 16.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.891e-05/0.4665, allocations: 5.297 kB / 400.1 MB, free: 16.29 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.0039/0.4704, allocations: 2.854 MB / 402.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4705, allocations: 7.906 kB / 402.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/0.4747, allocations: 1.664 MB / 404.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.4768, allocations: 1.44 MB / 406 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.4769, allocations: 147.5 kB / 406.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/0.4772, allocations: 199.6 kB / 406.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007827/0.4851, allocations: 6.975 MB / 413.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/0.4851, allocations: 33.75 kB / 413.4 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.4854, allocations: 99.67 kB / 413.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001735/0.4871, allocations: 1.563 MB / 415 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007708/0.4948, allocations: 5.453 MB / 420.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03116/0.526, allocations: 27.18 MB / 447.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/0.5298, allocations: 1.586 MB / 449.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009568/0.5308, allocations: 467.7 kB / 449.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004204/0.535, allocations: 2.585 MB / 452.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.535, allocations: 46.55 kB / 452.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 3.096e-06/0.535, allocations: 0 / 452.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.0035/0.5385, allocations: 1.632 MB / 454 MB, free: 6.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.5387, allocations: 199.1 kB / 454.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004728/0.5434, allocations: 3.413 MB / 457.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.5435, allocations: 33.7 kB / 457.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002017/0.5455, allocations: 2.594 MB / 460.2 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.5458, allocations: 367.4 kB / 460.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.546, allocations: 96 kB / 460.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003162/0.5463, allocations: 0.5055 MB / 461.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.5481, allocations: 1.18 MB / 462.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004481/0.5526, allocations: 4.554 MB / 466.9 MB, free: 7.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003296/0.5559, allocations: 2.28 MB / 469.2 MB, free: 5.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.507e-05/0.5559, allocations: 36 kB / 469.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.008731/0.5647, allocations: 5.397 MB / 474.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.116e-05/0.5648, allocations: 60 kB / 474.7 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.5649, allocations: 120 kB / 474.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/0.5651, allocations: 172 kB / 475 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/0.5679, allocations: 1.107 MB / 476.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001874/0.5681, allocations: 231.1 kB / 476.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003698/0.5718, allocations: 0.6981 MB / 477 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/0.5722, allocations: 312 kB / 477.3 MB, free: 13.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003067/0.5753, allocations: 1.68 MB / 479 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006196/0.5759, allocations: 268.4 kB / 479.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009566/0.5769, allocations: 475.5 kB / 479.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/0.5769, allocations: 8 kB / 479.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.5769, allocations: 8 kB / 479.7 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.5769, allocations: 3.984 kB / 479.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005269/0.5822, allocations: 3.036 MB / 482.8 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5823, allocations: 4.281 kB / 482.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.5827, allocations: 107.8 kB / 482.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.5827, allocations: 8 kB / 482.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/0.5828, allocations: 15.95 kB / 482.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.5828, allocations: 7.984 kB / 482.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5828, allocations: 5.859 kB / 482.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.5852, allocations: 2.012 MB / 484.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008556/0.586, allocations: 421.2 kB / 485.3 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.5862, allocations: 8 kB / 485.3 MB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/0.587, allocations: 46.88 kB / 485.4 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5871, allocations: 35.95 kB / 485.4 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/0.5872, allocations: 35.92 kB / 485.5 MB, free: 5.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003635/0.5908, allocations: 2.169 MB / 487.6 MB, free: 3.438 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5908, allocations: 0 / 487.6 MB, free: 3.438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005105/0.5959, allocations: 0.8155 MB / 488.4 MB, free: 2.621 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004488/0.5964, allocations: 153.8 kB / 488.6 MB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005052/0.6015, allocations: 2.753 MB / 491.4 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.6015, allocations: 4 kB / 491.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005577/0.6021, allocations: 404.2 kB / 491.7 MB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.604, allocations: 350.5 kB / 492.1 MB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.6167, allocations: 8.215 MB / 0.4886 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002732/0.6195, allocations: 2.551 MB / 0.4911 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/0.6202, allocations: 223.4 kB / 0.4913 GB, free: 3.93 MB / 398.1 MB Notification: Performance of SimCode: time 1.683e-06/0.6202, allocations: 1.75 kB / 0.4913 GB, free: 3.93 MB / 398.1 MB Notification: Performance of Templates: time 0.3552/0.9754, allocations: 63.31 MB / 0.5531 GB, free: 148.3 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++ 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_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