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.0008948/0.0008949, allocations: 100.8 kB / 15.71 MB, free: 460 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.001309/0.001309, allocations: 174.9 kB / 16.58 MB, free: 6.145 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.573/1.573, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2804/0.2804, allocations: 9.09 MB / 300.8 MB, free: 2.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003723, allocations: 12 kB / 363.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 52.44 MB / 416.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.3514/0.495, allocations: 21.24 MB / 437.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01563/0.5107, allocations: 5.246 MB / 442.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006004/0.5168, allocations: 87.59 kB / 442.7 MB, free: 29.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004233/0.5211, allocations: 1.004 MB / 443.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01407/0.5352, allocations: 3.647 MB / 447.4 MB, free: 27.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.5373, allocations: 147.3 kB / 447.5 MB, free: 27.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005345/0.5427, allocations: 2.779 MB / 450.3 MB, free: 26.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/0.545, allocations: 0.7709 MB / 451.1 MB, free: 25.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.5476, allocations: 0.7919 MB / 451.9 MB, free: 25.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.5507, allocations: 1.29 MB / 453.2 MB, free: 25.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.5518, allocations: 128.9 kB / 453.3 MB, free: 25.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.5547, allocations: 0.719 MB / 454 MB, free: 25.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002423/0.5572, allocations: 1.098 MB / 455.1 MB, free: 24.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.559, allocations: 0.6375 MB / 455.7 MB, free: 24.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005578/0.5645, allocations: 3.706 MB / 459.4 MB, free: 23.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5646, allocations: 0 / 459.4 MB, free: 23.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5646, allocations: 0 / 459.4 MB, free: 23.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001333/0.5647, allocations: 0 / 459.4 MB, free: 23.43 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.0149/0.5796, allocations: 4.412 MB / 463.9 MB, free: 21.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.5797, allocations: 9.375 kB / 463.9 MB, free: 21.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008443/0.5882, allocations: 1.809 MB / 465.7 MB, free: 21.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005389/0.5936, allocations: 1.394 MB / 467.1 MB, free: 20.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.5938, allocations: 148.3 kB / 467.2 MB, free: 20.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000697/0.5945, allocations: 196.6 kB / 467.4 MB, free: 20.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02224/0.6168, allocations: 8.44 MB / 475.8 MB, free: 16.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-05/0.6169, allocations: 30.19 kB / 475.9 MB, free: 16.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003422/0.6173, allocations: 95.31 kB / 476 MB, free: 16.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00407/0.6213, allocations: 1.88 MB / 477.8 MB, free: 16.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02333/0.6447, allocations: 8.096 MB / 485.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05514/0.6999, allocations: 25.95 MB / 0.4999 GB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.7114, allocations: 2.849 MB / 0.5027 GB, free: 384 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002864/0.7143, allocations: 1.072 MB / 0.5037 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.7248, allocations: 5.026 MB / 0.5086 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/0.7249, allocations: 51.88 kB / 0.5087 GB, free: 9.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 5.44e-06/0.7249, allocations: 0 / 0.5087 GB, free: 9.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01994/0.7448, allocations: 7.929 MB / 0.5164 GB, free: 1.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.7449, allocations: 68.72 kB / 0.5165 GB, free: 1.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005825/0.7507, allocations: 2.582 MB / 0.519 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.7509, allocations: 49.7 kB / 0.5191 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001899/0.7528, allocations: 2.055 MB / 0.5211 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008235/0.7536, allocations: 0.6398 MB / 0.5217 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/0.754, allocations: 80 kB / 0.5218 GB, free: 12.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004049/0.7544, allocations: 482.9 kB / 0.5222 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/0.7571, allocations: 1.355 MB / 0.5235 GB, free: 10.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004575/0.7617, allocations: 3.517 MB / 0.527 GB, free: 5.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004208/0.7659, allocations: 2.195 MB / 0.5291 GB, free: 3.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/0.7661, allocations: 20 kB / 0.5291 GB, free: 3.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01085/0.7769, allocations: 5.082 MB / 0.5341 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.7771, allocations: 36.94 kB / 0.5341 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001975/0.7773, allocations: 76 kB / 0.5342 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009719/0.7783, allocations: 334.8 kB / 0.5345 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003344/0.7816, allocations: 0.9007 MB / 0.5354 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004535/0.7862, allocations: 3.021 MB / 0.5384 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/0.7899, allocations: 187.9 kB / 0.5385 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007954/0.7907, allocations: 240 kB / 0.5388 GB, free: 9.438 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004846/0.7956, allocations: 1.577 MB / 0.5403 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007778/0.7964, allocations: 221.1 kB / 0.5405 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005614/0.802, allocations: 2.327 MB / 0.5428 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001189/0.8022, allocations: 31.97 kB / 0.5428 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/0.8022, allocations: 4 kB / 0.5428 GB, free: 5.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.8022, allocations: 3.984 kB / 0.5428 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/0.8197, allocations: 6.257 MB / 0.5489 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/0.8197, allocations: 3.984 kB / 0.5489 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.8209, allocations: 247.7 kB / 0.5492 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006299/0.8216, allocations: 205.5 kB / 0.5494 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.8218, allocations: 44 kB / 0.5494 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.8256, allocations: 2.597 MB / 0.552 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8256, allocations: 0 / 0.552 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006895/0.8326, allocations: 3.57 MB / 0.5554 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.8337, allocations: 318.1 kB / 0.5557 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006869/0.8344, allocations: 31.98 kB / 0.5558 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.8357, allocations: 71.86 kB / 0.5558 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.836, allocations: 101.1 kB / 0.5559 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.8361, allocations: 48.27 kB / 0.556 GB, free: 7.414 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00426/0.8404, allocations: 1.664 MB / 0.5576 GB, free: 5.734 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8404, allocations: 0 / 0.5576 GB, free: 5.734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004816/0.8452, allocations: 0.7069 MB / 0.5583 GB, free: 5.027 MB / 430.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006876/0.8459, allocations: 171 kB / 0.5585 GB, free: 4.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007512/0.8534, allocations: 3.445 MB / 0.5618 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.8535, allocations: 0 / 0.5618 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.8557, allocations: 1.255 MB / 0.5631 GB, free: 108 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/0.8592, allocations: 366.3 kB / 0.5634 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/0.879, allocations: 8.517 MB / 0.5717 GB, free: 7.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004193/0.8832, allocations: 2.603 MB / 0.5743 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000949/0.8842, allocations: 215.4 kB / 0.5745 GB, free: 4.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.904e-06/0.8842, allocations: 0 / 0.5745 GB, free: 4.32 MB / 446.1 MB Notification: Performance of Templates: time 0.3969/1.281, allocations: 72.4 MB / 0.6452 GB, free: 90.19 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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