Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.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.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") translateModel(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009884/0.0009883, allocations: 92.16 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.001117/0.001117, allocations: 173.4 kB / 16.92 MB, free: 6.629 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.548/1.548, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2048/0.2048, allocations: 9.094 MB / 301.2 MB, free: 2.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004598, allocations: 12 kB / 364.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1547, allocations: 52.43 MB / 416.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.3067/0.4614, allocations: 18.73 MB / 435.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01302/0.4745, allocations: 4.72 MB / 440.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00465/0.4792, allocations: 67.19 kB / 440.3 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008778/0.4801, allocations: 291.7 kB / 440.6 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.4831, allocations: 1.129 MB / 441.7 MB, free: 30.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.4837, allocations: 242.9 kB / 442 MB, free: 30.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00336/0.487, allocations: 3.292 MB / 445.2 MB, free: 29.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.4883, allocations: 0.9982 MB / 446.2 MB, free: 29.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.4894, allocations: 0.7249 MB / 447 MB, free: 28.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.4909, allocations: 1.269 MB / 448.2 MB, free: 28.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.4912, allocations: 127.5 kB / 448.4 MB, free: 28.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.4924, allocations: 0.6839 MB / 449 MB, free: 28.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008971/0.4933, allocations: 1.102 MB / 450.1 MB, free: 27.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.4944, allocations: 1.436 MB / 451.6 MB, free: 26.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.4973, allocations: 3.664 MB / 455.2 MB, free: 25.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4973, allocations: 0 / 455.2 MB, free: 25.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4973, allocations: 0 / 455.2 MB, free: 25.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.631e-05/0.4974, allocations: 0 / 455.2 MB, free: 25.98 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.005803/0.5032, allocations: 3.015 MB / 458.3 MB, free: 24.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.5033, allocations: 10.31 kB / 458.3 MB, free: 24.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006333/0.5096, allocations: 1.781 MB / 460.1 MB, free: 24.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/0.5122, allocations: 1.327 MB / 461.4 MB, free: 23.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.5124, allocations: 156.4 kB / 461.5 MB, free: 23.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004082/0.5128, allocations: 199.2 kB / 461.7 MB, free: 23.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.5264, allocations: 7.554 MB / 469.3 MB, free: 19.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.205e-05/0.5265, allocations: 20.41 kB / 469.3 MB, free: 19.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002928/0.5268, allocations: 94.03 kB / 469.4 MB, free: 19.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00339/0.5302, allocations: 1.712 MB / 471.1 MB, free: 19.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.5473, allocations: 6.844 MB / 477.9 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/0.5927, allocations: 22.99 MB / 0.4892 GB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004126/0.5969, allocations: 2.012 MB / 0.4912 GB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.5985, allocations: 0.7662 MB / 0.4919 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006059/0.6046, allocations: 2.852 MB / 0.4947 GB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.6047, allocations: 43.5 kB / 0.4947 GB, free: 8.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 3.817e-06/0.6047, allocations: 0 / 0.4947 GB, free: 8.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.009779/0.6145, allocations: 4.029 MB / 0.4987 GB, free: 4.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.6146, allocations: 64.41 kB / 0.4987 GB, free: 4.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005422/0.62, allocations: 2.405 MB / 0.5011 GB, free: 2.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.034e-05/0.6201, allocations: 41.7 kB / 0.5011 GB, free: 2.105 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001912/0.622, allocations: 1.996 MB / 0.5031 GB, free: 80 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005877/0.6226, allocations: 0.4935 MB / 0.5036 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005406/0.6232, allocations: 301.6 kB / 0.5038 GB, free: 15.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.6234, allocations: 305.1 kB / 0.5041 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.6258, allocations: 1.213 MB / 0.5053 GB, free: 13.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00411/0.6299, allocations: 3.269 MB / 0.5085 GB, free: 9.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008721/0.6386, allocations: 5.392 MB / 0.5138 GB, free: 3.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.723e-05/0.6388, allocations: 20 kB / 0.5138 GB, free: 3.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.008852/0.6476, allocations: 4.562 MB / 0.5183 GB, free: 14.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.6477, allocations: 37.09 kB / 0.5183 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001711/0.6479, allocations: 72 kB / 0.5184 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006227/0.6485, allocations: 242.3 kB / 0.5186 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/0.6511, allocations: 0.8071 MB / 0.5194 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/0.6546, allocations: 2.652 MB / 0.522 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.6575, allocations: 192 kB / 0.5221 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/0.6581, allocations: 224 kB / 0.5224 GB, free: 10.14 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: revolute.w:VARIABLE(start = -5.0 unit = "rad/s" fixed = true stateSelect=StateSelect.always ) "Angular velocity" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 328 * Number of states: 0 () * Number of discrete variables: 9 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (436): * Single equations (assignments): 431 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003371/0.6615, allocations: 1.507 MB / 0.5238 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000503/0.662, allocations: 201.4 kB / 0.524 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/0.6656, allocations: 1.81 MB / 0.5258 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/0.6658, allocations: 23.98 kB / 0.5258 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.6658, allocations: 4.094 kB / 0.5258 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.6658, allocations: 11.92 kB / 0.5258 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.6786, allocations: 5.212 MB / 0.5309 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/0.6786, allocations: 288 / 0.5309 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007896/0.6794, allocations: 183.8 kB / 0.5311 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003697/0.6798, allocations: 120.7 kB / 0.5312 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-05/0.6799, allocations: 20 kB / 0.5312 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/0.6828, allocations: 2.187 MB / 0.5334 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.573e-05/0.6828, allocations: 4.031 kB / 0.5334 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004612/0.6875, allocations: 2.825 MB / 0.5361 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.6886, allocations: 426.3 kB / 0.5365 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005654/0.6892, allocations: 23.98 kB / 0.5366 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.6903, allocations: 59.89 kB / 0.5366 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.6905, allocations: 72.84 kB / 0.5367 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.068e-05/0.6906, allocations: 40 kB / 0.5367 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003945/0.6945, allocations: 1.55 MB / 0.5382 GB, free: 9.512 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.797e-06/0.6946, allocations: 0 / 0.5382 GB, free: 9.512 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004239/0.6988, allocations: 0.629 MB / 0.5388 GB, free: 8.883 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (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 (99): * Single equations (assignments): 94 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004589/0.6993, allocations: 147 kB / 0.539 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005815/0.7051, allocations: 2.933 MB / 0.5419 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7051, allocations: 0 / 0.5419 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.7067, allocations: 0.9149 MB / 0.5427 GB, free: 4.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00298/0.7097, allocations: 357.5 kB / 0.5431 GB, free: 4.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/0.7251, allocations: 7.837 MB / 0.5507 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004017/0.7292, allocations: 2.469 MB / 0.5532 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000864/0.7301, allocations: 187.4 kB / 0.5533 GB, free: 9.969 MB / 430.1 MB Notification: Performance of SimCode: time 1.693e-06/0.7301, allocations: 4 kB / 0.5533 GB, free: 9.965 MB / 430.1 MB Notification: Performance of Templates: time 0.3632/1.093, allocations: 52.84 MB / 0.6049 GB, free: 108 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.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.VehicleComponents.Examples.TestAirDragCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDragCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDragCalcHelperMain.o] Error 1