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.001356/0.001356, allocations: 100.1 kB / 15.88 MB, free: 12 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.001511/0.00151, allocations: 197.7 kB / 16.79 MB, free: 6.863 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.478/1.478, allocations: 222.9 MB / 240.5 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2563/0.2563, allocations: 9.09 MB / 299.7 MB, free: 1.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 59.91 kB / 361.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1473, allocations: 51.43 MB / 413.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.2907/0.438, allocations: 26.9 MB / 440.2 MB, free: 28.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01508/0.4531, allocations: 6.026 MB / 446.3 MB, free: 25.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007395/0.4606, allocations: 98.03 kB / 446.3 MB, free: 25.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.4617, allocations: 294.6 kB / 446.6 MB, free: 25.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.4654, allocations: 1.309 MB / 447.9 MB, free: 24.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.4658, allocations: 94.81 kB / 448 MB, free: 24.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003428/0.4692, allocations: 3.43 MB / 451.5 MB, free: 23.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.4703, allocations: 0.7509 MB / 452.2 MB, free: 23.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.4713, allocations: 0.7252 MB / 452.9 MB, free: 22.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.4727, allocations: 1.281 MB / 454.2 MB, free: 22.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002813/0.4729, allocations: 128.3 kB / 454.3 MB, free: 22.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.4743, allocations: 0.7533 MB / 455.1 MB, free: 22.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008878/0.4752, allocations: 1.135 MB / 456.2 MB, free: 21.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.4763, allocations: 1.452 MB / 457.7 MB, free: 20.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003222/0.4795, allocations: 3.733 MB / 461.4 MB, free: 19.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4796, allocations: 0 / 461.4 MB, free: 19.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.4796, allocations: 4 kB / 461.4 MB, free: 19.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001227/0.4797, allocations: 3.938 kB / 461.4 MB, free: 19.53 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.01201/0.4917, allocations: 4.727 MB / 466.2 MB, free: 17.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4918, allocations: 10.09 kB / 466.2 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/0.4979, allocations: 1.752 MB / 467.9 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.5007, allocations: 1.325 MB / 469.2 MB, free: 16.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.5008, allocations: 148.6 kB / 469.4 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004688/0.5013, allocations: 185.1 kB / 469.6 MB, free: 16.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.5172, allocations: 8.354 MB / 477.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.999e-05/0.5173, allocations: 27.69 kB / 478 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003197/0.5176, allocations: 91.73 kB / 478 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00344/0.5211, allocations: 1.94 MB / 480 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/0.5385, allocations: 7.545 MB / 487.5 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03856/0.5771, allocations: 26.36 MB / 0.5018 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007721/0.5848, allocations: 2.604 MB / 0.5044 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.5864, allocations: 0.8689 MB / 0.5052 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007831/0.5943, allocations: 5.77 MB / 0.5109 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.5944, allocations: 43.56 kB / 0.5109 GB, free: 5.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 3.186e-06/0.5944, allocations: 0 / 0.5109 GB, free: 5.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01558/0.6099, allocations: 6.943 MB / 0.5177 GB, free: 14.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.61, allocations: 68.66 kB / 0.5178 GB, free: 14.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00392/0.614, allocations: 2.61 MB / 0.5203 GB, free: 11.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.6141, allocations: 49.7 kB / 0.5204 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.6158, allocations: 2.135 MB / 0.5224 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006999/0.6165, allocations: 0.5938 MB / 0.523 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.6177, allocations: 0.8297 MB / 0.5238 GB, free: 7.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6178, allocations: 301.1 kB / 0.5241 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.62, allocations: 1.308 MB / 0.5254 GB, free: 6.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/0.6242, allocations: 3.722 MB / 0.529 GB, free: 1.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007089/0.6313, allocations: 5.438 MB / 0.5343 GB, free: 10.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-05/0.6314, allocations: 24 kB / 0.5344 GB, free: 10.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009765/0.6411, allocations: 5.103 MB / 0.5393 GB, free: 5.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.77e-05/0.6412, allocations: 40 kB / 0.5394 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.75e-05/0.6413, allocations: 87.98 kB / 0.5395 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007237/0.6421, allocations: 273.9 kB / 0.5397 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/0.6448, allocations: 0.9318 MB / 0.5406 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004087/0.6489, allocations: 2.928 MB / 0.5435 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/0.6519, allocations: 200 kB / 0.5437 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003754/0.6523, allocations: 259.9 kB / 0.5439 GB, free: 0.6719 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.002966/0.6553, allocations: 1.613 MB / 0.5455 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/0.6557, allocations: 221.1 kB / 0.5457 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/0.6592, allocations: 1.972 MB / 0.5477 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001035/0.6593, allocations: 27.98 kB / 0.5477 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6593, allocations: 0 / 0.5477 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.6594, allocations: 3.984 kB / 0.5477 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.6698, allocations: 5.965 MB / 0.5535 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.6699, allocations: 4 kB / 0.5535 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/0.6707, allocations: 219.7 kB / 0.5537 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/0.6712, allocations: 171.4 kB / 0.5539 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.27e-05/0.6713, allocations: 35.92 kB / 0.5539 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.6741, allocations: 2.41 MB / 0.5563 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.6741, allocations: 7.938 kB / 0.5563 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004986/0.6791, allocations: 3.129 MB / 0.5593 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.6804, allocations: 298.2 kB / 0.5596 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.6807, allocations: 39.97 kB / 0.5597 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008269/0.6816, allocations: 59.94 kB / 0.5597 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/0.6818, allocations: 96.75 kB / 0.5598 GB, free: 0 / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.682, allocations: 51.98 kB / 0.5599 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003019/0.6851, allocations: 1.668 MB / 0.5615 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6851, allocations: 288 / 0.5615 GB, free: 14.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003554/0.6886, allocations: 0.6797 MB / 0.5621 GB, free: 13.59 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.00041/0.689, allocations: 159 kB / 0.5623 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005684/0.6947, allocations: 3.241 MB / 0.5655 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.6948, allocations: 1.312 kB / 0.5655 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.6963, allocations: 1.012 MB / 0.5665 GB, free: 9.164 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.6984, allocations: 365.7 kB / 0.5668 GB, free: 8.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.7119, allocations: 8.563 MB / 0.5752 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2354/0.9473, allocations: 2.579 MB / 0.5777 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009082/0.9483, allocations: 212.9 kB / 0.5779 GB, free: 124 MB / 446.1 MB Notification: Performance of SimCode: time 2.715e-06/0.9483, allocations: 0.8125 kB / 0.5779 GB, free: 124 MB / 446.1 MB Notification: Performance of Templates: time 0.1023/1.051, allocations: 56.4 MB / 0.633 GB, free: 102.4 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