Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00964/0.00964, allocations: 100.1 kB / 15.87 MB, free: 5.863 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.001775/0.001775, allocations: 187.8 kB / 16.79 MB, free: 5.805 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.45/1.45, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2027/0.2027, allocations: 9.093 MB / 299.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 59.91 kB / 361.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1425, allocations: 51.44 MB / 413.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.2898/0.4323, allocations: 27.03 MB / 440.4 MB, free: 28.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.4466, allocations: 6.077 MB / 446.4 MB, free: 25.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006989/0.4537, allocations: 99.09 kB / 446.5 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.455, allocations: 306.5 kB / 446.8 MB, free: 25.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.4585, allocations: 1.312 MB / 448.1 MB, free: 24.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.4589, allocations: 112.2 kB / 448.3 MB, free: 24.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003231/0.4622, allocations: 3.46 MB / 451.7 MB, free: 23.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009734/0.4632, allocations: 0.8132 MB / 452.5 MB, free: 22.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008714/0.464, allocations: 0.7545 MB / 453.3 MB, free: 22.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.4654, allocations: 1.307 MB / 454.6 MB, free: 22.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.4656, allocations: 136 kB / 454.7 MB, free: 22.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.4669, allocations: 0.7756 MB / 455.5 MB, free: 21.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007899/0.4677, allocations: 1.124 MB / 456.6 MB, free: 21.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.4689, allocations: 1.466 MB / 458.1 MB, free: 20.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004106/0.473, allocations: 3.733 MB / 461.8 MB, free: 19.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.473, allocations: 1.312 kB / 461.8 MB, free: 19.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.473, allocations: 0 / 461.8 MB, free: 19.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.4732, allocations: 0 / 461.8 MB, free: 19.32 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: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.00854/0.4817, allocations: 3.826 MB / 465.7 MB, free: 17.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4818, allocations: 9.5 kB / 465.7 MB, free: 17.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006004/0.4878, allocations: 1.762 MB / 467.4 MB, free: 17.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.4905, allocations: 1.339 MB / 468.8 MB, free: 16.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.4907, allocations: 145.4 kB / 468.9 MB, free: 16.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004418/0.4911, allocations: 200.9 kB / 469.1 MB, free: 16.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01702/0.5082, allocations: 7.904 MB / 477 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.5083, allocations: 29.81 kB / 477 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003044/0.5086, allocations: 93.3 kB / 477.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004319/0.513, allocations: 1.838 MB / 479 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02041/0.5334, allocations: 7.13 MB / 486.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04377/0.5772, allocations: 23.9 MB / 0.498 GB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006364/0.5836, allocations: 2.379 MB / 0.5004 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.5854, allocations: 0.8195 MB / 0.5012 GB, free: 132 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009118/0.5945, allocations: 4.597 MB / 0.5057 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.5946, allocations: 43.56 kB / 0.5057 GB, free: 11.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.977e-06/0.5946, allocations: 0 / 0.5057 GB, free: 11.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=153): time 0.01698/0.6116, allocations: 7.001 MB / 0.5125 GB, free: 4.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.6117, allocations: 64.72 kB / 0.5126 GB, free: 3.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005179/0.6169, allocations: 2.596 MB / 0.5151 GB, free: 1.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.6171, allocations: 49.69 kB / 0.5152 GB, free: 1.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001844/0.6189, allocations: 2.058 MB / 0.5172 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000754/0.6197, allocations: 0.5667 MB / 0.5177 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/0.6211, allocations: 0.7701 MB / 0.5185 GB, free: 13.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.6213, allocations: 301.1 kB / 0.5188 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002573/0.6239, allocations: 1.276 MB / 0.52 GB, free: 12.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004299/0.6282, allocations: 3.386 MB / 0.5233 GB, free: 7.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007213/0.6355, allocations: 4.99 MB / 0.5282 GB, free: 1.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-05/0.6356, allocations: 24 kB / 0.5282 GB, free: 1.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009975/0.6456, allocations: 4.833 MB / 0.5329 GB, free: 12.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/0.6457, allocations: 42.44 kB / 0.533 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.6458, allocations: 76 kB / 0.5331 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008701/0.6467, allocations: 307.5 kB / 0.5334 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/0.6498, allocations: 0.8538 MB / 0.5342 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004919/0.6547, allocations: 3.35 MB / 0.5375 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003916/0.6587, allocations: 195.9 kB / 0.5376 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009709/0.6597, allocations: 220 kB / 0.5379 GB, free: 7.781 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * 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 (463): * Single equations (assignments): 458 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004331/0.664, allocations: 1.554 MB / 0.5394 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008434/0.6649, allocations: 213.2 kB / 0.5396 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005045/0.6699, allocations: 2.001 MB / 0.5415 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001231/0.6701, allocations: 31.97 kB / 0.5416 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/0.6701, allocations: 4.062 kB / 0.5416 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/0.6701, allocations: 15.92 kB / 0.5416 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.6838, allocations: 5.68 MB / 0.5471 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.6839, allocations: 0 / 0.5471 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/0.6847, allocations: 208 kB / 0.5473 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006303/0.6854, allocations: 216.6 kB / 0.5475 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.277e-05/0.6855, allocations: 28 kB / 0.5476 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003395/0.6889, allocations: 2.73 MB / 0.5502 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.6889, allocations: 4 kB / 0.5502 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004826/0.6937, allocations: 3.087 MB / 0.5532 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008922/0.6947, allocations: 302.3 kB / 0.5535 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.6949, allocations: 27.94 kB / 0.5536 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/0.6957, allocations: 63.92 kB / 0.5536 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.696, allocations: 84.83 kB / 0.5537 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-05/0.6961, allocations: 47.92 kB / 0.5537 GB, free: 7.141 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003168/0.6992, allocations: 1.671 MB / 0.5554 GB, free: 5.453 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6992, allocations: 0 / 0.5554 GB, free: 5.453 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004659/0.7039, allocations: 0.6797 MB / 0.556 GB, free: 4.773 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * 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 (113): * Single equations (assignments): 108 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005198/0.7045, allocations: 154.9 kB / 0.5562 GB, free: 4.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007749/0.7122, allocations: 3.125 MB / 0.5592 GB, free: 1.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.7123, allocations: 0 / 0.5592 GB, free: 1.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.7148, allocations: 1.024 MB / 0.5602 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/0.7188, allocations: 359.5 kB / 0.5606 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/0.7408, allocations: 8.341 MB / 0.5687 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005993/0.7469, allocations: 2.559 MB / 0.5712 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.748, allocations: 203.4 kB / 0.5714 GB, free: 4.926 MB / 446.1 MB Notification: Performance of SimCode: time 1.213e-06/0.748, allocations: 0 / 0.5714 GB, free: 4.926 MB / 446.1 MB Notification: Performance of Templates: time 0.3131/1.061, allocations: 55.57 MB / 0.6257 GB, free: 105.9 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.CraneCrabCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.CraneCrabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.CraneCrabCalcHelperMain.o] Error 1