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.009478/0.009479, allocations: 100.1 kB / 15.87 MB, free: 5.867 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.001497/0.001497, allocations: 190.9 kB / 16.79 MB, free: 5.809 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.223/0.223, allocations: 9.095 MB / 299.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.89 kB / 361.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1434, allocations: 51.44 MB / 413.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.3164/0.4599, allocations: 19.4 MB / 432.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.4727, allocations: 4.614 MB / 437.3 MB, free: 31.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005781/0.4785, allocations: 65.12 kB / 437.4 MB, free: 31.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.4802, allocations: 291.3 kB / 437.7 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005075/0.4854, allocations: 1.244 MB / 438.9 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005719/0.4859, allocations: 102.3 kB / 439 MB, free: 31.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004088/0.49, allocations: 3.422 MB / 442.5 MB, free: 29.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.4916, allocations: 0.7327 MB / 443.2 MB, free: 29.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.4933, allocations: 0.7258 MB / 443.9 MB, free: 29.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.4957, allocations: 1.279 MB / 445.2 MB, free: 28.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008248/0.4965, allocations: 129.9 kB / 445.3 MB, free: 28.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.4986, allocations: 0.7526 MB / 446.1 MB, free: 28.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.5003, allocations: 1.125 MB / 447.2 MB, free: 28.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00274/0.5031, allocations: 1.457 MB / 448.7 MB, free: 27.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004316/0.5074, allocations: 3.742 MB / 452.4 MB, free: 25.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.5074, allocations: 0 / 452.4 MB, free: 25.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5075, allocations: 0 / 452.4 MB, free: 25.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001858/0.5077, allocations: 3.594 kB / 452.4 MB, free: 25.99 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.007214/0.5149, allocations: 3.261 MB / 455.7 MB, free: 23.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.5149, allocations: 10.06 kB / 455.7 MB, free: 23.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005945/0.5209, allocations: 1.765 MB / 457.4 MB, free: 23.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.523, allocations: 1.296 MB / 458.7 MB, free: 22.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.575e-05/0.5232, allocations: 147 kB / 458.9 MB, free: 22.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.5235, allocations: 178.9 kB / 459.1 MB, free: 22.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/0.5367, allocations: 8.064 MB / 467.1 MB, free: 19.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/0.5368, allocations: 24.44 kB / 467.1 MB, free: 19.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004577/0.5373, allocations: 88.11 kB / 467.2 MB, free: 19.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004139/0.5415, allocations: 1.999 MB / 469.2 MB, free: 18.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01983/0.5613, allocations: 7.146 MB / 476.4 MB, free: 16.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04557/0.6069, allocations: 24.15 MB / 0.4888 GB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004942/0.6119, allocations: 2.144 MB / 0.4909 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.6132, allocations: 0.7258 MB / 0.4916 GB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006662/0.6199, allocations: 3.987 MB / 0.4955 GB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.62, allocations: 47.5 kB / 0.4955 GB, free: 5.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=114): time 5.621e-06/0.62, allocations: 4 kB / 0.4955 GB, free: 5.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.011/0.631, allocations: 4.371 MB / 0.4998 GB, free: 1.074 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.6312, allocations: 60.41 kB / 0.4999 GB, free: 1.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007579/0.6388, allocations: 2.585 MB / 0.5024 GB, free: 14.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002447/0.639, allocations: 45.64 kB / 0.5024 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002334/0.6414, allocations: 2.119 MB / 0.5045 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006855/0.6421, allocations: 454.1 kB / 0.5049 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001777/0.6439, allocations: 0.7539 MB / 0.5057 GB, free: 10.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6441, allocations: 305.1 kB / 0.506 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/0.6465, allocations: 1.163 MB / 0.5071 GB, free: 9.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004638/0.6512, allocations: 3.316 MB / 0.5103 GB, free: 5.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007333/0.6585, allocations: 4.795 MB / 0.515 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.683e-05/0.6587, allocations: 20 kB / 0.515 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.00917/0.6678, allocations: 4.431 MB / 0.5194 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.554e-05/0.668, allocations: 36 kB / 0.5194 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/0.6681, allocations: 80.12 kB / 0.5195 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.6682, allocations: 100 kB / 0.5196 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/0.6714, allocations: 0.8422 MB / 0.5204 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002524/0.6716, allocations: 155.4 kB / 0.5205 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/0.6747, allocations: 175.9 kB / 0.5207 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005418/0.6753, allocations: 228 kB / 0.5209 GB, free: 9.219 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.003587/0.6789, allocations: 1.575 MB / 0.5225 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005715/0.6794, allocations: 209.3 kB / 0.5227 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.6824, allocations: 1.406 MB / 0.524 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001319/0.6826, allocations: 31.98 kB / 0.5241 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.6826, allocations: 0 / 0.5241 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.6826, allocations: 3.984 kB / 0.5241 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.6953, allocations: 4.782 MB / 0.5287 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/0.6954, allocations: 7.984 kB / 0.5287 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009147/0.6963, allocations: 183.7 kB / 0.5289 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.602e-05/0.6964, allocations: 15.94 kB / 0.5289 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.6965, allocations: 27.98 kB / 0.529 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.885e-05/0.6965, allocations: 11.94 kB / 0.529 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/0.6965, allocations: 8 kB / 0.529 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/0.7007, allocations: 2.362 MB / 0.5313 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009772/0.7017, allocations: 294.2 kB / 0.5316 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006416/0.7024, allocations: 24 kB / 0.5316 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.7036, allocations: 51.95 kB / 0.5316 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.7037, allocations: 72.39 kB / 0.5317 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.7039, allocations: 47.97 kB / 0.5318 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003898/0.7078, allocations: 1.659 MB / 0.5334 GB, free: 12.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7078, allocations: 0 / 0.5334 GB, free: 12.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004346/0.7121, allocations: 0.6171 MB / 0.534 GB, free: 11.57 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.0005342/0.7127, allocations: 163.2 kB / 0.5341 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005305/0.718, allocations: 2.611 MB / 0.5367 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.718, allocations: 0 / 0.5367 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.7191, allocations: 0.6369 MB / 0.5373 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.7218, allocations: 357.3 kB / 0.5376 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/0.7378, allocations: 8.313 MB / 0.5458 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004236/0.742, allocations: 2.567 MB / 0.5483 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008916/0.743, allocations: 195.4 kB / 0.5485 GB, free: 12.64 MB / 430.1 MB Notification: Performance of SimCode: time 1.503e-06/0.743, allocations: 0 / 0.5485 GB, free: 12.64 MB / 430.1 MB Notification: Performance of Templates: time 0.29/1.033, allocations: 39.5 MB / 0.587 GB, free: 111.7 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