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.00146/0.001461, 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.001603/0.001604, 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1895/0.1895, allocations: 9.097 MB / 299.7 MB, free: 1.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 59.91 kB / 361.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1174, allocations: 51.44 MB / 413.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.3173/0.4348, allocations: 19.42 MB / 432.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.4478, allocations: 4.754 MB / 437.5 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005548/0.4534, allocations: 68.44 kB / 437.6 MB, free: 31.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.455, allocations: 295.9 kB / 437.9 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.4593, allocations: 1.133 MB / 439 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009229/0.4602, allocations: 238.5 kB / 439.2 MB, free: 30.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004205/0.4645, allocations: 3.295 MB / 442.5 MB, free: 29.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.4663, allocations: 1.029 MB / 443.5 MB, free: 29.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.468, allocations: 0.7559 MB / 444.3 MB, free: 29.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.4703, allocations: 1.313 MB / 445.6 MB, free: 28.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007981/0.4712, allocations: 137.5 kB / 445.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.4733, allocations: 0.6991 MB / 446.4 MB, free: 28.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0016/0.4749, allocations: 1.105 MB / 447.6 MB, free: 28.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002547/0.4774, allocations: 1.436 MB / 449 MB, free: 27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004684/0.4821, allocations: 3.766 MB / 452.8 MB, free: 25.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.258e-05/0.4822, allocations: 0 / 452.8 MB, free: 25.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4822, allocations: 0 / 452.8 MB, free: 25.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002583/0.4825, allocations: 3.125 kB / 452.8 MB, free: 25.74 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.01146/0.4939, allocations: 3.623 MB / 456.4 MB, free: 23.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.494, allocations: 13.5 kB / 456.4 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006538/0.5006, allocations: 1.749 MB / 458.1 MB, free: 23.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/0.505, allocations: 1.315 MB / 459.5 MB, free: 22.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.5052, allocations: 158.2 kB / 459.6 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008256/0.5061, allocations: 205.2 kB / 459.8 MB, free: 22.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.5201, allocations: 7.556 MB / 467.4 MB, free: 19.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.726e-05/0.5202, allocations: 17.34 kB / 467.4 MB, free: 19.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002933/0.5205, allocations: 94.59 kB / 467.5 MB, free: 19.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003732/0.5243, allocations: 1.703 MB / 469.2 MB, free: 18.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/0.5455, allocations: 6.844 MB / 476 MB, free: 16.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03966/0.5852, allocations: 22.97 MB / 499 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003831/0.5891, allocations: 2.022 MB / 0.4893 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.5904, allocations: 0.7629 MB / 0.49 GB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005124/0.5955, allocations: 2.848 MB / 0.4928 GB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.5956, allocations: 39.56 kB / 0.4928 GB, free: 8.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 5.911e-06/0.5956, allocations: 0 / 0.4928 GB, free: 8.457 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.008594/0.6042, allocations: 4.037 MB / 0.4968 GB, free: 4.406 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.6043, allocations: 64.41 kB / 0.4968 GB, free: 4.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003923/0.6082, allocations: 2.401 MB / 0.4992 GB, free: 1.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.6083, allocations: 41.7 kB / 0.4992 GB, free: 1.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.6099, allocations: 1.996 MB / 0.5012 GB, free: 15.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/0.6104, allocations: 0.4935 MB / 0.5017 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.6115, allocations: 0.7341 MB / 0.5024 GB, free: 14.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6117, allocations: 301.1 kB / 0.5027 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.6136, allocations: 1.213 MB / 0.5039 GB, free: 13.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.6172, allocations: 3.269 MB / 0.507 GB, free: 8.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008859/0.626, allocations: 5.4 MB / 0.5123 GB, free: 2.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.954e-05/0.6261, allocations: 20 kB / 0.5123 GB, free: 2.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.008477/0.6346, allocations: 4.564 MB / 0.5168 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.6347, allocations: 36 kB / 0.5168 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.43e-05/0.6348, allocations: 72 kB / 0.5169 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/0.6354, allocations: 236.7 kB / 0.5171 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/0.6378, allocations: 0.8114 MB / 0.5179 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.6412, allocations: 2.653 MB / 0.5205 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.6439, allocations: 188.1 kB / 0.5207 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/0.6442, allocations: 223.9 kB / 0.5209 GB, free: 9.441 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.003354/0.6476, allocations: 1.5 MB / 0.5224 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.648, allocations: 201.4 kB / 0.5226 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/0.6513, allocations: 1.814 MB / 0.5243 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/0.6514, allocations: 31.91 kB / 0.5244 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6515, allocations: 4 kB / 0.5244 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.6515, allocations: 3.984 kB / 0.5244 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009335/0.6608, allocations: 5.211 MB / 0.5295 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.6608, allocations: 0 / 0.5295 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007555/0.6616, allocations: 179.8 kB / 0.5296 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003675/0.662, allocations: 125 kB / 0.5297 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.068e-05/0.6621, allocations: 26.91 kB / 0.5298 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.6647, allocations: 2.178 MB / 0.5319 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6647, allocations: 8.062 kB / 0.5319 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.669, allocations: 2.829 MB / 0.5347 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008552/0.6699, allocations: 410.4 kB / 0.5351 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.6701, allocations: 20 kB / 0.5351 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007307/0.6708, allocations: 55.94 kB / 0.5351 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.671, allocations: 72.91 kB / 0.5352 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/0.6711, allocations: 39.98 kB / 0.5352 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002466/0.6735, allocations: 1.546 MB / 0.5367 GB, free: 8.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6736, allocations: 4.125 kB / 0.5368 GB, free: 8.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003129/0.6767, allocations: 0.6172 MB / 0.5374 GB, free: 8.207 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.0004429/0.6771, allocations: 164.9 kB / 0.5375 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005741/0.6829, allocations: 2.922 MB / 0.5404 GB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6829, allocations: 0 / 0.5404 GB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.6843, allocations: 0.9217 MB / 0.5413 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.6863, allocations: 359.8 kB / 0.5416 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/0.7, allocations: 7.761 MB / 0.5492 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/0.7028, allocations: 2.473 MB / 0.5516 GB, free: 9.527 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008592/0.7036, allocations: 195.4 kB / 0.5518 GB, free: 9.336 MB / 430.1 MB Notification: Performance of SimCode: time 1.273e-06/0.7037, allocations: 0 / 0.5518 GB, free: 9.336 MB / 430.1 MB Notification: Performance of Templates: time 0.344/1.048, allocations: 53.46 MB / 0.604 GB, free: 110.7 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