Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") translateModel(Modelica.Mechanics.Translational.Examples.Vehicle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|vehicle.s|vehicle.v|vehicle1.s|vehicle1.v|trailer.s|trailer.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007905/0.0007905, allocations: 96.72 kB / 17.64 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008845/0.0008844, allocations: 201.3 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002418, allocations: 11.98 kB / 307.3 MB, free: 1.637 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.11, allocations: 51.48 MB / 358.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.006123/0.1162, allocations: 5.422 MB / 364.2 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.1202, allocations: 2.179 MB / 366.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.1206, allocations: 31.81 kB / 366.4 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007103/0.1213, allocations: 358.2 kB / 366.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000888/0.1222, allocations: 413.6 kB / 367.2 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008833/0.1231, allocations: 367.1 kB / 367.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.1244, allocations: 1.32 MB / 368.8 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005523/0.125, allocations: 394.9 kB / 369.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005579/0.1255, allocations: 446 kB / 369.7 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005815/0.1261, allocations: 0.521 MB / 370.2 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.415e-05/0.1262, allocations: 52 kB / 370.2 MB, free: 2.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.1265, allocations: 91.98 kB / 370.3 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.1267, allocations: 223 kB / 370.5 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.1269, allocations: 257 kB / 370.8 MB, free: 2.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.128, allocations: 1.247 MB / 372 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.128, allocations: 0 / 372 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.128, allocations: 0 / 372 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.1281, allocations: 0 / 372 MB, free: 0.8242 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.2456/0.3737, allocations: 1.341 MB / 373.4 MB, free: 19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3738, allocations: 10.12 kB / 373.4 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.3746, allocations: 148.3 kB / 373.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.376, allocations: 0.7159 MB / 374.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-05/0.3761, allocations: 85.11 kB / 374.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.3763, allocations: 108.9 kB / 374.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.3785, allocations: 0.9037 MB / 375.3 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.3786, allocations: 9.969 kB / 375.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.3787, allocations: 41.78 kB / 375.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/0.3787, allocations: 23.59 kB / 375.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.3803, allocations: 0.6411 MB / 376.1 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004883/0.3852, allocations: 3.235 MB / 379.3 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.3866, allocations: 0.6173 MB / 379.9 MB, free: 16.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.3871, allocations: 305.4 kB / 380.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.53e-05/0.3872, allocations: 13.91 kB / 380.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007197/0.3879, allocations: 344.6 kB / 380.6 MB, free: 16.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 2.615e-06/0.3879, allocations: 1.062 kB / 380.6 MB, free: 16.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.006114/0.3941, allocations: 3.071 MB / 383.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3941, allocations: 66.59 kB / 383.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.3955, allocations: 0.9341 MB / 384.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.3955, allocations: 46.3 kB / 384.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.396, allocations: 0.5116 MB / 385.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.3962, allocations: 346.6 kB / 385.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.3963, allocations: 20.53 kB / 385.6 MB, free: 13.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.3964, allocations: 346.9 kB / 385.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.3969, allocations: 271.6 kB / 386.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006964/0.3976, allocations: 431 kB / 386.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006296/0.3983, allocations: 337.7 kB / 386.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3983, allocations: 2 kB / 386.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001969/0.4003, allocations: 1.029 MB / 387.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4003, allocations: 10.31 kB / 387.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4003, allocations: 5.672 kB / 388 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004424/0.4008, allocations: 144.8 kB / 388.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007548/0.4015, allocations: 209.5 kB / 388.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/0.4053, allocations: 3.608 MB / 391.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.406, allocations: 29.42 kB / 391.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.4061, allocations: 37.36 kB / 392 MB, free: 8.613 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEvent,$PRE.timeTableTorqueInclination.nextTimeEventScaled,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006998/0.4068, allocations: 300.5 kB / 392.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.407, allocations: 112.9 kB / 392.4 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/0.4096, allocations: 0.9558 MB / 393.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.4097, allocations: 13.5 kB / 393.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.4097, allocations: 7.031 kB / 393.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.4097, allocations: 9.016 kB / 393.4 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/0.4151, allocations: 2.508 MB / 395.9 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.4151, allocations: 2.688 kB / 395.9 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.4162, allocations: 192.2 kB / 396.1 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/0.4167, allocations: 119.9 kB / 396.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/0.4168, allocations: 29.39 kB / 396.2 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003134/0.4199, allocations: 3.282 MB / 399.5 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.4199, allocations: 4.094 kB / 399.5 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.4233, allocations: 1.437 MB / 400.9 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007218/0.424, allocations: 246.5 kB / 401.2 MB, free: 2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.4242, allocations: 27.8 kB / 401.2 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.4249, allocations: 23.53 kB / 401.2 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.4251, allocations: 84.2 kB / 401.3 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.42e-05/0.4252, allocations: 24.22 kB / 401.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001353/0.4266, allocations: 0.6656 MB / 402 MB, free: 1.562 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4266, allocations: 0 / 402 MB, free: 1.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001634/0.4283, allocations: 251.1 kB / 402.2 MB, free: 1.523 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 10 (vehicle.mass.s,vehicle.mass.v,vehicle.windSpeed.s,vehicle.windSpeed.v,vehicle1.mass.s,vehicle1.mass.v,vehicle1.windSpeed.s,vehicle1.windSpeed.v,trailer.windSpeed.s,trailer.windSpeed.v) * Number of discrete variables: 3 ($whenCondition1,timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of discrete states: 2 (timeTableTorqueInclination.nextTimeEvent,timeTableTorqueInclination.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001402/0.4297, allocations: 439.5 kB / 402.7 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.4325, allocations: 1.04 MB / 403.7 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4325, allocations: 0 / 403.7 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.4339, allocations: 0.6949 MB / 404.4 MB, free: 15.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.4356, allocations: 173 kB / 404.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005968/0.4415, allocations: 3.157 MB / 407.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.4427, allocations: 1.104 MB / 408.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.4431, allocations: 79.42 kB / 408.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4431, allocations: 0 / 408.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of Templates: time 0.05056/0.4937, allocations: 22.87 MB / 431.8 MB, free: 4.438 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Vehicle.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 OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.VehicleCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.VehicleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.VehicleCalcHelperMain.o] Error 1