Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.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/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") translateModel(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009908/0.0009908, allocations: 99.44 kB / 15.71 MB, free: 452 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.001101/0.001101, allocations: 176.1 kB / 16.58 MB, free: 6.422 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.57/1.57, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.2308/0.2308, allocations: 7.969 MB / 299.7 MB, free: 3.348 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 8.219 kB / 362.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1251, allocations: 52.2 MB / 414.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads): time 0.009063/0.1342, allocations: 8.074 MB / 422.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2985/0.4327, allocations: 2.328 MB / 425 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.4349, allocations: 32.19 kB / 425 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.4362, allocations: 380.8 kB / 425.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.44, allocations: 1.13 MB / 426.5 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.4404, allocations: 82.36 kB / 426.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002356/0.4428, allocations: 1.698 MB / 428.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000496/0.4433, allocations: 373.1 kB / 428.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006021/0.4439, allocations: 0.4913 MB / 429.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009214/0.4448, allocations: 0.7614 MB / 429.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.445, allocations: 52.47 kB / 429.9 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.4458, allocations: 337.6 kB / 430.3 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.4464, allocations: 0.6936 MB / 431 MB, free: 33.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.4467, allocations: 390.8 kB / 431.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.4484, allocations: 2.058 MB / 433.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4484, allocations: 3.156 kB / 433.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4484, allocations: 0 / 433.4 MB, free: 33.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.4485, allocations: 0 / 433.4 MB, free: 33.28 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: 763 * Number of variables: 763 Notification: Performance of Generate backend data structure: time 0.002667/0.4512, allocations: 1.796 MB / 435.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4512, allocations: 11.25 kB / 435.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/0.4556, allocations: 1.528 MB / 436.7 MB, free: 32.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.4571, allocations: 0.8348 MB / 437.6 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.4572, allocations: 85.78 kB / 437.7 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006125/0.4578, allocations: 257 kB / 437.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00798/0.4658, allocations: 5.029 MB / 442.9 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-05/0.466, allocations: 25.69 kB / 443 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.4662, allocations: 72.67 kB / 443 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00175/0.4679, allocations: 1.151 MB / 444.2 MB, free: 30.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00749/0.4754, allocations: 4.271 MB / 448.5 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.5016, allocations: 20.67 MB / 469.1 MB, free: 30.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002377/0.504, allocations: 1.322 MB / 470.5 MB, free: 29.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008551/0.5049, allocations: 440.6 kB / 470.9 MB, free: 29.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.505, allocations: 5.969 kB / 470.9 MB, free: 29.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.505, allocations: 50.28 kB / 470.9 MB, free: 29.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=85): time 4.959e-06/0.5051, allocations: 4 kB / 470.9 MB, free: 29.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=114): time 0.009963/0.515, allocations: 3.935 MB / 474.9 MB, free: 27.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.5152, allocations: 135.8 kB / 475 MB, free: 27.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006506/0.5217, allocations: 2.388 MB / 477.4 MB, free: 26.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.5219, allocations: 40.45 kB / 477.4 MB, free: 26.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.5238, allocations: 1.754 MB / 479.2 MB, free: 25.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008019/0.5246, allocations: 459.2 kB / 479.6 MB, free: 24.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004325/0.525, allocations: 82.31 kB / 479.7 MB, free: 24.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0007344/0.5258, allocations: 0.5331 MB / 480.3 MB, free: 24.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003374/0.5292, allocations: 1.261 MB / 481.5 MB, free: 24.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004275/0.5335, allocations: 3.889 MB / 485.4 MB, free: 20.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/0.5372, allocations: 2.205 MB / 487.6 MB, free: 19.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.585e-05/0.5372, allocations: 28.5 kB / 487.6 MB, free: 19.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=539) (initialization): time 0.009019/0.5463, allocations: 4.927 MB / 492.6 MB, free: 17.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.347e-05/0.5464, allocations: 45.84 kB / 492.6 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001094/0.5475, allocations: 0.7726 MB / 493.4 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.5477, allocations: 139.8 kB / 493.5 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/0.5506, allocations: 0.9453 MB / 494.5 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001386/0.5507, allocations: 187.9 kB / 494.7 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/0.5536, allocations: 209.1 kB / 494.9 MB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/0.5539, allocations: 254 kB / 495.1 MB, free: 16.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 12 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (509): * Single equations (assignments): 503 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002013/0.5559, allocations: 1.208 MB / 496.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.5564, allocations: 198 kB / 496.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/0.5569, allocations: 267.2 kB / 496.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009028/0.5578, allocations: 0.7118 MB / 497.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.5578, allocations: 0 / 497.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5579, allocations: 2.906 kB / 497.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005842/0.5637, allocations: 3.217 MB / 0.489 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/0.5638, allocations: 8 kB / 0.489 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.5643, allocations: 155.7 kB / 0.4891 GB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.533e-05/0.5644, allocations: 16 kB / 0.4891 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.5644, allocations: 29.09 kB / 0.4892 GB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.209e-05/0.5645, allocations: 19.92 kB / 0.4892 GB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.454e-05/0.5645, allocations: 15.94 kB / 0.4892 GB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/0.5666, allocations: 1.707 MB / 0.4909 GB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005535/0.5672, allocations: 278.3 kB / 0.4911 GB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.5674, allocations: 29.33 kB / 0.4912 GB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/0.568, allocations: 41.52 kB / 0.4912 GB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5682, allocations: 87.7 kB / 0.4913 GB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.5682, allocations: 42.03 kB / 0.4913 GB, free: 8.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002348/0.5706, allocations: 1.474 MB / 0.4928 GB, free: 7.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5706, allocations: 0 / 0.4928 GB, free: 7.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004204/0.5748, allocations: 0.5108 MB / 0.4933 GB, free: 6.777 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 0 () * 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 (84): * Single equations (assignments): 78 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004397/0.5753, allocations: 181.9 kB / 0.4934 GB, free: 6.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004936/0.5802, allocations: 2.771 MB / 0.4961 GB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.5803, allocations: 0 / 0.4961 GB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007626/0.581, allocations: 0.5306 MB / 0.4967 GB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.5828, allocations: 202.6 kB / 0.4968 GB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009415/0.5922, allocations: 5.64 MB / 0.5024 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/0.5944, allocations: 1.929 MB / 0.5042 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005938/0.595, allocations: 179.4 kB / 0.5044 GB, free: 11.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.362e-06/0.595, allocations: 3.938 kB / 0.5044 GB, free: 11.18 MB / 382.1 MB Notification: Performance of Templates: time 0.057/0.652, allocations: 29.69 MB / 0.5334 GB, free: 13.55 MB / 414.1 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.makefile make -j1 -f VehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoads.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 OMCppVehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoadsCalcHelperMain.o OMCppVehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppVehicleInterfaces_VehicleInterfaces.Roads.Examples.CheckFunctionDifferentiation_FlatRoadsCalcHelperMain.o] Error 1