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.001118/0.001118, allocations: 101 kB / 15.71 MB, free: 456 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.002306/0.002306, allocations: 175.6 kB / 16.58 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.553/1.553, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.21/0.21, allocations: 9.092 MB / 300.8 MB, free: 2.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004504, allocations: 8 kB / 363.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1683, allocations: 52.43 MB / 416.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.2785/0.4469, allocations: 24.42 MB / 440.6 MB, free: 30.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01536/0.4623, allocations: 5.806 MB / 446.4 MB, free: 26.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006915/0.4693, allocations: 103.6 kB / 446.5 MB, free: 26.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004113/0.4734, allocations: 1.178 MB / 447.7 MB, free: 26.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.4859, allocations: 4.254 MB / 451.9 MB, free: 24.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.4875, allocations: 126.7 kB / 452 MB, free: 24.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.4914, allocations: 2.749 MB / 454.8 MB, free: 23.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.4931, allocations: 0.7917 MB / 455.6 MB, free: 22.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.4947, allocations: 0.7857 MB / 456.4 MB, free: 22.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.4965, allocations: 1.273 MB / 457.6 MB, free: 22.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.4968, allocations: 124.2 kB / 457.8 MB, free: 22.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.4982, allocations: 0.6719 MB / 458.4 MB, free: 22.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000993/0.4992, allocations: 1.092 MB / 459.5 MB, free: 21.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006469/0.4999, allocations: 0.6346 MB / 460.2 MB, free: 21.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003496/0.5034, allocations: 3.632 MB / 463.8 MB, free: 20.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5034, allocations: 6.188 kB / 463.8 MB, free: 20.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5034, allocations: 0 / 463.8 MB, free: 20.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.345e-05/0.5035, allocations: 0 / 463.8 MB, free: 20.36 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.008243/0.5118, allocations: 3.23 MB / 467 MB, free: 18.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5118, allocations: 10.11 kB / 467 MB, free: 18.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007185/0.519, allocations: 1.804 MB / 468.8 MB, free: 18.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003718/0.5228, allocations: 1.317 MB / 470.2 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.523, allocations: 146.7 kB / 470.3 MB, free: 17.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006735/0.5237, allocations: 198 kB / 470.5 MB, free: 17.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.5397, allocations: 7.892 MB / 478.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-05/0.5398, allocations: 25.34 kB / 478.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003049/0.5401, allocations: 93.03 kB / 478.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004254/0.5444, allocations: 1.85 MB / 480.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/0.5619, allocations: 7.089 MB / 487.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03569/0.5976, allocations: 23.91 MB / 0.4994 GB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/0.6028, allocations: 2.366 MB / 0.5017 GB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.6041, allocations: 0.8098 MB / 0.5025 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006646/0.6107, allocations: 4.605 MB / 0.507 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.6108, allocations: 51.55 kB / 0.507 GB, free: 11.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.306e-06/0.6108, allocations: 0 / 0.507 GB, free: 11.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=153): time 0.01445/0.6253, allocations: 6.983 MB / 0.5138 GB, free: 4.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.6254, allocations: 64.72 kB / 0.5139 GB, free: 4.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/0.6295, allocations: 2.584 MB / 0.5164 GB, free: 1.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.6297, allocations: 45.7 kB / 0.5165 GB, free: 1.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.6312, allocations: 2.051 MB / 0.5185 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005761/0.6318, allocations: 0.5628 MB / 0.519 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.632, allocations: 79.98 kB / 0.5191 GB, free: 15.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003025/0.6323, allocations: 482.3 kB / 0.5195 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.6343, allocations: 1.261 MB / 0.5208 GB, free: 13.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003476/0.6378, allocations: 3.362 MB / 0.5241 GB, free: 8.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.6408, allocations: 2.075 MB / 0.5261 GB, free: 6.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.942e-05/0.6409, allocations: 24 kB / 0.5261 GB, free: 6.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.007727/0.6486, allocations: 4.789 MB / 0.5308 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.6487, allocations: 40.06 kB / 0.5308 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-05/0.6488, allocations: 76 kB / 0.5309 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007309/0.6495, allocations: 324.5 kB / 0.5312 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/0.6519, allocations: 0.8422 MB / 0.532 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/0.6561, allocations: 3.355 MB / 0.5353 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.6589, allocations: 188 kB / 0.5355 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003675/0.6593, allocations: 232 kB / 0.5357 GB, free: 12.86 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 (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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003083/0.6624, allocations: 1.546 MB / 0.5372 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/0.6628, allocations: 221.2 kB / 0.5374 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/0.6661, allocations: 1.989 MB / 0.5394 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.196e-05/0.6662, allocations: 23.98 kB / 0.5394 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6663, allocations: 4 kB / 0.5394 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.6663, allocations: 7.969 kB / 0.5394 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00961/0.6759, allocations: 5.676 MB / 0.5449 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.6759, allocations: 4.062 kB / 0.5449 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/0.6767, allocations: 207.7 kB / 0.5451 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/0.6773, allocations: 218.9 kB / 0.5454 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/0.6774, allocations: 31.98 kB / 0.5454 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/0.6807, allocations: 2.71 MB / 0.548 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.6808, allocations: 4.062 kB / 0.548 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004939/0.6857, allocations: 3.075 MB / 0.551 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.6867, allocations: 314.2 kB / 0.5513 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.687, allocations: 24 kB / 0.5514 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/0.6877, allocations: 67.86 kB / 0.5514 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.6879, allocations: 92.8 kB / 0.5515 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.533e-05/0.688, allocations: 40 kB / 0.5516 GB, free: 12.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003292/0.6913, allocations: 1.659 MB / 0.5532 GB, free: 10.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6913, allocations: 3.938 kB / 0.5532 GB, free: 10.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003929/0.6952, allocations: 0.6796 MB / 0.5538 GB, free: 9.902 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 (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%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004092/0.6957, allocations: 166.7 kB / 0.554 GB, free: 9.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005595/0.7013, allocations: 3.104 MB / 0.557 GB, free: 6.637 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7013, allocations: 0.75 kB / 0.557 GB, free: 6.637 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.703, allocations: 1.012 MB / 0.558 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.7055, allocations: 364.4 kB / 0.5584 GB, free: 5.258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.7195, allocations: 8.098 MB / 0.5663 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002913/0.7225, allocations: 2.566 MB / 0.5688 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008636/0.7234, allocations: 203.4 kB / 0.569 GB, free: 10.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7234, allocations: 0 / 0.569 GB, free: 10.3 MB / 446.1 MB Notification: Performance of Templates: time 0.3916/1.115, allocations: 55.01 MB / 0.6227 GB, free: 105.6 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.CraneCrabCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.CraneCrabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.CraneCrabCalcHelperMain.o] Error 1