Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.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.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007869/0.0007869, allocations: 99.42 kB / 16.02 MB, free: 76 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.000849/0.000849, allocations: 185.9 kB / 16.92 MB, free: 6.75 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.582/1.582, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2368/0.2368, allocations: 9.097 MB / 301.2 MB, free: 2.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 8.234 kB / 364.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 52.43 MB / 416.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.3176/0.4554, allocations: 35.13 MB / 451.9 MB, free: 22.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02282/0.4783, allocations: 8.135 MB / 460 MB, free: 17.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01177/0.4901, allocations: 132.2 kB / 460.2 MB, free: 17.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.4917, allocations: 306.1 kB / 460.5 MB, free: 16.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.4954, allocations: 0.8081 MB / 461.3 MB, free: 16.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.4972, allocations: 0.8925 MB / 462.2 MB, free: 16.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003531/0.5008, allocations: 2.448 MB / 464.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.5034, allocations: 2.269 MB / 466.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.5044, allocations: 0.7513 MB / 467.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.5056, allocations: 1.021 MB / 468.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.5058, allocations: 128.3 kB / 468.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.5069, allocations: 0.5761 MB / 469.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000628/0.5075, allocations: 0.7592 MB / 470.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.5086, allocations: 1.259 MB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002402/0.511, allocations: 2.895 MB / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.511, allocations: 0 / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.511, allocations: 3.938 kB / 474.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-05/0.5111, allocations: 2.969 kB / 474.3 MB, free: 11.21 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: 869 * Number of variables: 869 Notification: Performance of Generate backend data structure: time 0.009128/0.5202, allocations: 3.605 MB / 477.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.5203, allocations: 13.66 kB / 477.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007512/0.5211, allocations: 294 kB / 478.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.5228, allocations: 1.129 MB / 479.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.523, allocations: 217.1 kB / 479.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004602/0.5235, allocations: 297.7 kB / 479.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009137/0.5326, allocations: 4.739 MB / 484.6 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.5328, allocations: 35.84 kB / 484.6 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/0.5331, allocations: 129 kB / 484.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006963/0.5338, allocations: 431.6 kB / 485.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008114/0.5419, allocations: 3.369 MB / 488.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0312/0.5731, allocations: 21.64 MB / 0.4982 GB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005977/0.5791, allocations: 1.925 MB / 0.5001 GB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.5808, allocations: 0.6916 MB / 0.5008 GB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.591, allocations: 5.537 MB / 0.5062 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.128e-05/0.5912, allocations: 59.48 kB / 0.5062 GB, free: 12.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 6.352e-06/0.5912, allocations: 0 / 0.5062 GB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.02463/0.6158, allocations: 9.572 MB / 0.5156 GB, free: 2.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.6159, allocations: 64.72 kB / 0.5156 GB, free: 2.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/0.6196, allocations: 1.81 MB / 0.5174 GB, free: 0.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.6198, allocations: 45.7 kB / 0.5174 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001573/0.6214, allocations: 1.736 MB / 0.5191 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000675/0.6221, allocations: 0.532 MB / 0.5197 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005505/0.6227, allocations: 305.8 kB / 0.5199 GB, free: 14.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.6229, allocations: 361.8 kB / 0.5203 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.6252, allocations: 1.218 MB / 0.5215 GB, free: 12.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00404/0.6292, allocations: 3.413 MB / 0.5248 GB, free: 8.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006827/0.6361, allocations: 5.116 MB / 0.5298 GB, free: 1.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.593e-05/0.6362, allocations: 20 kB / 0.5298 GB, free: 1.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.009666/0.6459, allocations: 4.82 MB / 0.5345 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.753e-05/0.646, allocations: 40 kB / 0.5346 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/0.6462, allocations: 76 kB / 0.5346 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.6472, allocations: 365.3 kB / 0.535 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003092/0.6503, allocations: 0.9006 MB / 0.5359 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00551/0.6558, allocations: 3.952 MB / 0.5397 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/0.6596, allocations: 207.8 kB / 0.5399 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009966/0.6606, allocations: 228 kB / 0.5401 GB, free: 7.156 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 352 * Number of states: 0 () * Number of discrete variables: 18 (revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (464): * Single equations (assignments): 463 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003075/0.6637, allocations: 0.9283 MB / 0.5411 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/0.6643, allocations: 185.6 kB / 0.5412 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004929/0.6692, allocations: 2.611 MB / 0.5438 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.6692, allocations: 12 kB / 0.5438 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.622e-05/0.6693, allocations: 4 kB / 0.5438 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.6693, allocations: 11.91 kB / 0.5438 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.683, allocations: 6.512 MB / 0.5502 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.6831, allocations: 4 kB / 0.5502 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.6842, allocations: 271.6 kB / 0.5504 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007238/0.685, allocations: 265 kB / 0.5507 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.6851, allocations: 24 kB / 0.5507 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00447/0.6896, allocations: 3.203 MB / 0.5538 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/0.6896, allocations: 4 kB / 0.5538 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006316/0.696, allocations: 3.907 MB / 0.5577 GB, free: 4.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008326/0.6968, allocations: 242.7 kB / 0.5579 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005567/0.6974, allocations: 31.98 kB / 0.5579 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.6987, allocations: 107.8 kB / 0.558 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002913/0.699, allocations: 92.83 kB / 0.5581 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-05/0.6991, allocations: 39.98 kB / 0.5581 GB, free: 4.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002446/0.7015, allocations: 1.085 MB / 0.5592 GB, free: 3.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7015, allocations: 0 / 0.5592 GB, free: 3.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003954/0.7055, allocations: 0.6406 MB / 0.5598 GB, free: 2.629 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (121): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003859/0.7059, allocations: 136 kB / 0.56 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006331/0.7122, allocations: 3.303 MB / 0.5632 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.7123, allocations: 0 / 0.5632 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.7142, allocations: 1.277 MB / 0.5644 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00365/0.7179, allocations: 407.8 kB / 0.5648 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.7302, allocations: 6.447 MB / 0.5711 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002525/0.7327, allocations: 1.833 MB / 0.5729 GB, free: 5.102 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008002/0.7335, allocations: 179.4 kB / 0.5731 GB, free: 4.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.273e-06/0.7336, allocations: 7.938 kB / 0.5731 GB, free: 4.922 MB / 446.1 MB Notification: Performance of Templates: time 0.3402/1.074, allocations: 43.72 MB / 0.6158 GB, free: 111.4 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.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.MeasureDemoCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.MeasureDemoCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.MeasureDemoCalcHelperMain.o] Error 1