Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 92.16 kB / 16.02 MB, free: 80 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.002227/0.002227, allocations: 182 kB / 16.92 MB, free: 6.922 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.615/1.615, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2039/0.2039, allocations: 9.094 MB / 301.2 MB, free: 2.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 8.234 kB / 364.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 52.43 MB / 416.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.3206/0.4616, allocations: 26.51 MB / 443.3 MB, free: 28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01932/0.481, allocations: 6.072 MB / 449.4 MB, free: 25.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006772/0.4878, allocations: 99.5 kB / 449.5 MB, free: 25.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.4889, allocations: 305.1 kB / 449.8 MB, free: 24.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003998/0.493, allocations: 1.306 MB / 451.1 MB, free: 24.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.4934, allocations: 128.3 kB / 451.2 MB, free: 24.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003643/0.497, allocations: 3.495 MB / 454.7 MB, free: 23.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.4983, allocations: 0.8402 MB / 455.5 MB, free: 22.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.4993, allocations: 0.7487 MB / 456.3 MB, free: 22.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.5008, allocations: 1.311 MB / 457.6 MB, free: 21.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002426/0.501, allocations: 128.9 kB / 457.7 MB, free: 21.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.5024, allocations: 0.7747 MB / 458.5 MB, free: 21.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009188/0.5034, allocations: 1.133 MB / 459.6 MB, free: 21.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.5045, allocations: 1.491 MB / 461.1 MB, free: 20.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.5079, allocations: 3.671 MB / 464.8 MB, free: 19.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5079, allocations: 0 / 464.8 MB, free: 19.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.5079, allocations: 0 / 464.8 MB, free: 19.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.064e-05/0.508, allocations: 0 / 464.8 MB, free: 19.46 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.008273/0.5163, allocations: 3.249 MB / 468 MB, free: 17.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.5163, allocations: 9.75 kB / 468 MB, free: 17.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006847/0.5232, allocations: 1.809 MB / 469.8 MB, free: 17.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.5264, allocations: 1.353 MB / 471.2 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.5266, allocations: 144.1 kB / 471.3 MB, free: 16.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004938/0.5271, allocations: 208.5 kB / 471.5 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.5421, allocations: 7.963 MB / 479.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.501e-05/0.5422, allocations: 22.23 kB / 479.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002979/0.5425, allocations: 98.09 kB / 479.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003704/0.5462, allocations: 1.847 MB / 481.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01925/0.5655, allocations: 7.18 MB / 488.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04501/0.6105, allocations: 24.16 MB / 0.5008 GB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006786/0.6173, allocations: 2.373 MB / 0.5031 GB, free: 424 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/0.6195, allocations: 0.8301 MB / 0.5039 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009591/0.6291, allocations: 4.742 MB / 0.5086 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.6292, allocations: 43.56 kB / 0.5086 GB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.168e-06/0.6292, allocations: 4 kB / 0.5086 GB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01852/0.6477, allocations: 7.1 MB / 0.5155 GB, free: 3.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.6478, allocations: 72.59 kB / 0.5156 GB, free: 3.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00601/0.6539, allocations: 2.606 MB / 0.5181 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.654, allocations: 49.7 kB / 0.5182 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002158/0.6562, allocations: 2.077 MB / 0.5202 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008257/0.657, allocations: 0.5706 MB / 0.5208 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006867/0.6577, allocations: 322.3 kB / 0.5211 GB, free: 13.44 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.6579, allocations: 305.1 kB / 0.5214 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.6609, allocations: 1.315 MB / 0.5227 GB, free: 11.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00473/0.6656, allocations: 3.449 MB / 0.526 GB, free: 7.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008255/0.6739, allocations: 5.116 MB / 0.531 GB, free: 1.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.739e-05/0.674, allocations: 20 kB / 0.531 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01149/0.6855, allocations: 4.821 MB / 0.5358 GB, free: 12.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.6857, allocations: 38.16 kB / 0.5358 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/0.6859, allocations: 72.98 kB / 0.5359 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.6865, allocations: 196.7 kB / 0.536 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/0.6899, allocations: 0.9046 MB / 0.5369 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.6925, allocations: 2.192 MB / 0.5391 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/0.6961, allocations: 212 kB / 0.5393 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007884/0.6969, allocations: 228 kB / 0.5395 GB, free: 8.328 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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 (478): * Single equations (assignments): 473 * Array equations: 4 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003832/0.7007, allocations: 1.564 MB / 0.541 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/0.7013, allocations: 221.1 kB / 0.5412 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004186/0.7055, allocations: 1.974 MB / 0.5432 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/0.7057, allocations: 27.98 kB / 0.5432 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.7057, allocations: 0 / 0.5432 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.7057, allocations: 3.984 kB / 0.5432 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/0.719, allocations: 5.639 MB / 0.5487 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.7191, allocations: 7.922 kB / 0.5487 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.7201, allocations: 243.7 kB / 0.5489 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/0.7205, allocations: 84.97 kB / 0.549 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.7207, allocations: 31.98 kB / 0.549 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.7234, allocations: 1.927 MB / 0.5509 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/0.7235, allocations: 11.88 kB / 0.5509 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006246/0.7297, allocations: 3.047 MB / 0.5539 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.7309, allocations: 318.3 kB / 0.5542 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000709/0.7316, allocations: 32.12 kB / 0.5542 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.7329, allocations: 83.84 kB / 0.5543 GB, free: 8.754 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.7332, allocations: 77.02 kB / 0.5544 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.7333, allocations: 43.98 kB / 0.5544 GB, free: 8.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004271/0.7376, allocations: 1.699 MB / 0.5561 GB, free: 6.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7376, allocations: 0 / 0.5561 GB, free: 6.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004592/0.7422, allocations: 0.6562 MB / 0.5567 GB, free: 6.262 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * 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 (124): * Single equations (assignments): 119 * Array equations: 4 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005493/0.7427, allocations: 159 kB / 0.5569 GB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006834/0.7496, allocations: 3.135 MB / 0.56 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.7496, allocations: 1.562 kB / 0.56 GB, free: 2.969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.7516, allocations: 1 MB / 0.5609 GB, free: 1.949 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/0.7555, allocations: 361.7 kB / 0.5613 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/0.7742, allocations: 8.37 MB / 0.5695 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004383/0.7786, allocations: 2.571 MB / 0.572 GB, free: 6.586 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000891/0.7795, allocations: 211.3 kB / 0.5722 GB, free: 6.383 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7795, allocations: 0 / 0.5722 GB, free: 6.383 MB / 446.1 MB Notification: Performance of Templates: time 0.3463/1.126, allocations: 55.67 MB / 0.6265 GB, free: 104.2 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.InvertedCraneCrabCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrabCalcHelperMain.o] Error 1