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.0009483/0.0009483, allocations: 103 kB / 15.71 MB, free: 460 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.00153/0.00153, allocations: 180.5 kB / 16.59 MB, free: 6.148 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.511/1.511, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1928/0.1928, allocations: 9.096 MB / 300.8 MB, free: 2.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004003, allocations: 12.22 kB / 363.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 52.44 MB / 416.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.3207/0.452, allocations: 17.45 MB / 433.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.4632, allocations: 4.374 MB / 438 MB, free: 32.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00391/0.4671, allocations: 69.47 kB / 438.1 MB, free: 32.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003642/0.4708, allocations: 0.8117 MB / 438.9 MB, free: 32.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009366/0.4802, allocations: 2.968 MB / 441.8 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.4811, allocations: 94.39 kB / 441.9 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003865/0.485, allocations: 2.702 MB / 444.6 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.4862, allocations: 0.7234 MB / 445.3 MB, free: 29.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.4876, allocations: 0.7625 MB / 446.1 MB, free: 29.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.4894, allocations: 1.248 MB / 447.4 MB, free: 29.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003707/0.4898, allocations: 126.4 kB / 447.5 MB, free: 29.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.4918, allocations: 0.6577 MB / 448.1 MB, free: 29.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.4929, allocations: 1.098 MB / 449.2 MB, free: 28.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000677/0.4936, allocations: 0.6294 MB / 449.9 MB, free: 28.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003801/0.4974, allocations: 3.643 MB / 453.5 MB, free: 27.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.4974, allocations: 3.938 kB / 453.5 MB, free: 27.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.94e-06/0.4974, allocations: 0 / 453.5 MB, free: 27.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.1e-05/0.4975, allocations: 0 / 453.5 MB, free: 27.45 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.005937/0.5035, allocations: 2.694 MB / 456.2 MB, free: 25.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.5036, allocations: 9.719 kB / 456.2 MB, free: 25.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005991/0.5096, allocations: 1.808 MB / 458 MB, free: 25.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.5119, allocations: 1.28 MB / 459.3 MB, free: 24.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.5121, allocations: 138.9 kB / 459.4 MB, free: 24.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/0.5124, allocations: 182.2 kB / 459.6 MB, free: 24.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.5265, allocations: 8.04 MB / 467.7 MB, free: 21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.911e-05/0.5267, allocations: 23.16 kB / 467.7 MB, free: 20.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.527, allocations: 91.09 kB / 467.8 MB, free: 20.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004357/0.5314, allocations: 2.007 MB / 469.8 MB, free: 20.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01998/0.5514, allocations: 7.111 MB / 476.9 MB, free: 18.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05197/0.6034, allocations: 24.14 MB / 0.4893 GB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00528/0.6088, allocations: 2.152 MB / 0.4914 GB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.6104, allocations: 0.7163 MB / 0.4921 GB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007846/0.6182, allocations: 3.985 MB / 0.496 GB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.6184, allocations: 43.56 kB / 0.496 GB, free: 7.066 MB / 366.1 MB Notification: Performance of pre-optimization done (n=114): time 5.471e-06/0.6184, allocations: 0 / 0.496 GB, free: 7.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.01178/0.6302, allocations: 4.366 MB / 0.5003 GB, free: 2.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.6303, allocations: 64.41 kB / 0.5004 GB, free: 2.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007487/0.6378, allocations: 2.565 MB / 0.5029 GB, free: 15.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002877/0.6382, allocations: 37.7 kB / 0.5029 GB, free: 15.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.6407, allocations: 2.112 MB / 0.505 GB, free: 13.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008347/0.6416, allocations: 462 kB / 0.5054 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004384/0.6421, allocations: 79.98 kB / 0.5055 GB, free: 13.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0005268/0.6426, allocations: 470.1 kB / 0.5059 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.6454, allocations: 1.151 MB / 0.507 GB, free: 11.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004888/0.6503, allocations: 3.304 MB / 0.5103 GB, free: 7.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004311/0.6547, allocations: 1.949 MB / 0.5122 GB, free: 5.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.58e-05/0.6548, allocations: 20 kB / 0.5122 GB, free: 5.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.01011/0.6649, allocations: 4.392 MB / 0.5165 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.867e-05/0.6651, allocations: 40.88 kB / 0.5165 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/0.6652, allocations: 76.28 kB / 0.5166 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.6654, allocations: 116 kB / 0.5167 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/0.6685, allocations: 0.8422 MB / 0.5175 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001835/0.6687, allocations: 151.4 kB / 0.5177 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/0.6719, allocations: 192 kB / 0.5179 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000662/0.6726, allocations: 228 kB / 0.5181 GB, free: 15.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003799/0.6764, allocations: 1.564 MB / 0.5196 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005884/0.677, allocations: 205.3 kB / 0.5198 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/0.6816, allocations: 1.406 MB / 0.5212 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001828/0.6818, allocations: 35.92 kB / 0.5212 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.6818, allocations: 4 kB / 0.5212 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.6818, allocations: 3.984 kB / 0.5212 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.6937, allocations: 4.778 MB / 0.5259 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.6937, allocations: 7.938 kB / 0.5259 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.6946, allocations: 187.7 kB / 0.5261 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.451e-05/0.6946, allocations: 15.95 kB / 0.5261 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.29e-05/0.6947, allocations: 24 kB / 0.5261 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/0.6947, allocations: 11.98 kB / 0.5261 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.6948, allocations: 11.94 kB / 0.5261 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/0.6987, allocations: 2.347 MB / 0.5284 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008907/0.6996, allocations: 302.4 kB / 0.5287 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004691/0.7001, allocations: 31.94 kB / 0.5287 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.7011, allocations: 51.95 kB / 0.5288 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.7014, allocations: 72.41 kB / 0.5289 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.7015, allocations: 39.98 kB / 0.5289 GB, free: 3.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004327/0.7059, allocations: 1.644 MB / 0.5305 GB, free: 2.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.7059, allocations: 0 / 0.5305 GB, free: 2.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00448/0.7104, allocations: 0.6288 MB / 0.5311 GB, free: 1.645 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004668/0.7109, allocations: 147.6 kB / 0.5312 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006161/0.7171, allocations: 2.595 MB / 0.5338 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.7171, allocations: 0 / 0.5338 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.7183, allocations: 0.633 MB / 0.5344 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.7214, allocations: 362.3 kB / 0.5347 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.7386, allocations: 8.125 MB / 0.5427 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003107/0.7418, allocations: 2.571 MB / 0.5452 GB, free: 3.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008086/0.7426, allocations: 199.4 kB / 0.5454 GB, free: 2.902 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.7426, allocations: 0 / 0.5454 GB, free: 2.902 MB / 414.1 MB Notification: Performance of Templates: time 0.2851/1.028, allocations: 38.93 MB / 0.5834 GB, free: 120.9 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.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.Examples.SpringDamperDemoCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDamperDemoCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDamperDemoCalcHelperMain.o] Error 1