Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") translateModel(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009976/0.0009976, 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.001366/0.001367, allocations: 173 kB / 16.92 MB, free: 6.652 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.501/1.501, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1945/0.1945, allocations: 9.102 MB / 301.2 MB, free: 2.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.000357, allocations: 11.98 kB / 364.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 52.43 MB / 416.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.3243/0.4602, allocations: 35.27 MB / 452.1 MB, free: 21.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02303/0.4833, allocations: 7.733 MB / 459.8 MB, free: 17.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01137/0.4947, allocations: 133.2 kB / 459.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.4967, allocations: 355.6 kB / 460.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005825/0.5026, allocations: 1.504 MB / 461.8 MB, free: 16.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.5037, allocations: 157.2 kB / 461.9 MB, free: 16.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006503/0.5102, allocations: 4.14 MB / 466.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/0.5129, allocations: 0.953 MB / 467 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.5156, allocations: 0.9021 MB / 467.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003225/0.5189, allocations: 1.581 MB / 469.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.5201, allocations: 153.2 kB / 469.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.5228, allocations: 0.7935 MB / 470.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002412/0.5252, allocations: 1.388 MB / 471.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003563/0.5288, allocations: 1.773 MB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006726/0.5356, allocations: 4.234 MB / 477.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.5356, allocations: 0.75 kB / 477.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5356, allocations: 0 / 477.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000326/0.5359, allocations: 1.219 kB / 477.8 MB, free: 10.68 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.0343/0.5703, allocations: 6.166 MB / 484 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.998e-05/0.5704, allocations: 9.438 kB / 484 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.582, allocations: 1.878 MB / 485.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005821/0.5878, allocations: 1.703 MB / 487.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/0.5882, allocations: 183.5 kB / 487.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001949/0.5902, allocations: 250.9 kB / 488 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02994/0.6201, allocations: 10.42 MB / 498.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003209/0.6205, allocations: 37.41 kB / 498.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001754/0.6223, allocations: 112.8 kB / 498.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00436/0.6267, allocations: 2.153 MB / 0.489 GB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02908/0.6558, allocations: 10.37 MB / 0.4991 GB, free: 4.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06769/0.7235, allocations: 33.54 MB / 0.5319 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02027/0.7438, allocations: 4.346 MB / 0.5361 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004322/0.7482, allocations: 1.688 MB / 0.5378 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01507/0.7633, allocations: 8.601 MB / 0.5462 GB, free: 2.801 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.897e-05/0.7635, allocations: 56.56 kB / 0.5462 GB, free: 2.734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=237): time 7.745e-06/0.7635, allocations: 0 / 0.5462 GB, free: 2.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=277): time 0.03369/0.7972, allocations: 12.75 MB / 0.5587 GB, free: 5.824 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004588/0.8018, allocations: 3.375 MB / 0.562 GB, free: 2.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007352/0.8092, allocations: 3.043 MB / 0.565 GB, free: 15.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006038/0.8098, allocations: 69.69 kB / 0.565 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00232/0.8122, allocations: 2.401 MB / 0.5674 GB, free: 12.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001761/0.814, allocations: 1.002 MB / 0.5683 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.8154, allocations: 458.2 kB / 0.5688 GB, free: 11.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.8155, allocations: 301.1 kB / 0.5691 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004258/0.8198, allocations: 1.904 MB / 0.5709 GB, free: 9.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006635/0.8265, allocations: 4.665 MB / 0.5755 GB, free: 3.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3355/1.162, allocations: 7.153 MB / 0.5825 GB, free: 118.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-05/1.162, allocations: 28.91 kB / 0.5825 GB, free: 118.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01423/1.176, allocations: 7.046 MB / 0.5894 GB, free: 117.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/1.176, allocations: 46.31 kB / 0.5894 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/1.177, allocations: 93.59 kB / 0.5895 GB, free: 117.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/1.178, allocations: 0.5445 MB / 0.59 GB, free: 117.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/1.182, allocations: 1.235 MB / 0.5912 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/1.189, allocations: 6.788 MB / 0.5979 GB, free: 113.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004727/1.194, allocations: 281 kB / 0.5981 GB, free: 113.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006473/1.195, allocations: 315.3 kB / 0.5984 GB, free: 113.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 432 * Number of states: 0 () * Number of discrete variables: 15 (trail.color[3],trail.color[2],trail.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],chassis.color[3],chassis.color[2],chassis.color[1],bodyRear.sphereColor[3],bodyRear.sphereColor[2],bodyRear.sphereColor[1],bodyFront.sphereColor[3],bodyFront.sphereColor[2],bodyFront.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 655 * 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 {(6,26,55.6%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003571/1.198, allocations: 1.849 MB / 0.6002 GB, free: 112.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005077/1.199, allocations: 299.6 kB / 0.6005 GB, free: 112.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006258/1.205, allocations: 3.836 MB / 0.6043 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001099/1.205, allocations: 40.83 kB / 0.6043 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/1.205, allocations: 6.688 kB / 0.6043 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/1.205, allocations: 10.36 kB / 0.6043 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02635/1.231, allocations: 10.96 MB / 0.615 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/1.232, allocations: 5.5 kB / 0.615 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/1.234, allocations: 391.8 kB / 0.6154 GB, free: 106.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/1.236, allocations: 0.5572 MB / 0.616 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001777/1.236, allocations: 55.8 kB / 0.616 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0102/1.246, allocations: 7.391 MB / 0.6232 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003798/1.25, allocations: 3.126 MB / 0.6263 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009212/1.259, allocations: 5.848 MB / 0.632 GB, free: 97.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/1.261, allocations: 0.6346 MB / 0.6326 GB, free: 97.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/1.261, allocations: 47.66 kB / 0.6327 GB, free: 97.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/1.263, allocations: 125.6 kB / 0.6328 GB, free: 97.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/1.263, allocations: 184.7 kB / 0.633 GB, free: 97.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/1.263, allocations: 82.39 kB / 0.633 GB, free: 97.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002836/1.266, allocations: 1.949 MB / 0.6349 GB, free: 96.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.266, allocations: 0 / 0.6349 GB, free: 96.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004148/1.27, allocations: 0.9772 MB / 0.6359 GB, free: 96.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 ($STATESET1.x,bodyRear.r[1],bodyRear.r[2],bodyRear.phi,idealWheelFront.phi_roll,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 (208): * Single equations (assignments): 202 * 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 {(6,26,55.6%), (3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004464/1.271, allocations: 190.8 kB / 0.6361 GB, free: 96.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007419/1.278, allocations: 5.05 MB / 0.641 GB, free: 93.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.278, allocations: 0 / 0.641 GB, free: 93.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003037/1.281, allocations: 2.137 MB / 0.6431 GB, free: 91.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004167/1.285, allocations: 448.5 kB / 0.6435 GB, free: 90.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/1.3, allocations: 11.37 MB / 0.6546 GB, free: 80.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/1.302, allocations: 3.012 MB / 0.6576 GB, free: 77.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.303, allocations: 283.4 kB / 0.6578 GB, free: 77.01 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/1.303, allocations: 0 / 0.6578 GB, free: 77.01 MB / 446.1 MB Notification: Performance of Templates: time 0.09633/1.4, allocations: 87.5 MB / 0.7433 GB, free: 5.578 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.SingleTrackWithEngineCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngineCalcHelperMain.o] Error 1