Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.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.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") translateModel(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 100.5 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.002109/0.002109, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1894/0.1894, allocations: 9.102 MB / 300.8 MB, free: 2.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002991, allocations: 12 kB / 363.7 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 52.43 MB / 416.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.3108/0.4191, allocations: 27.95 MB / 444.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.4363, allocations: 6.492 MB / 450.6 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008426/0.4448, allocations: 114.4 kB / 450.7 MB, free: 23.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005291/0.4501, allocations: 1.368 MB / 452.1 MB, free: 23.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01647/0.4666, allocations: 4.887 MB / 457 MB, free: 21.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.4691, allocations: 129.9 kB / 457.1 MB, free: 21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004585/0.4737, allocations: 2.811 MB / 459.9 MB, free: 19.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.4759, allocations: 0.8035 MB / 460.7 MB, free: 19.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.4782, allocations: 0.807 MB / 461.5 MB, free: 19.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/0.4809, allocations: 1.295 MB / 462.8 MB, free: 18.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000968/0.4819, allocations: 129 kB / 462.9 MB, free: 18.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.4842, allocations: 0.6553 MB / 463.6 MB, free: 18.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.486, allocations: 1.122 MB / 464.7 MB, free: 18.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.4875, allocations: 0.6426 MB / 465.3 MB, free: 17.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005024/0.4925, allocations: 3.695 MB / 469 MB, free: 17.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.4925, allocations: 3.812 kB / 469 MB, free: 17.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4925, allocations: 1.219 kB / 469 MB, free: 17.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002505/0.4928, allocations: 0 / 469 MB, free: 17.08 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: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.01241/0.5052, allocations: 3.739 MB / 472.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.5053, allocations: 14.56 kB / 472.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007492/0.5128, allocations: 1.802 MB / 474.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/0.5164, allocations: 1.338 MB / 475.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.5167, allocations: 153.5 kB / 476.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.5178, allocations: 201.3 kB / 476.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.5337, allocations: 8.237 MB / 484.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.247e-05/0.5338, allocations: 21.97 kB / 484.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/0.5341, allocations: 97.73 kB / 484.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003148/0.5372, allocations: 1.9 MB / 486.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.5522, allocations: 7.396 MB / 493.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03868/0.5909, allocations: 25.61 MB / 0.5074 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006569/0.5976, allocations: 2.618 MB / 0.5099 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.599, allocations: 0.9045 MB / 0.5108 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006838/0.6059, allocations: 5.095 MB / 0.5158 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.6059, allocations: 47.5 kB / 0.5158 GB, free: 2.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.416e-06/0.6059, allocations: 0 / 0.5158 GB, free: 2.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=176): time 0.01298/0.6189, allocations: 5.445 MB / 0.5211 GB, free: 12.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.6191, allocations: 68.72 kB / 0.5212 GB, free: 12.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/0.6233, allocations: 2.607 MB / 0.5238 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.6234, allocations: 53.7 kB / 0.5238 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.625, allocations: 2.097 MB / 0.5259 GB, free: 8.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006378/0.6256, allocations: 0.6398 MB / 0.5265 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.6258, allocations: 80 kB / 0.5266 GB, free: 7.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003328/0.6261, allocations: 491.2 kB / 0.527 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/0.6286, allocations: 1.347 MB / 0.5283 GB, free: 5.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004218/0.6329, allocations: 3.617 MB / 0.5319 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/0.6367, allocations: 2.229 MB / 0.534 GB, free: 14.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.306e-05/0.6368, allocations: 28 kB / 0.5341 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.01121/0.648, allocations: 5.183 MB / 0.5391 GB, free: 9.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.51e-05/0.6482, allocations: 40 kB / 0.5392 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.963e-05/0.6483, allocations: 80 kB / 0.5393 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000933/0.6492, allocations: 369.8 kB / 0.5396 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.6519, allocations: 0.9162 MB / 0.5405 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/0.6575, allocations: 3.833 MB / 0.5442 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/0.6608, allocations: 207.9 kB / 0.5444 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004399/0.6613, allocations: 244 kB / 0.5447 GB, free: 3.445 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 358 * Number of states: 0 () * Number of discrete variables: 18 (revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (498): * Single equations (assignments): 493 * 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 {(2,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003288/0.6646, allocations: 1.611 MB / 0.5462 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.665, allocations: 229 kB / 0.5465 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.669, allocations: 2.331 MB / 0.5487 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.775e-05/0.6692, allocations: 31.98 kB / 0.5488 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6692, allocations: 4 kB / 0.5488 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.6692, allocations: 7.969 kB / 0.5488 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.6799, allocations: 6.48 MB / 0.5551 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.6799, allocations: 7.938 kB / 0.5551 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009032/0.6809, allocations: 239.7 kB / 0.5553 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000656/0.6815, allocations: 265 kB / 0.5556 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.384e-05/0.6816, allocations: 32 kB / 0.5556 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.6855, allocations: 3.149 MB / 0.5587 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.6855, allocations: 4 kB / 0.5587 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005425/0.6909, allocations: 3.582 MB / 0.5622 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009496/0.6919, allocations: 322.1 kB / 0.5625 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/0.6921, allocations: 24 kB / 0.5625 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/0.6929, allocations: 83.91 kB / 0.5626 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.6931, allocations: 105.1 kB / 0.5627 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6933, allocations: 51.97 kB / 0.5628 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00278/0.696, allocations: 1.661 MB / 0.5644 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.696, allocations: 0 / 0.5644 GB, free: 14.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003305/0.6994, allocations: 0.7343 MB / 0.5651 GB, free: 14.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.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 (132): * Single equations (assignments): 127 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003908/0.6998, allocations: 166.7 kB / 0.5653 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005698/0.7055, allocations: 3.392 MB / 0.5686 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7055, allocations: 4.562 kB / 0.5686 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.7072, allocations: 1.156 MB / 0.5697 GB, free: 9.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.7093, allocations: 383.1 kB / 0.5701 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.7231, allocations: 8.427 MB / 0.5783 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2769/1, allocations: 2.615 MB / 0.5809 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000895/1.001, allocations: 214.1 kB / 0.5811 GB, free: 101.8 MB / 446.1 MB Notification: Performance of SimCode: time 1.153e-06/1.001, allocations: 5.219 kB / 0.5811 GB, free: 101.8 MB / 446.1 MB Notification: Performance of Templates: time 0.09464/1.096, allocations: 57.2 MB / 0.6369 GB, free: 76.57 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.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.DoublePendulumCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.DoublePendulumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.DoublePendulumCalcHelperMain.o] Error 1