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.001153/0.001154, allocations: 101 kB / 17.96 MB, free: 5.766 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.001417/0.001417, allocations: 177.1 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.995/1.995, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005162/0.0005163, allocations: 8 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1254, allocations: 47.59 MB / 329.6 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01499/0.1404, allocations: 13.52 MB / 343.1 MB, free: 6.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.1539, allocations: 4.301 MB / 347.4 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004741/0.1587, allocations: 55.81 kB / 347.5 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.1604, allocations: 270.8 kB / 347.8 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.1657, allocations: 1.227 MB / 349 MB, free: 292 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.1672, allocations: 463.2 kB / 349.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006169/0.1734, allocations: 3.464 MB / 352.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00349/0.177, allocations: 1.406 MB / 354.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.1787, allocations: 0.6339 MB / 354.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.1813, allocations: 1.148 MB / 356.1 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006937/0.182, allocations: 80 kB / 356.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.1845, allocations: 0.8813 MB / 357.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.1863, allocations: 0.9737 MB / 358 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.1882, allocations: 1.166 MB / 359.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0043/0.1925, allocations: 2.95 MB / 362.1 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1926, allocations: 0 / 362.1 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1926, allocations: 0 / 362.1 MB, free: 3.051 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001014/0.1927, allocations: 4 kB / 362.1 MB, free: 3.047 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.005663/0.1984, allocations: 2.403 MB / 364.5 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.1984, allocations: 8.031 kB / 364.6 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006631/0.2051, allocations: 1.694 MB / 366.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.2086, allocations: 1.355 MB / 367.6 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2088, allocations: 130.8 kB / 367.7 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000366/0.2092, allocations: 151.8 kB / 367.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.2227, allocations: 6.374 MB / 374.3 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.2229, allocations: 39.67 kB / 374.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.2232, allocations: 79.89 kB / 374.4 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002952/0.2262, allocations: 1.433 MB / 375.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2863/0.5125, allocations: 5.667 MB / 381.5 MB, free: 48.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03864/0.5512, allocations: 26.29 MB / 407.8 MB, free: 30.19 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004642/0.5559, allocations: 2.268 MB / 410 MB, free: 28.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.5572, allocations: 1.018 MB / 411 MB, free: 28.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.3e-05/0.5573, allocations: 11.23 kB / 411.1 MB, free: 28.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.5573, allocations: 49.36 kB / 411.1 MB, free: 28.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 5.621e-06/0.5573, allocations: 0 / 411.1 MB, free: 28.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01971/0.5771, allocations: 8.575 MB / 419.7 MB, free: 22.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.5772, allocations: 140.5 kB / 419.8 MB, free: 22.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.5804, allocations: 2.828 MB / 422.6 MB, free: 19.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.5806, allocations: 41.7 kB / 422.7 MB, free: 19.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009619/0.5815, allocations: 2.069 MB / 424.8 MB, free: 17.17 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003657/0.5819, allocations: 441.5 kB / 425.2 MB, free: 16.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.5823, allocations: 371.4 kB / 425.6 MB, free: 16.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.5824, allocations: 305.1 kB / 425.8 MB, free: 16.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.584, allocations: 1.426 MB / 427.3 MB, free: 14.63 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002852/0.5868, allocations: 4.238 MB / 431.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/0.5918, allocations: 6.134 MB / 437.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.332e-05/0.5918, allocations: 35.94 kB / 437.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01141/0.6033, allocations: 6.105 MB / 443.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.6034, allocations: 48 kB / 443.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.6035, allocations: 100 kB / 443.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.6058, allocations: 0.8016 MB / 444.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002991/0.6088, allocations: 0.9902 MB / 445.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/0.6149, allocations: 4.153 MB / 449.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/0.6188, allocations: 252.9 kB / 450.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006314/0.6194, allocations: 276 kB / 450.4 MB, free: 4.531 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.003504/0.623, allocations: 1.367 MB / 451.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008735/0.6238, allocations: 237 kB / 452 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005673/0.6295, allocations: 1.853 MB / 453.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-05/0.6296, allocations: 15.98 kB / 453.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/0.6297, allocations: 4 kB / 453.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.6297, allocations: 7.922 kB / 453.9 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.6419, allocations: 4.812 MB / 458.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.6419, allocations: 0.5625 kB / 458.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.6425, allocations: 131.8 kB / 458.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.6445, allocations: 0.6564 MB / 459.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.6446, allocations: 16.88 kB / 459.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00542/0.6501, allocations: 3.696 MB / 463.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6501, allocations: 4.031 kB / 463.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00692/0.657, allocations: 3.685 MB / 466.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/0.6585, allocations: 441.9 kB / 467.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.6588, allocations: 26.66 kB / 467.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008784/0.6597, allocations: 63.86 kB / 467.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.6598, allocations: 51.92 kB / 467.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.555e-05/0.6599, allocations: 32 kB / 467.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00322/0.6632, allocations: 1.762 MB / 469.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6632, allocations: 0 / 469.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004128/0.6673, allocations: 0.6498 MB / 469.9 MB, free: 0.7656 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.0004065/0.6677, allocations: 144.3 kB / 470 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006261/0.674, allocations: 3.42 MB / 473.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.674, allocations: 0 / 473.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.6754, allocations: 0.9254 MB / 474.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.6778, allocations: 250.7 kB / 474.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.691, allocations: 6.972 MB / 481.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/0.6935, allocations: 2.192 MB / 483.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000737/0.6943, allocations: 199.4 kB / 484 MB, free: 2.586 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6943, allocations: 0 / 484 MB, free: 2.586 MB / 366.1 MB Notification: Performance of Templates: time 0.08902/0.7833, allocations: 46.66 MB / 0.5182 GB, free: 3.852 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