Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 105.4 kB / 17.8 MB, free: 5.68 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.00193/0.00193, allocations: 201.9 kB / 18.73 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.834/1.834, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001175/0.001175, allocations: 43.94 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1384, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.02143/0.1599, allocations: 14.1 MB / 341.3 MB, free: 6.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.1712, allocations: 4.363 MB / 345.7 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003347/0.1746, allocations: 51.88 kB / 345.8 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.1768, allocations: 0.7633 MB / 346.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.1805, allocations: 1.219 MB / 347.7 MB, free: 316 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1817, allocations: 463.3 kB / 348.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004808/0.1865, allocations: 3.46 MB / 351.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/0.1883, allocations: 1.136 MB / 352.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.1895, allocations: 0.673 MB / 353.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.1911, allocations: 1.199 MB / 354.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.1914, allocations: 96 kB / 354.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.1931, allocations: 0.8852 MB / 355.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.1942, allocations: 0.9815 MB / 356.6 MB, free: 7.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.1954, allocations: 1.18 MB / 357.8 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003636/0.1991, allocations: 3.01 MB / 360.8 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1991, allocations: 0 / 360.8 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1991, allocations: 0 / 360.8 MB, free: 3.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.702e-05/0.1992, allocations: 4 kB / 360.8 MB, free: 3.176 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005642/0.2048, allocations: 2.894 MB / 363.7 MB, free: 228 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.2049, allocations: 8.031 kB / 363.7 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005724/0.2106, allocations: 1.635 MB / 365.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/0.2134, allocations: 1.363 MB / 366.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.2135, allocations: 126.7 kB / 366.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.2138, allocations: 151.8 kB / 367 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.2251, allocations: 6.359 MB / 373.4 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.827e-05/0.2252, allocations: 39.73 kB / 373.4 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/0.2255, allocations: 79.89 kB / 373.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00273/0.2282, allocations: 1.433 MB / 374.9 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2758/0.5041, allocations: 5.67 MB / 380.6 MB, free: 50.04 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03064/0.5347, allocations: 26.3 MB / 406.9 MB, free: 30.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004192/0.539, allocations: 2.26 MB / 409.1 MB, free: 29.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.5401, allocations: 1.021 MB / 410.2 MB, free: 28.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.5402, allocations: 22.41 kB / 410.2 MB, free: 28.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5402, allocations: 37.59 kB / 410.2 MB, free: 28.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.827e-06/0.5402, allocations: 0 / 410.2 MB, free: 28.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.0192/0.5594, allocations: 8.6 MB / 418.8 MB, free: 22.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.5596, allocations: 140.5 kB / 418.9 MB, free: 22.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/0.5629, allocations: 2.829 MB / 421.8 MB, free: 19.74 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.563, allocations: 41.7 kB / 421.8 MB, free: 19.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009715/0.564, allocations: 2.07 MB / 423.9 MB, free: 17.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.5644, allocations: 433.7 kB / 424.3 MB, free: 17.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00088/0.5653, allocations: 0.8882 MB / 425.2 MB, free: 16.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.5653, allocations: 313.1 kB / 425.5 MB, free: 16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.5669, allocations: 1.41 MB / 426.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002825/0.5698, allocations: 4.252 MB / 431.2 MB, free: 8.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005241/0.575, allocations: 6.138 MB / 437.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.65e-05/0.5751, allocations: 31.94 kB / 437.3 MB, free: 1.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01173/0.5868, allocations: 6.108 MB / 443.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.608e-05/0.587, allocations: 48 kB / 443.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.5871, allocations: 100 kB / 443.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002287/0.5894, allocations: 0.7961 MB / 444.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00309/0.5925, allocations: 0.9864 MB / 445.4 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006489/0.599, allocations: 4.154 MB / 449.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/0.6031, allocations: 251.5 kB / 449.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008694/0.604, allocations: 276 kB / 450 MB, free: 4.477 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003211/0.6073, allocations: 1.372 MB / 451.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000678/0.6079, allocations: 236.8 kB / 451.6 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/0.6124, allocations: 1.857 MB / 453.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-05/0.6124, allocations: 12 kB / 453.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.6125, allocations: 4 kB / 453.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.6125, allocations: 4.797 kB / 453.5 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.6237, allocations: 4.817 MB / 458.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.6237, allocations: 0 / 458.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/0.6244, allocations: 135.8 kB / 458.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/0.6265, allocations: 0.6405 MB / 459.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.6267, allocations: 20.06 kB / 459.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005769/0.6325, allocations: 3.703 MB / 462.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6325, allocations: 3.938 kB / 462.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007301/0.6398, allocations: 3.692 MB / 466.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/0.6422, allocations: 437.8 kB / 467 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009289/0.6431, allocations: 16 kB / 467 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/0.645, allocations: 63.84 kB / 467 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002686/0.6453, allocations: 55.92 kB / 467.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.6454, allocations: 25.48 kB / 467.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004456/0.6499, allocations: 1.766 MB / 468.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6499, allocations: 64 / 468.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.005125/0.6551, allocations: 0.6498 MB / 469.5 MB, free: 0.7109 MB / 350.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 (75): * Single equations (assignments): 71 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005641/0.6556, allocations: 145.2 kB / 469.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007086/0.6627, allocations: 3.413 MB / 473.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/0.6628, allocations: 0 / 473.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.6644, allocations: 0.9249 MB / 474 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/0.6674, allocations: 250.3 kB / 474.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.6815, allocations: 6.912 MB / 481.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003391/0.6849, allocations: 2.184 MB / 483.3 MB, free: 2.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007671/0.6857, allocations: 199.4 kB / 483.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of SimCode: time 1.273e-06/0.6857, allocations: 0 / 483.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of Templates: time 0.07852/0.7642, allocations: 47.14 MB / 0.5182 GB, free: 3.41 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.PendulumCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumCalcHelperMain.o] Error 1