Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, 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.001797/0.001798, allocations: 197.5 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.532/1.532, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2221/0.2221, allocations: 9.098 MB / 299.7 MB, free: 1.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.91 kB / 361.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1242, allocations: 51.43 MB / 413.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.2823/0.4066, allocations: 23.45 MB / 436.8 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.4247, allocations: 5.397 MB / 442.2 MB, free: 28.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006872/0.4316, allocations: 88.09 kB / 442.3 MB, free: 28.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.4333, allocations: 299.2 kB / 442.6 MB, free: 28.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.4396, allocations: 1.186 MB / 443.7 MB, free: 27.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008709/0.4405, allocations: 107.6 kB / 443.8 MB, free: 27.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005473/0.4459, allocations: 3.362 MB / 447.2 MB, free: 26.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.4473, allocations: 0.7677 MB / 448 MB, free: 26.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.4485, allocations: 0.7359 MB / 448.7 MB, free: 25.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.45, allocations: 1.278 MB / 450 MB, free: 25.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002721/0.4503, allocations: 126 kB / 450.1 MB, free: 25.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.4517, allocations: 0.6868 MB / 450.8 MB, free: 25.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009445/0.4526, allocations: 1.089 MB / 451.9 MB, free: 24.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.4539, allocations: 1.437 MB / 453.3 MB, free: 23.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.4574, allocations: 3.681 MB / 457 MB, free: 22.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4574, allocations: 0 / 457 MB, free: 22.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4575, allocations: 4 kB / 457 MB, free: 22.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.421e-05/0.4575, allocations: 0 / 457 MB, free: 22.54 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01614/0.4737, allocations: 4.804 MB / 461.8 MB, free: 20.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.4738, allocations: 9 kB / 461.8 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006122/0.4799, allocations: 1.758 MB / 463.6 MB, free: 20.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/0.483, allocations: 1.373 MB / 465 MB, free: 19.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.4831, allocations: 146.3 kB / 465.1 MB, free: 19.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004326/0.4836, allocations: 193.2 kB / 465.3 MB, free: 19.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/0.503, allocations: 8.153 MB / 473.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.62e-05/0.5031, allocations: 23.88 kB / 473.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/0.5035, allocations: 91.92 kB / 473.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003879/0.5073, allocations: 1.83 MB / 475.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0219/0.5293, allocations: 7.812 MB / 483.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04499/0.5743, allocations: 24.72 MB / 0.496 GB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009615/0.5839, allocations: 2.667 MB / 0.4986 GB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001912/0.5859, allocations: 0.9924 MB / 0.4996 GB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008729/0.5946, allocations: 4.348 MB / 0.5038 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.5947, allocations: 47.56 kB / 0.5039 GB, free: 12.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 4.649e-06/0.5947, allocations: 0 / 0.5039 GB, free: 12.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.01884/0.6136, allocations: 7.498 MB / 0.5112 GB, free: 5.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.6137, allocations: 68.72 kB / 0.5113 GB, free: 5.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005281/0.619, allocations: 2.511 MB / 0.5137 GB, free: 2.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002144/0.6192, allocations: 45.7 kB / 0.5138 GB, free: 2.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/0.6213, allocations: 1.989 MB / 0.5157 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009346/0.6223, allocations: 0.6051 MB / 0.5163 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001955/0.6243, allocations: 0.7701 MB / 0.517 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6244, allocations: 305.1 kB / 0.5173 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.6272, allocations: 1.339 MB / 0.5186 GB, free: 13.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/0.6317, allocations: 3.387 MB / 0.522 GB, free: 9.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007398/0.6391, allocations: 5.107 MB / 0.5269 GB, free: 3.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.487e-05/0.6392, allocations: 20 kB / 0.527 GB, free: 3.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01165/0.6509, allocations: 5.031 MB / 0.5319 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.829e-05/0.651, allocations: 36 kB / 0.5319 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/0.6512, allocations: 72 kB / 0.532 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.6525, allocations: 414.9 kB / 0.5324 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/0.6559, allocations: 0.8422 MB / 0.5332 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009627/0.6656, allocations: 5.467 MB / 0.5385 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003902/0.6695, allocations: 184 kB / 0.5387 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009891/0.6706, allocations: 224 kB / 0.5389 GB, free: 6.465 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * 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 (456): * Single equations (assignments): 450 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004453/0.675, allocations: 1.537 MB / 0.5404 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/0.6758, allocations: 217.2 kB / 0.5406 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00574/0.6815, allocations: 2.365 MB / 0.5429 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001211/0.6817, allocations: 31.98 kB / 0.543 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.61e-05/0.6817, allocations: 4 kB / 0.543 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.6818, allocations: 3.984 kB / 0.543 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.6968, allocations: 6.108 MB / 0.5489 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.6969, allocations: 256 / 0.5489 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.6979, allocations: 232 kB / 0.5492 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008388/0.6988, allocations: 269.5 kB / 0.5494 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.6989, allocations: 31.98 kB / 0.5495 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005571/0.7045, allocations: 4.343 MB / 0.5537 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.7046, allocations: 7.938 kB / 0.5537 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006709/0.7113, allocations: 3.531 MB / 0.5571 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.7124, allocations: 298.2 kB / 0.5574 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006598/0.7131, allocations: 28 kB / 0.5575 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.7144, allocations: 59.92 kB / 0.5575 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/0.7148, allocations: 109 kB / 0.5576 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.715, allocations: 40 kB / 0.5577 GB, free: 2.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003934/0.7189, allocations: 1.63 MB / 0.5593 GB, free: 1.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7189, allocations: 0 / 0.5593 GB, free: 1.117 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004604/0.7235, allocations: 0.6913 MB / 0.5599 GB, free: 436 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005905/0.7241, allocations: 159 kB / 0.5601 GB, free: 268 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007372/0.7315, allocations: 3.492 MB / 0.5635 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.7316, allocations: 384 / 0.5635 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002317/0.7339, allocations: 1.328 MB / 0.5648 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.7367, allocations: 362.7 kB / 0.5651 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.7546, allocations: 8.441 MB / 0.5734 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2502/1.005, allocations: 2.553 MB / 0.5759 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008876/1.006, allocations: 203 kB / 0.5761 GB, free: 122.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.783e-06/1.006, allocations: 0.8438 kB / 0.5761 GB, free: 122.7 MB / 446.1 MB Notification: Performance of Templates: time 0.09709/1.103, allocations: 71.04 MB / 0.6454 GB, free: 88.55 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.TestIdealWheelCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheelCalcHelperMain.o] Error 1