Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, 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.001712/0.001712, allocations: 197.8 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.625/1.625, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2066/0.2066, allocations: 9.094 MB / 299.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 361.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1294, allocations: 51.44 MB / 413.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.2835/0.4129, allocations: 23.55 MB / 436.9 MB, free: 31.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01494/0.4279, allocations: 5.529 MB / 442.4 MB, free: 28.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006588/0.4346, allocations: 86.09 kB / 442.5 MB, free: 28.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.4358, allocations: 305.8 kB / 442.8 MB, free: 27.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.4396, allocations: 1.313 MB / 444.1 MB, free: 27.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.4402, allocations: 145.5 kB / 444.2 MB, free: 27.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003839/0.444, allocations: 3.474 MB / 447.7 MB, free: 26.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.4451, allocations: 0.7978 MB / 448.5 MB, free: 25.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4461, allocations: 0.7572 MB / 449.3 MB, free: 25.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.4474, allocations: 1.325 MB / 450.6 MB, free: 25.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002592/0.4477, allocations: 130.2 kB / 450.7 MB, free: 25.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.4491, allocations: 0.834 MB / 451.6 MB, free: 24.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008467/0.45, allocations: 1.119 MB / 452.7 MB, free: 24.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.4511, allocations: 1.481 MB / 454.2 MB, free: 23.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.4538, allocations: 3.822 MB / 458 MB, free: 22.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4539, allocations: 0 / 458 MB, free: 22.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4539, allocations: 4 kB / 458 MB, free: 22.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.664e-05/0.4539, allocations: 0 / 458 MB, free: 22.12 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01532/0.4693, allocations: 5.027 MB / 463 MB, free: 20.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.4693, allocations: 8.844 kB / 463 MB, free: 20.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005934/0.4753, allocations: 1.765 MB / 464.8 MB, free: 19.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.4776, allocations: 1.41 MB / 466.2 MB, free: 18.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.4777, allocations: 151.8 kB / 466.3 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004153/0.4781, allocations: 198.1 kB / 466.5 MB, free: 18.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.4955, allocations: 8.454 MB / 475 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.58e-05/0.4957, allocations: 25.98 kB / 475 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/0.496, allocations: 88.91 kB / 475.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003685/0.4997, allocations: 1.881 MB / 477 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/0.5232, allocations: 8.132 MB / 485.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04991/0.5732, allocations: 25.93 MB / 0.4991 GB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.5844, allocations: 2.839 MB / 0.5018 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.5869, allocations: 1.084 MB / 0.5029 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009499/0.5964, allocations: 5.014 MB / 0.5078 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.5965, allocations: 51.86 kB / 0.5078 GB, free: 8.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 5.119e-06/0.5966, allocations: 0 / 0.5078 GB, free: 8.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01932/0.6159, allocations: 7.932 MB / 0.5156 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.616, allocations: 64.72 kB / 0.5157 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/0.6217, allocations: 2.609 MB / 0.5182 GB, free: 13.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002807/0.622, allocations: 53.62 kB / 0.5183 GB, free: 13.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001886/0.6239, allocations: 2.051 MB / 0.5203 GB, free: 11.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009715/0.6249, allocations: 0.636 MB / 0.5209 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00185/0.6268, allocations: 0.802 MB / 0.5217 GB, free: 10.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6269, allocations: 305.1 kB / 0.5219 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.6294, allocations: 1.374 MB / 0.5233 GB, free: 8.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004129/0.6335, allocations: 3.528 MB / 0.5267 GB, free: 4.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007499/0.641, allocations: 5.308 MB / 0.5319 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.812e-05/0.6411, allocations: 20 kB / 0.5319 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01067/0.6518, allocations: 5.11 MB / 0.5369 GB, free: 8.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/0.6519, allocations: 36 kB / 0.537 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.6521, allocations: 76 kB / 0.537 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000888/0.653, allocations: 318.9 kB / 0.5373 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/0.6562, allocations: 0.8968 MB / 0.5382 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004157/0.6603, allocations: 3.035 MB / 0.5412 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/0.6638, allocations: 191.9 kB / 0.5414 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007497/0.6645, allocations: 236 kB / 0.5416 GB, free: 3.637 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (490): * Single equations (assignments): 484 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003577/0.6681, allocations: 1.581 MB / 0.5431 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006368/0.6688, allocations: 228.9 kB / 0.5434 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/0.6736, allocations: 2.34 MB / 0.5456 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001199/0.6738, allocations: 31.97 kB / 0.5457 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/0.6738, allocations: 7.984 kB / 0.5457 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.6738, allocations: 3.984 kB / 0.5457 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.6872, allocations: 6.249 MB / 0.5518 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.6872, allocations: 7.984 kB / 0.5518 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.6883, allocations: 247.6 kB / 0.552 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/0.689, allocations: 205.5 kB / 0.5522 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.6892, allocations: 36.33 kB / 0.5523 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/0.6926, allocations: 2.599 MB / 0.5548 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.6926, allocations: 4 kB / 0.5548 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006162/0.6988, allocations: 3.578 MB / 0.5583 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.6999, allocations: 314.1 kB / 0.5586 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006719/0.7006, allocations: 28 kB / 0.5586 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.7019, allocations: 79.86 kB / 0.5587 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/0.7021, allocations: 89.19 kB / 0.5588 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.7023, allocations: 51.97 kB / 0.5588 GB, free: 1.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003632/0.7059, allocations: 1.679 MB / 0.5605 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.023e-06/0.7059, allocations: 0 / 0.5605 GB, free: 15.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004081/0.71, allocations: 0.7071 MB / 0.5612 GB, free: 15.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.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 (138): * Single equations (assignments): 132 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006259/0.7107, allocations: 187.2 kB / 0.5613 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006937/0.7176, allocations: 3.464 MB / 0.5647 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.7176, allocations: 0 / 0.5647 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002205/0.7199, allocations: 1.243 MB / 0.5659 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/0.7232, allocations: 364.6 kB / 0.5663 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.7412, allocations: 8.736 MB / 0.5748 GB, free: 1.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2381/0.9793, allocations: 2.591 MB / 0.5773 GB, free: 124.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.9804, allocations: 225.3 kB / 0.5776 GB, free: 124.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.9804, allocations: 0 / 0.5776 GB, free: 124.1 MB / 446.1 MB Notification: Performance of Templates: time 0.1187/1.099, allocations: 72.96 MB / 0.6488 GB, free: 86.61 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.TestDryFrictionWheelCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheelCalcHelperMain.o] Error 1