Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009611/0.0009666, allocations: 91.84 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.001402/0.001403, allocations: 180.7 kB / 16.92 MB, free: 6.652 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.542/1.542, allocations: 223.2 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2426/0.2426, allocations: 9.11 MB / 301.2 MB, free: 2.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003688, allocations: 8 kB / 364.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 52.43 MB / 416.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.3093/0.4419, allocations: 26.06 MB / 442.9 MB, free: 27.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.4595, allocations: 5.985 MB / 448.8 MB, free: 25.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006772/0.4663, allocations: 98.97 kB / 448.9 MB, free: 25.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.4674, allocations: 297.8 kB / 449.2 MB, free: 24.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.4711, allocations: 1.316 MB / 450.5 MB, free: 24.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.4715, allocations: 88.86 kB / 450.6 MB, free: 24.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003601/0.4751, allocations: 3.427 MB / 454.1 MB, free: 23.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.4762, allocations: 0.7485 MB / 454.8 MB, free: 22.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.4774, allocations: 0.7174 MB / 455.5 MB, free: 22.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.4788, allocations: 1.265 MB / 456.8 MB, free: 22.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.479, allocations: 122.5 kB / 456.9 MB, free: 22.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.4804, allocations: 0.7549 MB / 457.7 MB, free: 21.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008718/0.4813, allocations: 1.135 MB / 458.8 MB, free: 21.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.4824, allocations: 1.469 MB / 460.3 MB, free: 20.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003243/0.4857, allocations: 3.637 MB / 463.9 MB, free: 19.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4857, allocations: 4 kB / 463.9 MB, free: 19.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4857, allocations: 0 / 463.9 MB, free: 19.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.72e-05/0.4858, allocations: 0 / 463.9 MB, free: 19.65 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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01026/0.496, allocations: 4.085 MB / 468 MB, free: 17.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4961, allocations: 9.469 kB / 468 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006828/0.5029, allocations: 1.793 MB / 469.8 MB, free: 17.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/0.5059, allocations: 1.327 MB / 471.1 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.506, allocations: 140.9 kB / 471.3 MB, free: 16.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004549/0.5065, allocations: 195.5 kB / 471.4 MB, free: 16.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.5214, allocations: 8.351 MB / 479.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-05/0.5215, allocations: 27.58 kB / 479.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.5218, allocations: 98.8 kB / 479.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003578/0.5254, allocations: 1.934 MB / 481.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01733/0.5428, allocations: 7.554 MB / 489.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03751/0.5803, allocations: 26.38 MB / 0.5037 GB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007532/0.5879, allocations: 2.602 MB / 0.5062 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.5896, allocations: 0.8728 MB / 0.5071 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009385/0.599, allocations: 5.77 MB / 0.5127 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.5991, allocations: 43.5 kB / 0.5128 GB, free: 5.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 4.749e-06/0.5991, allocations: 0 / 0.5128 GB, free: 5.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01652/0.6157, allocations: 6.943 MB / 0.5195 GB, free: 14.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.6158, allocations: 72.66 kB / 0.5196 GB, free: 14.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/0.6198, allocations: 2.606 MB / 0.5222 GB, free: 11.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.637e-05/0.6199, allocations: 49.69 kB / 0.5222 GB, free: 11.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.6213, allocations: 2.139 MB / 0.5243 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004984/0.6219, allocations: 0.586 MB / 0.5249 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.6223, allocations: 347 kB / 0.5252 GB, free: 8.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6224, allocations: 305.1 kB / 0.5255 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.6245, allocations: 1.308 MB / 0.5268 GB, free: 6.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003824/0.6283, allocations: 3.707 MB / 0.5304 GB, free: 2.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007898/0.6362, allocations: 5.448 MB / 0.5357 GB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/0.6364, allocations: 24 kB / 0.5357 GB, free: 11.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01052/0.6469, allocations: 5.104 MB / 0.5407 GB, free: 6.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/0.647, allocations: 40.94 kB / 0.5408 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.173e-05/0.6471, allocations: 84 kB / 0.5408 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/0.6478, allocations: 280.6 kB / 0.5411 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.6506, allocations: 0.9319 MB / 0.542 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003781/0.6544, allocations: 2.933 MB / 0.5449 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/0.6574, allocations: 195.9 kB / 0.5451 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000363/0.6578, allocations: 260 kB / 0.5453 GB, free: 1.469 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (510): * Single equations (assignments): 505 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002808/0.6606, allocations: 1.602 MB / 0.5469 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.6611, allocations: 224.9 kB / 0.5471 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/0.6644, allocations: 1.978 MB / 0.549 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001009/0.6645, allocations: 23.98 kB / 0.549 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.6645, allocations: 8 kB / 0.5491 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.6646, allocations: 3.984 kB / 0.5491 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009655/0.6742, allocations: 5.966 MB / 0.5549 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.6743, allocations: 4 kB / 0.5549 GB, free: 7.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/0.6751, allocations: 223.6 kB / 0.5551 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.6756, allocations: 160.7 kB / 0.5553 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/0.6757, allocations: 31.98 kB / 0.5553 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.6784, allocations: 2.418 MB / 0.5576 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.6784, allocations: 8 kB / 0.5577 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0046/0.683, allocations: 3.121 MB / 0.5607 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/0.6839, allocations: 318.1 kB / 0.561 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.6841, allocations: 31.98 kB / 0.561 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007699/0.6849, allocations: 55.94 kB / 0.5611 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.6851, allocations: 104.8 kB / 0.5612 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/0.6852, allocations: 44.28 kB / 0.5612 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00269/0.6879, allocations: 1.672 MB / 0.5629 GB, free: 15.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6879, allocations: 0 / 0.5629 GB, free: 15.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003936/0.6919, allocations: 0.6874 MB / 0.5635 GB, free: 14.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,revolute.phi,revolute.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 (118): * Single equations (assignments): 113 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006257/0.6925, allocations: 162.9 kB / 0.5637 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00661/0.6991, allocations: 3.232 MB / 0.5668 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6992, allocations: 3.938 kB / 0.5669 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.7007, allocations: 1.014 MB / 0.5678 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/0.7048, allocations: 369.1 kB / 0.5682 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.7215, allocations: 8.661 MB / 0.5767 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.285/1.007, allocations: 2.584 MB / 0.5792 GB, free: 102.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008211/1.007, allocations: 216.5 kB / 0.5794 GB, free: 102.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/1.007, allocations: 0.75 kB / 0.5794 GB, free: 102.7 MB / 446.1 MB Notification: Performance of Templates: time 0.09583/1.103, allocations: 55.76 MB / 0.6338 GB, free: 80.93 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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.WheelBasedCraneCrabCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrabCalcHelperMain.o] Error 1