Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.FreeBody.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) 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(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") translateModel(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.638/1.638, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1842/0.1842, allocations: 9.102 MB / 301.2 MB, free: 2.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003413, allocations: 8 kB / 364.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1198, allocations: 52.42 MB / 416.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.2906/0.4105, allocations: 9.092 MB / 425.9 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006155/0.4167, allocations: 2.696 MB / 428.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.4181, allocations: 32.98 kB / 428.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.4188, allocations: 236.1 kB / 428.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.421, allocations: 1.034 MB / 429.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.4212, allocations: 32.16 kB / 429.9 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002727/0.4239, allocations: 2.688 MB / 432.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.4242, allocations: 151.2 kB / 432.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008871/0.4251, allocations: 0.5251 MB / 433.3 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.4265, allocations: 0.9963 MB / 434.2 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.4267, allocations: 98.44 kB / 434.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.428, allocations: 0.6962 MB / 435 MB, free: 33.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007768/0.4288, allocations: 0.8844 MB / 435.9 MB, free: 33.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.4299, allocations: 1.146 MB / 437.1 MB, free: 33.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.4329, allocations: 3.011 MB / 440.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.4329, allocations: 0 / 440.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4329, allocations: 0.6562 kB / 440.1 MB, free: 32.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.188e-05/0.433, allocations: 0 / 440.1 MB, free: 32.84 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: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.004563/0.4375, allocations: 2.098 MB / 442.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.4376, allocations: 9.562 kB / 442.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006113/0.4437, allocations: 1.715 MB / 443.9 MB, free: 31.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.446, allocations: 1.086 MB / 445 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.246e-05/0.4461, allocations: 97.69 kB / 445.1 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.4465, allocations: 141.7 kB / 445.2 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008926/0.4554, allocations: 6.503 MB / 451.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/0.4555, allocations: 11.16 kB / 451.7 MB, free: 28.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.4557, allocations: 62.31 kB / 451.8 MB, free: 28.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002663/0.4584, allocations: 1.622 MB / 453.4 MB, free: 27.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.4694, allocations: 6.043 MB / 459.5 MB, free: 25.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03156/0.501, allocations: 18.22 MB / 477.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/0.5044, allocations: 1.548 MB / 479.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.5054, allocations: 0.5316 MB / 479.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004928/0.5104, allocations: 2.147 MB / 481.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.5104, allocations: 37.41 kB / 481.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 4.699e-06/0.5105, allocations: 0 / 481.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.003826/0.5143, allocations: 1.498 MB / 483.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.5144, allocations: 61 kB / 483.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/0.5195, allocations: 2.008 MB / 485.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.5196, allocations: 35.83 kB / 485.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.5212, allocations: 1.647 MB / 487.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000625/0.5218, allocations: 332.2 kB / 487.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006882/0.5225, allocations: 223.6 kB / 487.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.5227, allocations: 366.9 kB / 488.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00239/0.5251, allocations: 0.9201 MB / 489 MB, free: 7.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/0.5287, allocations: 2.569 MB / 491.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/0.5326, allocations: 3.721 MB / 495.3 MB, free: 496 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.579e-05/0.5327, allocations: 20 kB / 495.3 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.006232/0.5389, allocations: 3.43 MB / 498.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/0.539, allocations: 28 kB / 498.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-05/0.5391, allocations: 64 kB / 498.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.154e-05/0.5392, allocations: 76 kB / 498.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.5412, allocations: 0.616 MB / 499.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000133/0.5413, allocations: 119.9 kB / 499.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/0.544, allocations: 411.7 kB / 0.4883 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/0.5443, allocations: 172 kB / 0.4885 GB, free: 11.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 3 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * Array equations: 4 * 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.002761/0.5471, allocations: 1.316 MB / 0.4898 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.5474, allocations: 150 kB / 0.4899 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.5494, allocations: 1.056 MB / 0.491 GB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/0.5495, allocations: 19.98 kB / 0.491 GB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.5495, allocations: 4.781 kB / 0.491 GB, free: 9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.5495, allocations: 7.922 kB / 0.491 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006708/0.5563, allocations: 3.585 MB / 0.4945 GB, free: 5.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.5563, allocations: 4 kB / 0.4945 GB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.5568, allocations: 103.9 kB / 0.4946 GB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.5568, allocations: 0 / 0.4946 GB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.002e-05/0.5569, allocations: 19.98 kB / 0.4946 GB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.5569, allocations: 4 kB / 0.4946 GB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.5569, allocations: 8.047 kB / 0.4946 GB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.5593, allocations: 1.727 MB / 0.4963 GB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005122/0.5598, allocations: 270.9 kB / 0.4966 GB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.56, allocations: 11.98 kB / 0.4966 GB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.5605, allocations: 36.17 kB / 0.4966 GB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.5606, allocations: 36.33 kB / 0.4966 GB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.5607, allocations: 27.98 kB / 0.4967 GB, free: 3.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002021/0.5627, allocations: 1.31 MB / 0.4979 GB, free: 1.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5627, allocations: 0 / 0.4979 GB, free: 1.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002629/0.5654, allocations: 0.6379 MB / 0.4986 GB, free: 1.121 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.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 (55): * Single equations (assignments): 51 * Array equations: 4 * 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.000335/0.5657, allocations: 137.2 kB / 0.4987 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003428/0.5691, allocations: 2.005 MB / 0.5007 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5692, allocations: 0 / 0.5007 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006518/0.5698, allocations: 478.4 kB / 0.5011 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.5716, allocations: 276.3 kB / 0.5014 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.5826, allocations: 6.588 MB / 0.5078 GB, free: 7.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/0.5849, allocations: 2.177 MB / 0.5099 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006724/0.5856, allocations: 151.4 kB / 0.5101 GB, free: 5.277 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5856, allocations: 4 kB / 0.5101 GB, free: 5.273 MB / 382.1 MB Notification: Performance of Templates: time 0.05709/0.6427, allocations: 30.42 MB / 0.5398 GB, free: 7.02 MB / 414.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.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 OMCppPlanarMechanics_PlanarMechanics.Examples.FreeBodyCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.FreeBodyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.FreeBodyCalcHelperMain.o] Error 1