Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.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.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, 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.001664/0.001664, allocations: 195.9 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.704/1.704, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2022/0.2022, allocations: 9.107 MB / 299.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 361.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1307, allocations: 51.44 MB / 413.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.2765/0.4072, allocations: 27.5 MB / 440.8 MB, free: 28.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01713/0.4244, allocations: 6.162 MB / 447 MB, free: 24.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0076/0.4321, allocations: 106 kB / 447.1 MB, free: 24.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.4336, allocations: 313.1 kB / 447.4 MB, free: 24.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005022/0.4387, allocations: 1.327 MB / 448.7 MB, free: 24.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007054/0.4394, allocations: 159.4 kB / 448.9 MB, free: 23.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004783/0.4442, allocations: 3.578 MB / 452.5 MB, free: 22.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.4457, allocations: 0.9008 MB / 453.4 MB, free: 22.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.447, allocations: 0.7921 MB / 454.1 MB, free: 22.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.4487, allocations: 1.35 MB / 455.5 MB, free: 21.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.4491, allocations: 139.8 kB / 455.6 MB, free: 21.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.4507, allocations: 0.7842 MB / 456.4 MB, free: 21.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.4519, allocations: 1.141 MB / 457.6 MB, free: 21.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.4534, allocations: 1.508 MB / 459.1 MB, free: 19.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004175/0.4576, allocations: 3.826 MB / 462.9 MB, free: 18.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4576, allocations: 0 / 462.9 MB, free: 18.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4576, allocations: 0 / 462.9 MB, free: 18.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.885e-05/0.4577, allocations: 0 / 462.9 MB, free: 18.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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.009708/0.4674, allocations: 3.935 MB / 466.8 MB, free: 16.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.4675, allocations: 9.531 kB / 466.8 MB, free: 16.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006253/0.4738, allocations: 1.777 MB / 468.6 MB, free: 16.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.477, allocations: 1.391 MB / 470 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.4771, allocations: 155.5 kB / 470.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005359/0.4777, allocations: 203 kB / 470.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01518/0.4929, allocations: 8 MB / 478.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.793e-05/0.493, allocations: 25.61 kB / 478.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003255/0.4933, allocations: 101.2 kB / 478.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003295/0.4966, allocations: 1.85 MB / 480.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/0.5147, allocations: 7.177 MB / 487.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04089/0.5556, allocations: 24.45 MB / 0.5 GB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006398/0.5621, allocations: 2.383 MB / 0.5023 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.5638, allocations: 0.8246 MB / 0.5031 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.5738, allocations: 4.645 MB / 0.5076 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.675e-05/0.574, allocations: 51.5 kB / 0.5077 GB, free: 9.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 4.639e-06/0.574, allocations: 0 / 0.5077 GB, free: 9.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=153): time 0.01771/0.5917, allocations: 6.864 MB / 0.5144 GB, free: 2.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/0.5918, allocations: 72.66 kB / 0.5144 GB, free: 1.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00621/0.598, allocations: 2.663 MB / 0.517 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.5982, allocations: 53.69 kB / 0.5171 GB, free: 15.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/0.6002, allocations: 2.109 MB / 0.5192 GB, free: 13.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007132/0.6009, allocations: 0.5705 MB / 0.5197 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/0.6025, allocations: 0.782 MB / 0.5205 GB, free: 11.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6026, allocations: 309.1 kB / 0.5208 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002447/0.6051, allocations: 1.292 MB / 0.522 GB, free: 10.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/0.6091, allocations: 3.432 MB / 0.5254 GB, free: 5.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00682/0.6159, allocations: 5.078 MB / 0.5303 GB, free: 15.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-05/0.616, allocations: 20 kB / 0.5304 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.01141/0.6274, allocations: 4.904 MB / 0.5352 GB, free: 10.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.249e-05/0.6276, allocations: 36 kB / 0.5352 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/0.6277, allocations: 72 kB / 0.5353 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009852/0.6287, allocations: 317.3 kB / 0.5356 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003017/0.6318, allocations: 0.8616 MB / 0.5364 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/0.6366, allocations: 3.357 MB / 0.5397 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003331/0.6399, allocations: 195.9 kB / 0.5399 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006824/0.6406, allocations: 239.9 kB / 0.5401 GB, free: 5.375 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,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 (472): * Single equations (assignments): 467 * 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.003477/0.6441, allocations: 1.561 MB / 0.5416 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005653/0.6447, allocations: 229 kB / 0.5418 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.6486, allocations: 2.022 MB / 0.5438 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/0.6487, allocations: 31.97 kB / 0.5438 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.6487, allocations: 0 / 0.5438 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.6487, allocations: 7.984 kB / 0.5439 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/0.6621, allocations: 5.718 MB / 0.5494 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.6622, allocations: 4 kB / 0.5494 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009155/0.6631, allocations: 204 kB / 0.5496 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/0.6638, allocations: 212.6 kB / 0.5498 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.6639, allocations: 27.98 kB / 0.5499 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003911/0.6678, allocations: 2.715 MB / 0.5525 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6678, allocations: 0 / 0.5525 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/0.6733, allocations: 3.111 MB / 0.5556 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.6747, allocations: 446.1 kB / 0.556 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006614/0.6753, allocations: 24 kB / 0.556 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.6766, allocations: 63.92 kB / 0.5561 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.6768, allocations: 92.81 kB / 0.5561 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.6769, allocations: 43.94 kB / 0.5562 GB, free: 4.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004041/0.681, allocations: 1.72 MB / 0.5579 GB, free: 2.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.681, allocations: 7.938 kB / 0.5579 GB, free: 2.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004281/0.6853, allocations: 0.6875 MB / 0.5585 GB, free: 2.109 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (PID.I.y,PID.D.x,prismatic.s,prismatic.v,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 (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.0004926/0.6858, allocations: 159 kB / 0.5587 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006238/0.692, allocations: 3.164 MB / 0.5618 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.6921, allocations: 4.25 kB / 0.5618 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.6939, allocations: 1.023 MB / 0.5628 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.6972, allocations: 390.4 kB / 0.5632 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/0.7161, allocations: 8.503 MB / 0.5715 GB, free: 4.809 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004915/0.7211, allocations: 2.607 MB / 0.574 GB, free: 2.168 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.7221, allocations: 203.4 kB / 0.5742 GB, free: 1.969 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.7221, allocations: 0 / 0.5742 GB, free: 1.969 MB / 446.1 MB Notification: Performance of Templates: time 0.36/1.082, allocations: 56.88 MB / 0.6298 GB, free: 104.5 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.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.ControlledCraneCrabCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrabCalcHelperMain.o] Error 1