Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.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) 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(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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 92.41 kB / 16.95 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 179.8 kB / 17.84 MB, free: 5.324 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.562/1.562, allocations: 223.2 MB / 241.9 MB, free: 356 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003783, allocations: 7.984 kB / 301.4 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 50.42 MB / 351.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Vehicle): time 0.007773/0.1479, allocations: 5.4 MB / 357.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005524/0.1534, allocations: 2.023 MB / 359.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.1548, allocations: 31.81 kB / 359.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009719/0.1558, allocations: 350.2 kB / 359.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.1571, allocations: 389.7 kB / 360 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.1585, allocations: 354.1 kB / 360.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.1606, allocations: 1.324 MB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007944/0.1614, allocations: 394.9 kB / 362.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.1623, allocations: 442 kB / 362.5 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006698/0.163, allocations: 0.5249 MB / 363.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.1631, allocations: 55.98 kB / 363.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.1634, allocations: 79.98 kB / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.1636, allocations: 219 kB / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.1639, allocations: 245 kB / 363.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.1653, allocations: 1.239 MB / 364.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.1654, allocations: 0 / 364.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1654, allocations: 0 / 364.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.149e-05/0.1654, allocations: 0 / 364.9 MB, free: 6.961 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.002921/0.1683, allocations: 1.352 MB / 366.2 MB, free: 5.551 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1684, allocations: 8.031 kB / 366.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.1686, allocations: 142.2 kB / 366.4 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.17, allocations: 0.7075 MB / 367.1 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.1701, allocations: 74 kB / 367.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.1702, allocations: 107.9 kB / 367.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.1719, allocations: 0.904 MB / 368.2 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.354e-05/0.172, allocations: 19.83 kB / 368.2 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.558e-05/0.172, allocations: 36 kB / 368.2 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.1721, allocations: 28 kB / 368.2 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.1733, allocations: 0.6402 MB / 368.9 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2515/0.4248, allocations: 3.228 MB / 372.1 MB, free: 22.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.4264, allocations: 0.615 MB / 372.7 MB, free: 22.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005641/0.427, allocations: 299.2 kB / 373 MB, free: 22.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.234e-05/0.4271, allocations: 11.47 kB / 373 MB, free: 22.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008077/0.4279, allocations: 348.3 kB / 373.4 MB, free: 22.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=80): time 3.326e-06/0.4279, allocations: 1.094 kB / 373.4 MB, free: 22.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.005881/0.4338, allocations: 3.073 MB / 376.4 MB, free: 21.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.4338, allocations: 63.62 kB / 376.5 MB, free: 21.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.4351, allocations: 0.9269 MB / 377.4 MB, free: 21.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.4352, allocations: 45.92 kB / 377.5 MB, free: 21.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.4355, allocations: 0.5117 MB / 378 MB, free: 21.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.4358, allocations: 346.4 kB / 378.3 MB, free: 20.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.4359, allocations: 23.81 kB / 378.4 MB, free: 20.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.436, allocations: 347 kB / 378.7 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005066/0.4365, allocations: 267.5 kB / 379 MB, free: 20.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/0.4371, allocations: 426.9 kB / 379.4 MB, free: 20.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.4377, allocations: 340.8 kB / 379.7 MB, free: 19.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4377, allocations: 1.062 kB / 379.7 MB, free: 19.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001822/0.4395, allocations: 1.03 MB / 380.7 MB, free: 19.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.4396, allocations: 9.453 kB / 380.7 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.4396, allocations: 8.156 kB / 380.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/0.4401, allocations: 143 kB / 380.9 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.4409, allocations: 203.8 kB / 381.1 MB, free: 19.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/0.4443, allocations: 3.612 MB / 384.7 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005663/0.4449, allocations: 36.14 kB / 384.7 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-05/0.445, allocations: 36.48 kB / 384.8 MB, free: 16.14 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.0005447/0.4455, allocations: 302.4 kB / 385.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.4457, allocations: 109.8 kB / 385.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.4474, allocations: 0.9511 MB / 386.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.4475, allocations: 13.92 kB / 386.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4475, allocations: 3.312 kB / 386.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.4475, allocations: 4.734 kB / 386.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/0.4515, allocations: 2.506 MB / 388.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.4515, allocations: 4.641 kB / 388.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/0.4522, allocations: 179.9 kB / 388.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/0.4526, allocations: 126 kB / 389 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.4527, allocations: 24.55 kB / 389 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.4551, allocations: 3.296 MB / 392.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.4551, allocations: 8.266 kB / 392.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.4573, allocations: 1.434 MB / 393.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.4576, allocations: 245 kB / 394 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4578, allocations: 24.86 kB / 394 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.4581, allocations: 26.31 kB / 394 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.4583, allocations: 82.27 kB / 394.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.246e-05/0.4583, allocations: 33.62 kB / 394.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008391/0.4592, allocations: 0.6533 MB / 394.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4592, allocations: 4 kB / 394.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00107/0.4603, allocations: 242.1 kB / 395 MB, free: 9.656 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.000957/0.4612, allocations: 448.1 kB / 395.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.463, allocations: 1.037 MB / 396.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4631, allocations: 1.25 kB / 396.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009127/0.464, allocations: 0.6946 MB / 397.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008755/0.4649, allocations: 168.8 kB / 397.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.4683, allocations: 3.147 MB / 400.5 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.4688, allocations: 1.105 MB / 401.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.469, allocations: 82.53 kB / 401.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of SimCode: time 1.333e-06/0.469, allocations: 0 / 401.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of Templates: time 0.02804/0.497, allocations: 22.77 MB / 424.5 MB, free: 15 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Vehicle.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.VehicleCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.VehicleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.VehicleCalcHelperMain.o] Error 1