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.001143/0.001143, allocations: 100.1 kB / 15.88 MB, free: 12 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.001156/0.001157, allocations: 195.9 kB / 16.79 MB, free: 6.863 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1869/0.1869, allocations: 9.104 MB / 299.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.89 kB / 361.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1417, allocations: 51.44 MB / 413.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.3079/0.4496, allocations: 36.18 MB / 449.5 MB, free: 22.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01964/0.4693, allocations: 8.173 MB / 457.7 MB, free: 17.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00987/0.4792, allocations: 132.1 kB / 457.8 MB, free: 17.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.481, allocations: 308.8 kB / 458.1 MB, free: 16.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005715/0.4868, allocations: 0.8047 MB / 458.9 MB, free: 16.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003369/0.4902, allocations: 0.8969 MB / 459.8 MB, free: 16.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004326/0.4946, allocations: 2.446 MB / 462.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002871/0.4975, allocations: 2.418 MB / 464.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.4988, allocations: 0.9036 MB / 465.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.5001, allocations: 1.223 MB / 466.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.5004, allocations: 201 kB / 467 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.5017, allocations: 0.6396 MB / 467.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007298/0.5024, allocations: 0.8684 MB / 468.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.5038, allocations: 1.364 MB / 469.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.5062, allocations: 2.989 MB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.5062, allocations: 3.469 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5062, allocations: 0 / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.887e-05/0.5063, allocations: 4 kB / 472.9 MB, free: 10.41 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.01059/0.5169, allocations: 4.168 MB / 477 MB, free: 8.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.5169, allocations: 10.03 kB / 477 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000699/0.5176, allocations: 301.8 kB / 477.3 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.5194, allocations: 1.129 MB / 478.5 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.5196, allocations: 216.3 kB / 478.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004382/0.5201, allocations: 290.9 kB / 479 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009932/0.53, allocations: 4.737 MB / 483.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.5302, allocations: 37.19 kB / 483.7 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.5304, allocations: 133 kB / 483.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007461/0.5312, allocations: 431.6 kB / 484.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008506/0.5397, allocations: 3.377 MB / 487.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02893/0.5687, allocations: 21.63 MB / 0.4974 GB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/0.5749, allocations: 1.916 MB / 0.4992 GB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.5766, allocations: 0.6937 MB / 0.4999 GB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009301/0.5859, allocations: 5.543 MB / 0.5053 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.586, allocations: 43.56 kB / 0.5054 GB, free: 10.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 3.847e-06/0.586, allocations: 0 / 0.5054 GB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.02654/0.6126, allocations: 9.557 MB / 0.5147 GB, free: 1.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.627e-05/0.6127, allocations: 64.72 kB / 0.5148 GB, free: 1.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003581/0.6163, allocations: 1.814 MB / 0.5165 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.6165, allocations: 45.7 kB / 0.5166 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.6178, allocations: 1.736 MB / 0.5183 GB, free: 13.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005813/0.6184, allocations: 0.5242 MB / 0.5188 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.6195, allocations: 0.7425 MB / 0.5195 GB, free: 12.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.6197, allocations: 361.9 kB / 0.5199 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.6215, allocations: 1.218 MB / 0.521 GB, free: 10.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003416/0.625, allocations: 3.413 MB / 0.5244 GB, free: 6.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006034/0.631, allocations: 5.116 MB / 0.5294 GB, free: 15.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.369e-05/0.6311, allocations: 24 kB / 0.5294 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.008473/0.6396, allocations: 4.821 MB / 0.5341 GB, free: 11.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.6396, allocations: 36 kB / 0.5341 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.232e-05/0.6397, allocations: 84.09 kB / 0.5342 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009106/0.6406, allocations: 361.5 kB / 0.5346 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/0.6434, allocations: 0.8928 MB / 0.5354 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005459/0.6489, allocations: 3.948 MB / 0.5393 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003378/0.6523, allocations: 211.7 kB / 0.5395 GB, free: 5.402 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007388/0.653, allocations: 232 kB / 0.5397 GB, free: 5.176 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.003493/0.6565, allocations: 0.9314 MB / 0.5406 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/0.6572, allocations: 189.6 kB / 0.5408 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/0.6617, allocations: 2.599 MB / 0.5433 GB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.6618, allocations: 12 kB / 0.5434 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.6618, allocations: 15.94 kB / 0.5434 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.6618, allocations: 7.969 kB / 0.5434 GB, free: 1.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.6739, allocations: 6.489 MB / 0.5497 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.6739, allocations: 4 kB / 0.5497 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.675, allocations: 276 kB / 0.55 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006845/0.6757, allocations: 262.6 kB / 0.5502 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-05/0.6758, allocations: 31.98 kB / 0.5503 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004167/0.6799, allocations: 3.182 MB / 0.5534 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.68, allocations: 4 kB / 0.5534 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005651/0.6856, allocations: 3.907 MB / 0.5572 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/0.6863, allocations: 242.7 kB / 0.5574 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/0.6868, allocations: 28 kB / 0.5574 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6879, allocations: 111.8 kB / 0.5576 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.6882, allocations: 92.81 kB / 0.5576 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-05/0.6883, allocations: 36 kB / 0.5577 GB, free: 2.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002207/0.6905, allocations: 1.092 MB / 0.5587 GB, free: 1.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6905, allocations: 4 kB / 0.5587 GB, free: 1.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003533/0.694, allocations: 0.6367 MB / 0.5594 GB, free: 0.6797 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.0003155/0.6944, allocations: 135 kB / 0.5595 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005532/0.6999, allocations: 3.304 MB / 0.5627 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6999, allocations: 0 / 0.5627 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.7017, allocations: 1.268 MB / 0.564 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/0.7042, allocations: 417.5 kB / 0.5644 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.7152, allocations: 6.367 MB / 0.5706 GB, free: 5.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.7176, allocations: 1.833 MB / 0.5724 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007853/0.7184, allocations: 175.4 kB / 0.5725 GB, free: 3.055 MB / 446.1 MB Notification: Performance of SimCode: time 2.535e-06/0.7184, allocations: 0 / 0.5725 GB, free: 3.055 MB / 446.1 MB Notification: Performance of Templates: time 0.3108/1.029, allocations: 44.16 MB / 0.6157 GB, free: 113.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