Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.Surfaces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001129/0.00113, allocations: 92.22 kB / 16.95 MB, free: 5.953 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.001419/0.001419, allocations: 178.8 kB / 17.84 MB, free: 5.621 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.659/1.659, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002898, allocations: 11.94 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1347, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.3204/0.4552, allocations: 30.28 MB / 382.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02153/0.4768, allocations: 6.291 MB / 388.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009802/0.4867, allocations: 138.6 kB / 388.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007445/0.4941, allocations: 1.549 MB / 390.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02078/0.515, allocations: 4.562 MB / 394.7 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.5179, allocations: 216.2 kB / 394.9 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.04618/0.5641, allocations: 31.07 MB / 426 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00546/0.5696, allocations: 2.422 MB / 428.4 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.5718, allocations: 0.8365 MB / 429.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.574, allocations: 1.371 MB / 430.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003636/0.5744, allocations: 96 kB / 430.7 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.5756, allocations: 0.4992 MB / 431.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.577, allocations: 1.27 MB / 432.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007206/0.5777, allocations: 0.6012 MB / 433.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00393/0.5817, allocations: 3.507 MB / 436.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.5817, allocations: 3.938 kB / 436.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5817, allocations: 0 / 436.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.213e-05/0.5818, allocations: 0 / 436.6 MB, free: 15.95 MB / 350.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.00539/0.5872, allocations: 2.854 MB / 439.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/0.5873, allocations: 8.031 kB / 439.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0053/0.5926, allocations: 1.672 MB / 441.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00384/0.5965, allocations: 1.44 MB / 442.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.5966, allocations: 155.8 kB / 442.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004391/0.5971, allocations: 199.9 kB / 442.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.6093, allocations: 6.964 MB / 449.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.6094, allocations: 31.7 kB / 449.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005706/0.61, allocations: 99.88 kB / 450 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002523/0.6126, allocations: 1.555 MB / 451.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.624, allocations: 5.457 MB / 457 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04071/0.6648, allocations: 27.18 MB / 484.2 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/0.6679, allocations: 1.584 MB / 485.8 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/0.6688, allocations: 472.9 kB / 486.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005374/0.6742, allocations: 2.566 MB / 488.8 MB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.6743, allocations: 50.36 kB / 488.8 MB, free: 9.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=80): time 5.14e-06/0.6743, allocations: 0 / 488.8 MB, free: 9.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=80): time 0.004272/0.6786, allocations: 1.642 MB / 490.5 MB, free: 8.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.6788, allocations: 191.9 kB / 490.7 MB, free: 7.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008001/0.6868, allocations: 3.416 MB / 494.1 MB, free: 4.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.6869, allocations: 42.11 kB / 494.1 MB, free: 4.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002809/0.6898, allocations: 2.595 MB / 496.7 MB, free: 1.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006491/0.6904, allocations: 363.9 kB / 497.1 MB, free: 1.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003549/0.6908, allocations: 99.94 kB / 497.2 MB, free: 1.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004687/0.6913, allocations: 0.4967 MB / 497.7 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/0.6938, allocations: 1.18 MB / 498.9 MB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005925/0.6998, allocations: 4.549 MB / 0.4916 GB, free: 9.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.7039, allocations: 2.293 MB / 0.4939 GB, free: 7.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001569/0.704, allocations: 36 kB / 0.4939 GB, free: 7.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01071/0.7148, allocations: 5.39 MB / 0.4991 GB, free: 1.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.128e-05/0.7149, allocations: 56 kB / 0.4992 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.715, allocations: 124 kB / 0.4993 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.7152, allocations: 176 kB / 0.4995 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.7181, allocations: 1.107 MB / 0.5006 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001984/0.7183, allocations: 231.1 kB / 0.5008 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003858/0.7222, allocations: 0.6961 MB / 0.5015 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004338/0.7226, allocations: 316 kB / 0.5018 GB, free: 14.93 MB / 430.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.003039/0.7257, allocations: 1.669 MB / 0.5034 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/0.7263, allocations: 272.4 kB / 0.5037 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009577/0.7273, allocations: 475.1 kB / 0.5041 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.733e-05/0.7273, allocations: 15.95 kB / 0.5041 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.7273, allocations: 0 / 0.5041 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.7273, allocations: 7.984 kB / 0.5041 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005613/0.7329, allocations: 3.04 MB / 0.5071 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.733, allocations: 4 kB / 0.5071 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.7335, allocations: 107.8 kB / 0.5072 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.7335, allocations: 8 kB / 0.5072 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.7336, allocations: 20 kB / 0.5072 GB, free: 9.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.7336, allocations: 4 kB / 0.5072 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.7336, allocations: 4 kB / 0.5072 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/0.736, allocations: 2.016 MB / 0.5092 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008086/0.7368, allocations: 421.5 kB / 0.5096 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.737, allocations: 12.06 kB / 0.5096 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/0.7378, allocations: 39.97 kB / 0.5097 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.7379, allocations: 47.84 kB / 0.5097 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/0.7379, allocations: 27.97 kB / 0.5097 GB, free: 6.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003302/0.7412, allocations: 2.173 MB / 0.5119 GB, free: 4.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7413, allocations: 0 / 0.5119 GB, free: 4.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00462/0.7459, allocations: 0.8178 MB / 0.5127 GB, free: 3.605 MB / 430.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.0004276/0.7463, allocations: 155.1 kB / 0.5128 GB, free: 3.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004789/0.7511, allocations: 2.754 MB / 0.5155 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.7512, allocations: 4.125 kB / 0.5155 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.7517, allocations: 399.6 kB / 0.5159 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.754, allocations: 337.2 kB / 0.5162 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.7684, allocations: 8.233 MB / 0.5242 GB, free: 7.691 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002737/0.7712, allocations: 2.542 MB / 0.5267 GB, free: 5.125 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.7719, allocations: 227.4 kB / 0.5269 GB, free: 4.906 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7719, allocations: 0 / 0.5269 GB, free: 4.906 MB / 446.1 MB Notification: Performance of Templates: time 0.3368/1.109, allocations: 63.35 MB / 0.5888 GB, free: 108.1 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SurfacesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SurfacesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SurfacesCalcHelperMain.o] Error 1