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.0008933/0.0008933, allocations: 102.6 kB / 15.71 MB, free: 460 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.00105/0.00105, allocations: 175.6 kB / 16.58 MB, free: 6.402 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.552/1.552, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2573/0.2573, allocations: 9.096 MB / 300.8 MB, free: 2.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 8 kB / 363.7 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1241, allocations: 52.43 MB / 416.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.2432/0.3674, allocations: 24.3 MB / 440.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.3802, allocations: 5.738 MB / 446.2 MB, free: 26.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005278/0.3855, allocations: 101.7 kB / 446.3 MB, free: 26.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003467/0.389, allocations: 1.179 MB / 447.5 MB, free: 26.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.4011, allocations: 4.266 MB / 451.7 MB, free: 24.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.4026, allocations: 101.3 kB / 451.8 MB, free: 24.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003402/0.406, allocations: 2.711 MB / 454.5 MB, free: 23.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009006/0.4069, allocations: 0.7331 MB / 455.3 MB, free: 23.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009954/0.408, allocations: 0.7685 MB / 456 MB, free: 22.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.4094, allocations: 1.253 MB / 457.3 MB, free: 22.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.4096, allocations: 127.9 kB / 457.4 MB, free: 22.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.4108, allocations: 0.6569 MB / 458.1 MB, free: 22.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007642/0.4116, allocations: 1.091 MB / 459.2 MB, free: 21.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.4121, allocations: 0.6258 MB / 459.8 MB, free: 21.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.4148, allocations: 3.633 MB / 463.4 MB, free: 20.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4148, allocations: 10.38 kB / 463.4 MB, free: 20.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4148, allocations: 0 / 463.4 MB, free: 20.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.926e-05/0.4148, allocations: 0 / 463.4 MB, free: 20.67 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.009746/0.4246, allocations: 4.114 MB / 467.6 MB, free: 19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4247, allocations: 9.156 kB / 467.6 MB, free: 19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006761/0.4314, allocations: 1.798 MB / 469.4 MB, free: 18.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/0.4352, allocations: 1.309 MB / 470.7 MB, free: 17.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.4354, allocations: 148.6 kB / 470.8 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005534/0.436, allocations: 184 kB / 471 MB, free: 17.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01605/0.452, allocations: 8.345 MB / 479.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-05/0.4522, allocations: 27.31 kB / 479.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003038/0.4525, allocations: 90.08 kB / 479.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003575/0.456, allocations: 1.937 MB / 481.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.4733, allocations: 7.514 MB / 488.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04099/0.5144, allocations: 26.36 MB / 0.5032 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007341/0.5218, allocations: 2.603 MB / 0.5057 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.5233, allocations: 0.861 MB / 0.5066 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007831/0.5312, allocations: 5.766 MB / 0.5122 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.5312, allocations: 43.56 kB / 0.5122 GB, free: 5.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 3.767e-06/0.5312, allocations: 4 kB / 0.5122 GB, free: 5.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01606/0.5473, allocations: 6.924 MB / 0.519 GB, free: 14.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.5474, allocations: 64.72 kB / 0.5191 GB, free: 14.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/0.5515, allocations: 2.598 MB / 0.5216 GB, free: 12.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/0.5516, allocations: 49.69 kB / 0.5217 GB, free: 12.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.5532, allocations: 2.131 MB / 0.5237 GB, free: 9.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006916/0.5539, allocations: 0.5938 MB / 0.5243 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.5541, allocations: 80 kB / 0.5244 GB, free: 9.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000342/0.5544, allocations: 487.3 kB / 0.5249 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/0.5567, allocations: 1.296 MB / 0.5261 GB, free: 7.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004209/0.5609, allocations: 3.691 MB / 0.5297 GB, free: 2.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003803/0.5648, allocations: 2.206 MB / 0.5319 GB, free: 304 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.147e-05/0.5648, allocations: 24 kB / 0.5319 GB, free: 280 kB / 398.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009199/0.574, allocations: 5.063 MB / 0.5368 GB, free: 11.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.5741, allocations: 40 kB / 0.5369 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.5742, allocations: 84.28 kB / 0.537 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006341/0.5749, allocations: 290.7 kB / 0.5372 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002756/0.5776, allocations: 0.9318 MB / 0.5382 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/0.5815, allocations: 2.928 MB / 0.541 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003413/0.585, allocations: 196 kB / 0.5412 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005874/0.5856, allocations: 264 kB / 0.5415 GB, free: 6.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003289/0.5889, allocations: 1.601 MB / 0.543 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004069/0.5893, allocations: 229 kB / 0.5432 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/0.5927, allocations: 1.959 MB / 0.5451 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001129/0.5929, allocations: 27.98 kB / 0.5452 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.5929, allocations: 0 / 0.5452 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/0.5929, allocations: 11.97 kB / 0.5452 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009958/0.6029, allocations: 5.951 MB / 0.551 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.6029, allocations: 4.094 kB / 0.551 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/0.6038, allocations: 219.7 kB / 0.5512 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004893/0.6043, allocations: 173.2 kB / 0.5514 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.624e-05/0.6044, allocations: 28 kB / 0.5514 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/0.6073, allocations: 2.416 MB / 0.5538 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.6073, allocations: 4 kB / 0.5538 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/0.6123, allocations: 3.11 MB / 0.5568 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.6135, allocations: 314.2 kB / 0.5571 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.6138, allocations: 31.98 kB / 0.5571 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008416/0.6146, allocations: 59.92 kB / 0.5572 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.6148, allocations: 100.7 kB / 0.5573 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.6149, allocations: 51.98 kB / 0.5573 GB, free: 5.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002993/0.6179, allocations: 1.653 MB / 0.5589 GB, free: 3.988 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/0.6179, allocations: 3.938 kB / 0.559 GB, free: 3.984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004347/0.6223, allocations: 0.6835 MB / 0.5596 GB, free: 3.301 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004698/0.6228, allocations: 167.5 kB / 0.5598 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006197/0.629, allocations: 3.211 MB / 0.5629 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.629, allocations: 0 / 0.5629 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.6306, allocations: 1.005 MB / 0.5639 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.6329, allocations: 376.3 kB / 0.5643 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.6478, allocations: 8.325 MB / 0.5724 GB, free: 6.113 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/0.6508, allocations: 2.59 MB / 0.5749 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008777/0.6517, allocations: 211.4 kB / 0.5751 GB, free: 3.289 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6518, allocations: 0 / 0.5751 GB, free: 3.289 MB / 446.1 MB Notification: Performance of Templates: time 0.3841/1.036, allocations: 55.83 MB / 0.6296 GB, free: 103.9 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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