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.0008632/0.0008634, allocations: 91.92 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.001038/0.001038, allocations: 179.8 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.737/1.737, allocations: 223.2 MB / 241 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2052/0.2052, allocations: 9.097 MB / 301.2 MB, free: 2.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004284, allocations: 11.98 kB / 364.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1437, allocations: 52.42 MB / 416.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.3243/0.4681, allocations: 26.2 MB / 443 MB, free: 27.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01641/0.4845, allocations: 6.044 MB / 449 MB, free: 24.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007123/0.4917, allocations: 101.3 kB / 449.1 MB, free: 24.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.493, allocations: 299.8 kB / 449.4 MB, free: 24.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.4974, allocations: 1.306 MB / 450.7 MB, free: 24.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.4979, allocations: 119.1 kB / 450.8 MB, free: 24.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005563/0.5035, allocations: 3.463 MB / 454.3 MB, free: 22.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.5052, allocations: 0.805 MB / 455.1 MB, free: 22.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.5067, allocations: 0.7425 MB / 455.8 MB, free: 22.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.5087, allocations: 1.293 MB / 457.1 MB, free: 21.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003761/0.5091, allocations: 124.8 kB / 457.3 MB, free: 21.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.5108, allocations: 0.7732 MB / 458 MB, free: 21.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.5119, allocations: 1.131 MB / 459.2 MB, free: 21.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.5131, allocations: 1.468 MB / 460.6 MB, free: 20.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003551/0.5167, allocations: 3.641 MB / 464.3 MB, free: 19.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5167, allocations: 0 / 464.3 MB, free: 19.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.5167, allocations: 3.938 kB / 464.3 MB, free: 19.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.455e-05/0.5167, allocations: 0 / 464.3 MB, free: 19.38 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.007464/0.5242, allocations: 3.202 MB / 467.5 MB, free: 17.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.5243, allocations: 10 kB / 467.5 MB, free: 17.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006467/0.5308, allocations: 1.799 MB / 469.3 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.5332, allocations: 1.344 MB / 470.6 MB, free: 16.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.5333, allocations: 147.2 kB / 470.8 MB, free: 16.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004261/0.5337, allocations: 201.9 kB / 471 MB, free: 16.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.5492, allocations: 7.905 MB / 478.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.39e-05/0.5493, allocations: 18.25 kB / 478.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.5496, allocations: 92.61 kB / 479 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004001/0.5537, allocations: 1.85 MB / 480.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.5727, allocations: 7.125 MB / 488 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04476/0.6175, allocations: 23.92 MB / 0.4999 GB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006629/0.6242, allocations: 2.371 MB / 0.5022 GB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.6261, allocations: 0.8234 MB / 0.503 GB, free: 332 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009135/0.6353, allocations: 4.593 MB / 0.5075 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.6354, allocations: 43.56 kB / 0.5075 GB, free: 11.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 4.007e-06/0.6354, allocations: 0 / 0.5075 GB, free: 11.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=153): time 0.01693/0.6523, allocations: 7.018 MB / 0.5144 GB, free: 4.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.6524, allocations: 72.66 kB / 0.5145 GB, free: 4.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006994/0.6594, allocations: 2.588 MB / 0.517 GB, free: 1.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003385/0.6598, allocations: 45.7 kB / 0.517 GB, free: 1.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002437/0.6623, allocations: 2.054 MB / 0.519 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009976/0.6633, allocations: 0.5628 MB / 0.5196 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008856/0.6642, allocations: 322.2 kB / 0.5199 GB, free: 14.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6643, allocations: 305.1 kB / 0.5202 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002768/0.6671, allocations: 1.28 MB / 0.5214 GB, free: 12.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004529/0.6717, allocations: 3.378 MB / 0.5247 GB, free: 8.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007706/0.6794, allocations: 5 MB / 0.5296 GB, free: 2.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/0.6795, allocations: 20 kB / 0.5296 GB, free: 2.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01082/0.6904, allocations: 4.827 MB / 0.5343 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.68e-05/0.6905, allocations: 36 kB / 0.5344 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/0.6907, allocations: 76.09 kB / 0.5344 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008717/0.6915, allocations: 304.7 kB / 0.5347 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/0.6945, allocations: 0.8538 MB / 0.5356 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/0.6995, allocations: 3.358 MB / 0.5389 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/0.7028, allocations: 195.9 kB / 0.539 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007097/0.7035, allocations: 224 kB / 0.5393 GB, free: 8.43 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 (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.003964/0.7075, allocations: 1.554 MB / 0.5408 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007483/0.7083, allocations: 213.2 kB / 0.541 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/0.7129, allocations: 2.009 MB / 0.5429 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001371/0.7131, allocations: 27.98 kB / 0.543 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.7131, allocations: 4 kB / 0.543 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.7131, allocations: 7.922 kB / 0.543 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.7267, allocations: 5.677 MB / 0.5485 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.7268, allocations: 4 kB / 0.5485 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008726/0.7277, allocations: 207.6 kB / 0.5487 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006442/0.7283, allocations: 220.9 kB / 0.5489 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.7285, allocations: 28 kB / 0.549 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003713/0.7322, allocations: 2.738 MB / 0.5516 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.7322, allocations: 0 / 0.5516 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005211/0.7374, allocations: 3.09 MB / 0.5546 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.7385, allocations: 306.3 kB / 0.5549 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006732/0.7392, allocations: 31.94 kB / 0.555 GB, free: 7.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.7405, allocations: 63.92 kB / 0.555 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.7407, allocations: 88.81 kB / 0.5551 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.7408, allocations: 44 kB / 0.5552 GB, free: 7.773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003934/0.7448, allocations: 1.667 MB / 0.5568 GB, free: 6.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7448, allocations: 4 kB / 0.5568 GB, free: 6.086 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004206/0.749, allocations: 0.6797 MB / 0.5575 GB, free: 5.406 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 (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.0005049/0.7495, allocations: 158.9 kB / 0.5576 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006385/0.7559, allocations: 3.125 MB / 0.5607 GB, free: 2.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.7559, allocations: 0 / 0.5607 GB, free: 2.129 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.7578, allocations: 1.02 MB / 0.5617 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/0.7622, allocations: 366 kB / 0.562 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.7811, allocations: 8.437 MB / 0.5702 GB, free: 8.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004788/0.786, allocations: 2.563 MB / 0.5727 GB, free: 5.645 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009805/0.787, allocations: 199.4 kB / 0.5729 GB, free: 5.453 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.787, allocations: 0 / 0.5729 GB, free: 5.453 MB / 446.1 MB Notification: Performance of Templates: time 0.3531/1.14, allocations: 54.94 MB / 0.6266 GB, free: 103.4 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.CraneCrabCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.CraneCrabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.CraneCrabCalcHelperMain.o] Error 1