Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.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.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") translateModel(PlanarMechanics.Examples.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007505/0.007505, allocations: 100.7 kB / 15.87 MB, free: 6.305 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.001493/0.001493, allocations: 192 kB / 16.79 MB, free: 6.234 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.463/1.463, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1789/0.1789, allocations: 9.09 MB / 299.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 361.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1272, allocations: 51.44 MB / 413.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.3233/0.4505, allocations: 44.37 MB / 457.7 MB, free: 16.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02303/0.4736, allocations: 9.285 MB / 467 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01528/0.4889, allocations: 164.3 kB / 467.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.491, allocations: 377.6 kB / 467.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006599/0.4977, allocations: 1.548 MB / 469.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.499, allocations: 149.1 kB / 469.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007849/0.5069, allocations: 4.318 MB / 473.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.509, allocations: 1.044 MB / 474.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.511, allocations: 0.9652 MB / 475.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.5133, allocations: 1.637 MB / 477.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000622/0.5139, allocations: 176 kB / 477.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.5159, allocations: 0.8085 MB / 478.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.5176, allocations: 1.413 MB / 479.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.5199, allocations: 1.849 MB / 481.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007654/0.5276, allocations: 4.582 MB / 486 MB, free: 3.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5276, allocations: 0.5625 kB / 486 MB, free: 3.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5276, allocations: 0 / 486 MB, free: 3.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002629/0.5279, allocations: 0 / 486 MB, free: 3.238 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: 1467 * Number of variables: 1467 Notification: Performance of Generate backend data structure: time 0.01784/0.5457, allocations: 4.564 MB / 490.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.5458, allocations: 14.53 kB / 490.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009113/0.5549, allocations: 1.896 MB / 492.5 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00558/0.5605, allocations: 1.589 MB / 494.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/0.561, allocations: 195.5 kB / 494.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/0.5636, allocations: 254 kB / 494.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02809/0.5917, allocations: 9.788 MB / 0.4925 GB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002207/0.592, allocations: 23.81 kB / 0.4925 GB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001635/0.5936, allocations: 119.8 kB / 0.4926 GB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004315/0.598, allocations: 2.303 MB / 0.4949 GB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.6183, allocations: 8.476 MB / 0.5031 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05616/0.6745, allocations: 30.71 MB / 0.5331 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/0.6823, allocations: 2.795 MB / 0.5359 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002291/0.6846, allocations: 1.049 MB / 0.5369 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.6953, allocations: 5.832 MB / 0.5426 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.6954, allocations: 47.88 kB / 0.5426 GB, free: 4.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=159): time 5.791e-06/0.6954, allocations: 0 / 0.5426 GB, free: 4.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=181): time 0.02039/0.7158, allocations: 8.221 MB / 0.5506 GB, free: 12.49 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.7159, allocations: 68.72 kB / 0.5507 GB, free: 12.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00731/0.7232, allocations: 3.186 MB / 0.5538 GB, free: 9.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002861/0.7235, allocations: 49.7 kB / 0.5539 GB, free: 9.152 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00222/0.7257, allocations: 2.601 MB / 0.5564 GB, free: 6.516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009514/0.7267, allocations: 0.6747 MB / 0.5571 GB, free: 5.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001518/0.7282, allocations: 0.9801 MB / 0.558 GB, free: 4.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7284, allocations: 305.1 kB / 0.5583 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/0.7314, allocations: 1.567 MB / 0.5598 GB, free: 2.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005126/0.7365, allocations: 4.357 MB / 0.5641 GB, free: 13.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.7466, allocations: 6.39 MB / 0.5703 GB, free: 5.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/0.7468, allocations: 32 kB / 0.5704 GB, free: 5.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.306/1.053, allocations: 6.021 MB / 0.5763 GB, free: 122.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.376e-05/1.053, allocations: 49 kB / 0.5763 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001793/1.053, allocations: 98.47 kB / 0.5764 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009989/1.054, allocations: 340.5 kB / 0.5767 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/1.058, allocations: 1.098 MB / 0.5778 GB, free: 122.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/1.062, allocations: 3.397 MB / 0.5811 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/1.066, allocations: 249 kB / 0.5813 GB, free: 121.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006158/1.067, allocations: 296 kB / 0.5816 GB, free: 121.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 30 (distance.arrowColor[3],distance.arrowColor[2],distance.arrowColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[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 (597): * Single equations (assignments): 591 * Array equations: 5 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003591/1.07, allocations: 1.886 MB / 0.5835 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005045/1.071, allocations: 281.3 kB / 0.5837 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/1.075, allocations: 2.426 MB / 0.5861 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001719/1.075, allocations: 48.78 kB / 0.5862 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.075, allocations: 4.156 kB / 0.5862 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/1.075, allocations: 6.422 kB / 0.5862 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/1.086, allocations: 6.894 MB / 0.5929 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.086, allocations: 3.688 kB / 0.5929 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009537/1.087, allocations: 258.5 kB / 0.5931 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/1.087, allocations: 213.2 kB / 0.5933 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.356e-05/1.087, allocations: 37.61 kB / 0.5934 GB, free: 118 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/1.09, allocations: 2.727 MB / 0.596 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.09, allocations: 3.375 kB / 0.5961 GB, free: 116.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/1.095, allocations: 3.735 MB / 0.5997 GB, free: 114.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.096, allocations: 349.5 kB / 0.6 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/1.097, allocations: 30.53 kB / 0.6001 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.098, allocations: 77 kB / 0.6001 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/1.098, allocations: 119.5 kB / 0.6002 GB, free: 114.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.098, allocations: 53.28 kB / 0.6003 GB, free: 114.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003022/1.101, allocations: 2.028 MB / 0.6023 GB, free: 113.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.633e-06/1.101, allocations: 0 / 0.6023 GB, free: 113.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004255/1.105, allocations: 0.8395 MB / 0.6031 GB, free: 113.8 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,prismatic.s,prismatic.v) * 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 (143): * Single equations (assignments): 137 * Array equations: 5 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004212/1.106, allocations: 166.7 kB / 0.6033 GB, free: 113.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006956/1.113, allocations: 3.825 MB / 0.607 GB, free: 112.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.113, allocations: 1.375 kB / 0.607 GB, free: 112.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/1.115, allocations: 1.201 MB / 0.6082 GB, free: 112.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/1.118, allocations: 440.8 kB / 0.6086 GB, free: 112 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/1.136, allocations: 10.28 MB / 0.6186 GB, free: 106.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003729/1.14, allocations: 3.008 MB / 0.6216 GB, free: 104.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.141, allocations: 264.6 kB / 0.6218 GB, free: 104.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.724e-06/1.141, allocations: 0 / 0.6218 GB, free: 104.9 MB / 446.1 MB Notification: Performance of Templates: time 0.09966/1.24, allocations: 68.42 MB / 0.6886 GB, free: 46 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.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.PowerDistanceDemoCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemoCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemoCalcHelperMain.o] Error 1