Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.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.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") translateModel(PlanarMechanics.VehicleComponents.Examples.TestAirDrag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008725/0.0008726, allocations: 98.97 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.001484/0.001484, allocations: 176.1 kB / 16.58 MB, free: 6.418 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.522/1.522, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2653/0.2653, allocations: 9.098 MB / 300.8 MB, free: 2.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 8 kB / 363.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1435, allocations: 52.43 MB / 416.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestAirDrag): time 0.3327/0.4762, allocations: 17.48 MB / 433.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.4894, allocations: 4.511 MB / 438.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004515/0.4939, allocations: 69.03 kB / 438.2 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.4969, allocations: 0.8195 MB / 439 MB, free: 32.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009905/0.5069, allocations: 2.867 MB / 441.9 MB, free: 30.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.5084, allocations: 207.9 kB / 442.1 MB, free: 30.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004207/0.5126, allocations: 2.63 MB / 444.7 MB, free: 29.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.515, allocations: 0.9368 MB / 445.7 MB, free: 29.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.5173, allocations: 0.7628 MB / 446.4 MB, free: 29.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.5198, allocations: 1.253 MB / 447.7 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003871/0.5202, allocations: 125 kB / 447.8 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.5216, allocations: 0.5961 MB / 448.4 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000981/0.5226, allocations: 1.063 MB / 449.5 MB, free: 28.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007198/0.5233, allocations: 0.6136 MB / 450.1 MB, free: 27.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.5264, allocations: 3.661 MB / 453.7 MB, free: 27.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5264, allocations: 0 / 453.7 MB, free: 27.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5264, allocations: 0 / 453.7 MB, free: 27.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.423e-05/0.5265, allocations: 0 / 453.7 MB, free: 27.02 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.00625/0.5328, allocations: 3.045 MB / 456.8 MB, free: 25.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.5328, allocations: 14.84 kB / 456.8 MB, free: 25.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006023/0.5389, allocations: 1.781 MB / 458.6 MB, free: 25.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/0.5416, allocations: 1.308 MB / 459.9 MB, free: 24.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.5417, allocations: 155.4 kB / 460 MB, free: 24.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/0.5421, allocations: 196.6 kB / 460.2 MB, free: 24.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.5576, allocations: 7.543 MB / 467.8 MB, free: 20.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.5577, allocations: 21.72 kB / 467.8 MB, free: 20.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.5581, allocations: 92.06 kB / 467.9 MB, free: 20.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004767/0.5628, allocations: 1.716 MB / 469.6 MB, free: 20.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/0.5813, allocations: 6.798 MB / 476.4 MB, free: 18.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04183/0.6232, allocations: 22.97 MB / 499.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004841/0.6281, allocations: 2.014 MB / 0.4896 GB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.6298, allocations: 0.7662 MB / 0.4904 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006329/0.6361, allocations: 2.856 MB / 0.4932 GB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/0.6362, allocations: 39.56 kB / 0.4932 GB, free: 10.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=118): time 4.338e-06/0.6362, allocations: 0 / 0.4932 GB, free: 10.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=132): time 0.01067/0.6469, allocations: 4.01 MB / 0.4971 GB, free: 5.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.647, allocations: 64.41 kB / 0.4972 GB, free: 5.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005896/0.6529, allocations: 2.397 MB / 0.4995 GB, free: 3.477 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002002/0.6531, allocations: 41.7 kB / 0.4996 GB, free: 3.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/0.6551, allocations: 2 MB / 0.5015 GB, free: 1.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008068/0.6559, allocations: 0.4897 MB / 0.502 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/0.6563, allocations: 72 kB / 0.5021 GB, free: 0.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004582/0.6568, allocations: 465.8 kB / 0.5025 GB, free: 380 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00291/0.6597, allocations: 1.202 MB / 0.5037 GB, free: 15.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004684/0.6644, allocations: 3.246 MB / 0.5069 GB, free: 10.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/0.6683, allocations: 1.973 MB / 0.5088 GB, free: 8.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.6684, allocations: 20 kB / 0.5088 GB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=473) (initialization): time 0.01016/0.6786, allocations: 4.531 MB / 0.5132 GB, free: 4.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.6787, allocations: 40.78 kB / 0.5133 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/0.6789, allocations: 75.94 kB / 0.5133 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007897/0.6797, allocations: 245.4 kB / 0.5136 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/0.6826, allocations: 0.8071 MB / 0.5144 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.6865, allocations: 2.661 MB / 0.517 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003173/0.6897, allocations: 195.8 kB / 0.5171 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006268/0.6904, allocations: 212 kB / 0.5173 GB, free: 16 kB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: revolute.w:VARIABLE(start = -5.0 unit = "rad/s" fixed = true stateSelect=StateSelect.always ) "Angular velocity" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 328 * Number of states: 0 () * Number of discrete variables: 9 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 431 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003801/0.6942, allocations: 1.501 MB / 0.5188 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005758/0.6948, allocations: 197.4 kB / 0.519 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/0.6987, allocations: 1.822 MB / 0.5208 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/0.6988, allocations: 27.98 kB / 0.5208 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.6988, allocations: 0 / 0.5208 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.6988, allocations: 3.984 kB / 0.5208 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.7131, allocations: 5.196 MB / 0.5259 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.7132, allocations: 4 kB / 0.5259 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.714, allocations: 179.8 kB / 0.5261 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/0.7143, allocations: 116.7 kB / 0.5262 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.7144, allocations: 36.27 kB / 0.5262 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002729/0.7172, allocations: 2.182 MB / 0.5283 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7172, allocations: 0 / 0.5283 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004633/0.7218, allocations: 2.809 MB / 0.5311 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.7231, allocations: 418.4 kB / 0.5315 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.7233, allocations: 20.28 kB / 0.5315 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.724, allocations: 55.94 kB / 0.5316 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.7242, allocations: 80.86 kB / 0.5316 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.13e-05/0.7243, allocations: 47.91 kB / 0.5317 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002957/0.7272, allocations: 1.534 MB / 0.5332 GB, free: 15.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7272, allocations: 0 / 0.5332 GB, free: 15.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003595/0.7308, allocations: 0.6172 MB / 0.5338 GB, free: 14.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (revolute.phi,revolute.w) * 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 (99): * Single equations (assignments): 94 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004402/0.7313, allocations: 155.5 kB / 0.5339 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005694/0.737, allocations: 2.906 MB / 0.5368 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.737, allocations: 0 / 0.5368 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.7385, allocations: 0.9181 MB / 0.5377 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.7407, allocations: 357.6 kB / 0.538 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.7547, allocations: 7.544 MB / 0.5454 GB, free: 2.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/0.7577, allocations: 2.465 MB / 0.5478 GB, free: 396 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008814/0.7586, allocations: 191.4 kB / 0.548 GB, free: 204 kB / 414.1 MB Notification: Performance of SimCode: time 4.338e-06/0.7586, allocations: 0 / 0.548 GB, free: 204 kB / 414.1 MB Notification: Performance of Templates: time 0.3883/1.147, allocations: 52.94 MB / 0.5997 GB, free: 120.1 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.makefile make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDrag.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 OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDragCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDragCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestAirDragCalcHelperMain.o] Error 1