Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.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.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 92.16 kB / 16.02 MB, free: 80 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.001984/0.001984, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.572/1.572, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2053/0.2053, allocations: 9.106 MB / 301.2 MB, free: 2.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.000401, allocations: 8 kB / 364.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1396, allocations: 52.43 MB / 416.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.3192/0.4589, allocations: 18.71 MB / 435.5 MB, free: 32.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.4712, allocations: 4.575 MB / 440.1 MB, free: 30.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004506/0.4757, allocations: 69.16 kB / 440.1 MB, free: 30.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.4768, allocations: 290.7 kB / 440.4 MB, free: 30.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.4804, allocations: 1.246 MB / 441.7 MB, free: 30.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.4808, allocations: 99.61 kB / 441.8 MB, free: 30.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004041/0.4849, allocations: 3.413 MB / 445.2 MB, free: 29.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.4861, allocations: 0.7431 MB / 445.9 MB, free: 29.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.4873, allocations: 0.7159 MB / 446.6 MB, free: 29.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.4889, allocations: 1.266 MB / 447.9 MB, free: 28.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002986/0.4892, allocations: 126.3 kB / 448 MB, free: 28.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.4907, allocations: 0.7515 MB / 448.8 MB, free: 28.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009969/0.4917, allocations: 1.139 MB / 449.9 MB, free: 28.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.4934, allocations: 1.483 MB / 451.4 MB, free: 26.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004854/0.4982, allocations: 3.637 MB / 455 MB, free: 26.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4983, allocations: 0 / 455 MB, free: 26.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4983, allocations: 0 / 455 MB, free: 26.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001528/0.4984, allocations: 0 / 455 MB, free: 26.09 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: 1172 * Number of variables: 1172 Notification: Performance of Generate backend data structure: time 0.006414/0.5049, allocations: 2.653 MB / 457.7 MB, free: 24.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5049, allocations: 9.406 kB / 457.7 MB, free: 24.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007229/0.5122, allocations: 1.816 MB / 459.5 MB, free: 24.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004686/0.5169, allocations: 1.291 MB / 460.8 MB, free: 23.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.5171, allocations: 138 kB / 460.9 MB, free: 23.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00085/0.518, allocations: 185.9 kB / 461.1 MB, free: 23.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.023/0.541, allocations: 8.061 MB / 469.2 MB, free: 19.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.5412, allocations: 20.39 kB / 469.2 MB, free: 19.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004511/0.5416, allocations: 92.11 kB / 469.3 MB, free: 19.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006945/0.5486, allocations: 2.002 MB / 471.3 MB, free: 19.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02917/0.5778, allocations: 7.143 MB / 478.4 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05892/0.6368, allocations: 24.16 MB / 0.4908 GB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008209/0.645, allocations: 2.158 MB / 0.4929 GB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.647, allocations: 0.7241 MB / 0.4936 GB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.6576, allocations: 3.979 MB / 0.4975 GB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/0.6577, allocations: 51.44 kB / 0.4976 GB, free: 5.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=114): time 5.861e-06/0.6578, allocations: 0 / 0.4976 GB, free: 5.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01714/0.6749, allocations: 4.375 MB / 0.5018 GB, free: 1.227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.675, allocations: 60.41 kB / 0.5019 GB, free: 1.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005178/0.6802, allocations: 2.585 MB / 0.5044 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.6804, allocations: 41.7 kB / 0.5045 GB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001873/0.6823, allocations: 2.115 MB / 0.5065 GB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005525/0.6828, allocations: 458.1 kB / 0.507 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000425/0.6833, allocations: 313.8 kB / 0.5073 GB, free: 11.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6834, allocations: 301.1 kB / 0.5075 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/0.6854, allocations: 1.171 MB / 0.5087 GB, free: 10.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003719/0.6891, allocations: 3.316 MB / 0.5119 GB, free: 5.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00622/0.6953, allocations: 4.792 MB / 0.5166 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.905e-05/0.6954, allocations: 20 kB / 0.5166 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.008387/0.7038, allocations: 4.431 MB / 0.521 GB, free: 11.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.7039, allocations: 40.03 kB / 0.521 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-05/0.704, allocations: 76 kB / 0.5211 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.7041, allocations: 100 kB / 0.5212 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/0.7068, allocations: 0.8424 MB / 0.522 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001731/0.707, allocations: 147.4 kB / 0.5221 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/0.7101, allocations: 183.9 kB / 0.5223 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003774/0.7105, allocations: 231.9 kB / 0.5225 GB, free: 9.816 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (459): * Single equations (assignments): 454 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003403/0.7139, allocations: 1.568 MB / 0.524 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004618/0.7144, allocations: 209.3 kB / 0.5242 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/0.717, allocations: 1.41 MB / 0.5256 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000127/0.7171, allocations: 27.97 kB / 0.5257 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.7172, allocations: 4 kB / 0.5257 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.7172, allocations: 3.984 kB / 0.5257 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009209/0.7264, allocations: 4.789 MB / 0.5303 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.7265, allocations: 8.062 kB / 0.5303 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.7275, allocations: 187.7 kB / 0.5305 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.611e-05/0.7275, allocations: 11.98 kB / 0.5305 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.7276, allocations: 24 kB / 0.5306 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/0.7276, allocations: 15.98 kB / 0.5306 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.7277, allocations: 8.375 kB / 0.5306 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.7313, allocations: 2.358 MB / 0.5329 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008592/0.7322, allocations: 310.4 kB / 0.5332 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.7324, allocations: 23.98 kB / 0.5332 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007426/0.7332, allocations: 51.89 kB / 0.5333 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.7333, allocations: 76.39 kB / 0.5333 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-05/0.7334, allocations: 43.98 kB / 0.5334 GB, free: 14.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002868/0.7363, allocations: 1.659 MB / 0.535 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7363, allocations: 0 / 0.535 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003142/0.7395, allocations: 0.621 MB / 0.5356 GB, free: 12.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.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 (93): * Single equations (assignments): 88 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004198/0.7399, allocations: 160 kB / 0.5357 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005929/0.7458, allocations: 2.603 MB / 0.5383 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.7459, allocations: 4.062 kB / 0.5383 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.747, allocations: 0.6363 MB / 0.5389 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004373/0.7514, allocations: 361.2 kB / 0.5393 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.7695, allocations: 8.449 MB / 0.5475 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004972/0.7745, allocations: 2.559 MB / 0.55 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008949/0.7754, allocations: 207.3 kB / 0.5502 GB, free: 13.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.303e-06/0.7754, allocations: 4 kB / 0.5502 GB, free: 13.07 MB / 430.1 MB Notification: Performance of Templates: time 0.3098/1.085, allocations: 38.85 MB / 0.5882 GB, free: 108.8 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.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.Examples.SpringDamperDemoCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDamperDemoCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDamperDemoCalcHelperMain.o] Error 1