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.000962/0.0009619, allocations: 98.88 kB / 16.02 MB, free: 76 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.001734/0.001734, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.516/1.516, allocations: 223.2 MB / 240.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2015/0.2015, allocations: 9.095 MB / 301.2 MB, free: 2.738 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 15.98 kB / 364.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 52.44 MB / 416.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.3077/0.4435, allocations: 22.68 MB / 439.5 MB, free: 29.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.458, allocations: 5.355 MB / 444.8 MB, free: 28.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004878/0.4629, allocations: 87.03 kB / 444.9 MB, free: 28.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008418/0.4638, allocations: 299.4 kB / 445.2 MB, free: 28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.4672, allocations: 1.186 MB / 446.4 MB, free: 27.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.4675, allocations: 100.6 kB / 446.5 MB, free: 27.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003592/0.4711, allocations: 3.368 MB / 449.9 MB, free: 26.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.4723, allocations: 0.7523 MB / 450.6 MB, free: 25.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009404/0.4732, allocations: 0.725 MB / 451.3 MB, free: 25.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.4746, allocations: 1.267 MB / 452.6 MB, free: 25.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.4748, allocations: 126.7 kB / 452.7 MB, free: 25.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.476, allocations: 0.6724 MB / 453.4 MB, free: 25.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008486/0.4769, allocations: 1.107 MB / 454.5 MB, free: 24.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.4779, allocations: 1.442 MB / 455.9 MB, free: 23.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002808/0.4808, allocations: 3.582 MB / 459.5 MB, free: 22.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4808, allocations: 4 kB / 459.5 MB, free: 22.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4808, allocations: 0.75 kB / 459.5 MB, free: 22.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.8e-05/0.4808, allocations: 0 / 459.5 MB, free: 22.81 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.01458/0.4954, allocations: 4.19 MB / 463.7 MB, free: 21.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4955, allocations: 9.031 kB / 463.7 MB, free: 21.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007508/0.503, allocations: 1.797 MB / 465.5 MB, free: 20.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.5071, allocations: 1.379 MB / 466.9 MB, free: 20.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.5073, allocations: 146.7 kB / 467 MB, free: 19.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006172/0.5079, allocations: 193.7 kB / 467.2 MB, free: 19.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0186/0.5265, allocations: 8.152 MB / 475.4 MB, free: 16.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.5267, allocations: 18.16 kB / 475.4 MB, free: 16.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/0.527, allocations: 91.23 kB / 475.5 MB, free: 16.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004366/0.5314, allocations: 1.835 MB / 477.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02511/0.5565, allocations: 7.815 MB / 485.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04915/0.6057, allocations: 24.76 MB / 0.4979 GB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.6163, allocations: 2.677 MB / 0.5006 GB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.6184, allocations: 0.9963 MB / 0.5015 GB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008342/0.6268, allocations: 4.344 MB / 0.5058 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.6269, allocations: 47.56 kB / 0.5058 GB, free: 13.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 5.06e-06/0.6269, allocations: 0 / 0.5058 GB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.01838/0.6453, allocations: 7.502 MB / 0.5132 GB, free: 5.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.6454, allocations: 72.66 kB / 0.5132 GB, free: 5.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006061/0.6515, allocations: 2.503 MB / 0.5157 GB, free: 2.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003393/0.6519, allocations: 45.7 kB / 0.5157 GB, free: 2.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/0.6542, allocations: 1.989 MB / 0.5177 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001161/0.6554, allocations: 0.6167 MB / 0.5183 GB, free: 188 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.6564, allocations: 318.2 kB / 0.5186 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6566, allocations: 305.1 kB / 0.5188 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/0.6596, allocations: 1.335 MB / 0.5202 GB, free: 14.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004587/0.6642, allocations: 3.391 MB / 0.5235 GB, free: 9.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007108/0.6713, allocations: 5.115 MB / 0.5285 GB, free: 3.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-05/0.6714, allocations: 20 kB / 0.5285 GB, free: 3.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01036/0.6817, allocations: 5.03 MB / 0.5334 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.068e-05/0.6818, allocations: 36 kB / 0.5334 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.063e-05/0.6819, allocations: 72.09 kB / 0.5335 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.683, allocations: 424.3 kB / 0.5339 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/0.6858, allocations: 0.8383 MB / 0.5347 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007416/0.6932, allocations: 5.463 MB / 0.54 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/0.6966, allocations: 188 kB / 0.5402 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004355/0.6971, allocations: 232 kB / 0.5404 GB, free: 7.156 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.003237/0.7003, allocations: 1.534 MB / 0.5419 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004567/0.7008, allocations: 217.2 kB / 0.5422 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004394/0.7052, allocations: 2.35 MB / 0.5444 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001191/0.7053, allocations: 35.97 kB / 0.5445 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.7053, allocations: 4 kB / 0.5445 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.7054, allocations: 7.922 kB / 0.5445 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.7164, allocations: 6.111 MB / 0.5505 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.7165, allocations: 0 / 0.5505 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009172/0.7174, allocations: 224 kB / 0.5507 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007245/0.7181, allocations: 279.3 kB / 0.5509 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/0.7182, allocations: 31.98 kB / 0.551 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004864/0.7231, allocations: 4.343 MB / 0.5552 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7231, allocations: 3.984 kB / 0.5552 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005556/0.7287, allocations: 3.55 MB / 0.5587 GB, free: 3.992 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009265/0.7296, allocations: 306.2 kB / 0.559 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.7299, allocations: 24 kB / 0.559 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/0.7307, allocations: 63.94 kB / 0.5591 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.7309, allocations: 97.12 kB / 0.5592 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.486e-05/0.731, allocations: 47.98 kB / 0.5592 GB, free: 3.441 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002702/0.7337, allocations: 1.626 MB / 0.5608 GB, free: 1.797 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7337, allocations: 0 / 0.5608 GB, free: 1.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003163/0.7369, allocations: 0.6913 MB / 0.5615 GB, free: 1.105 MB / 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.0003954/0.7373, allocations: 155 kB / 0.5616 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005958/0.7433, allocations: 3.502 MB / 0.565 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7433, allocations: 384 / 0.565 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/0.7452, allocations: 1.325 MB / 0.5663 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.7476, allocations: 365 kB / 0.5667 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.762, allocations: 8.53 MB / 0.575 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002918/0.765, allocations: 2.557 MB / 0.5775 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009702/0.766, allocations: 203.4 kB / 0.5777 GB, free: 372 kB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.766, allocations: 0 / 0.5777 GB, free: 372 kB / 446.1 MB Notification: Performance of Templates: time 0.3749/1.141, allocations: 70.4 MB / 0.6464 GB, free: 87.16 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