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.0008162/0.0008162, allocations: 92.39 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.0009852/0.0009852, allocations: 179.1 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.591/1.591, allocations: 223.2 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2021/0.2021, allocations: 9.101 MB / 301.2 MB, free: 2.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 8 kB / 364.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 52.43 MB / 416.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.3211/0.4594, allocations: 26.65 MB / 443.4 MB, free: 27.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0188/0.4783, allocations: 6.139 MB / 449.6 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008161/0.4865, allocations: 106.1 kB / 449.7 MB, free: 24.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.4882, allocations: 307.8 kB / 450 MB, free: 24.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005387/0.4937, allocations: 1.331 MB / 451.3 MB, free: 23.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.4947, allocations: 153.9 kB / 451.4 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005478/0.5002, allocations: 3.573 MB / 455 MB, free: 22.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.5024, allocations: 0.8825 MB / 455.9 MB, free: 22.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.5047, allocations: 0.7813 MB / 456.7 MB, free: 21.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002791/0.5075, allocations: 1.328 MB / 458 MB, free: 21.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.5086, allocations: 132.3 kB / 458.1 MB, free: 21.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.5111, allocations: 0.7808 MB / 458.9 MB, free: 21.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.513, allocations: 1.138 MB / 460.1 MB, free: 20.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.5162, allocations: 1.514 MB / 461.6 MB, free: 19.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.5214, allocations: 3.721 MB / 465.3 MB, free: 18.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5215, allocations: 4 kB / 465.3 MB, free: 18.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5215, allocations: 0 / 465.3 MB, free: 18.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002533/0.5217, allocations: 0 / 465.3 MB, free: 18.81 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.009933/0.5317, allocations: 3.292 MB / 468.6 MB, free: 17.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.5317, allocations: 9.188 kB / 468.6 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008671/0.5404, allocations: 1.813 MB / 470.4 MB, free: 16.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004073/0.5445, allocations: 1.393 MB / 471.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.5448, allocations: 154.9 kB / 472 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009375/0.5457, allocations: 203.2 kB / 472.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.564, allocations: 7.992 MB / 480.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.5642, allocations: 29.62 kB / 480.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003422/0.5646, allocations: 101.4 kB / 480.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004416/0.569, allocations: 1.85 MB / 482.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.5884, allocations: 7.174 MB / 489.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04103/0.6295, allocations: 24.45 MB / 0.5017 GB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005311/0.6348, allocations: 2.39 MB / 0.504 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.6361, allocations: 0.8246 MB / 0.5049 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00716/0.6433, allocations: 4.649 MB / 0.5094 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.6434, allocations: 43.56 kB / 0.5094 GB, free: 9.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 2.776e-06/0.6434, allocations: 4 kB / 0.5094 GB, free: 9.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=153): time 0.01385/0.6572, allocations: 6.87 MB / 0.5161 GB, free: 2.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.6573, allocations: 64.72 kB / 0.5162 GB, free: 2.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004131/0.6614, allocations: 2.664 MB / 0.5188 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.6616, allocations: 49.61 kB / 0.5189 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001563/0.6631, allocations: 2.109 MB / 0.5209 GB, free: 13.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005654/0.6637, allocations: 0.5667 MB / 0.5215 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.6641, allocations: 330.3 kB / 0.5218 GB, free: 12.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6642, allocations: 313 kB / 0.5221 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.6664, allocations: 1.292 MB / 0.5233 GB, free: 10.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003983/0.6704, allocations: 3.435 MB / 0.5267 GB, free: 6.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006657/0.6771, allocations: 5.079 MB / 0.5317 GB, free: 264 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.802e-05/0.6771, allocations: 23.94 kB / 0.5317 GB, free: 240 kB / 398.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.009298/0.6865, allocations: 4.904 MB / 0.5365 GB, free: 11.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.6865, allocations: 36.09 kB / 0.5365 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.904e-05/0.6866, allocations: 79.94 kB / 0.5366 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008018/0.6874, allocations: 309.3 kB / 0.5369 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/0.6899, allocations: 0.8578 MB / 0.5377 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004723/0.6947, allocations: 3.361 MB / 0.541 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/0.6976, allocations: 199.9 kB / 0.5412 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004554/0.698, allocations: 228 kB / 0.5414 GB, free: 6.129 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.003263/0.7013, allocations: 1.569 MB / 0.5429 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005681/0.7019, allocations: 229 kB / 0.5432 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/0.7056, allocations: 2.018 MB / 0.5451 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/0.7057, allocations: 27.97 kB / 0.5452 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.7057, allocations: 4 kB / 0.5452 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.7057, allocations: 7.969 kB / 0.5452 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.7165, allocations: 5.732 MB / 0.5508 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.7166, allocations: 0 / 0.5508 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008532/0.7175, allocations: 204 kB / 0.551 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006041/0.7181, allocations: 215.2 kB / 0.5512 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-05/0.7182, allocations: 24 kB / 0.5512 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003581/0.7218, allocations: 2.724 MB / 0.5538 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.7218, allocations: 4 kB / 0.5538 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.7267, allocations: 3.111 MB / 0.5569 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.7278, allocations: 466 kB / 0.5573 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/0.7281, allocations: 24 kB / 0.5574 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007784/0.7289, allocations: 63.92 kB / 0.5574 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.7291, allocations: 88.81 kB / 0.5575 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/0.7291, allocations: 40 kB / 0.5575 GB, free: 5.258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002853/0.732, allocations: 1.72 MB / 0.5592 GB, free: 3.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.732, allocations: 0 / 0.5592 GB, free: 3.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003578/0.7356, allocations: 0.6914 MB / 0.5599 GB, free: 2.832 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.0004683/0.7361, allocations: 155 kB / 0.56 GB, free: 2.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006105/0.7422, allocations: 3.16 MB / 0.5631 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.7422, allocations: 4.688 kB / 0.5631 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00164/0.7439, allocations: 1.031 MB / 0.5641 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.7466, allocations: 388.4 kB / 0.5645 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.7613, allocations: 8.605 MB / 0.5729 GB, free: 5.426 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002947/0.7643, allocations: 2.595 MB / 0.5754 GB, free: 2.793 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008658/0.7652, allocations: 211.4 kB / 0.5756 GB, free: 2.586 MB / 446.1 MB Notification: Performance of SimCode: time 1.011e-06/0.7652, allocations: 0 / 0.5756 GB, free: 2.586 MB / 446.1 MB Notification: Performance of Templates: time 0.3575/1.123, allocations: 56.24 MB / 0.6306 GB, free: 102.2 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