Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.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.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007667/0.007667, allocations: 100.9 kB / 15.87 MB, free: 6.328 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.001379/0.001379, allocations: 193.5 kB / 16.79 MB, free: 6.254 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.535/1.535, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.1819/0.1819, allocations: 9.099 MB / 299.7 MB, free: 1.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.91 kB / 361.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1445, allocations: 51.44 MB / 413.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.2979/0.4425, allocations: 28.23 MB / 441.6 MB, free: 28.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.4609, allocations: 6.233 MB / 447.8 MB, free: 24.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/0.4714, allocations: 103.9 kB / 447.9 MB, free: 24.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002253/0.4737, allocations: 332.7 kB / 448.2 MB, free: 24.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005457/0.4793, allocations: 1.332 MB / 449.5 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009378/0.4803, allocations: 141 kB / 449.7 MB, free: 23.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004879/0.4852, allocations: 3.782 MB / 453.5 MB, free: 22.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.4872, allocations: 0.8739 MB / 454.3 MB, free: 21.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.4893, allocations: 0.8297 MB / 455.2 MB, free: 21.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.4918, allocations: 1.423 MB / 456.6 MB, free: 20.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009094/0.4928, allocations: 153.7 kB / 456.7 MB, free: 20.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.4952, allocations: 0.779 MB / 457.5 MB, free: 20.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001914/0.4971, allocations: 1.242 MB / 458.8 MB, free: 20.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003139/0.5003, allocations: 1.628 MB / 460.4 MB, free: 19.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004258/0.5045, allocations: 4.046 MB / 464.4 MB, free: 17.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5046, allocations: 0 / 464.4 MB, free: 17.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5046, allocations: 0 / 464.4 MB, free: 17.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001204/0.5047, allocations: 0 / 464.4 MB, free: 17.79 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.007769/0.5125, allocations: 3.603 MB / 468 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.5125, allocations: 9.562 kB / 468 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006958/0.5195, allocations: 1.829 MB / 469.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/0.5234, allocations: 1.418 MB / 471.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.5236, allocations: 168.5 kB / 471.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006076/0.5243, allocations: 215.2 kB / 471.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.5444, allocations: 8.679 MB / 480.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.983e-05/0.5446, allocations: 23.56 kB / 480.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.5449, allocations: 108.8 kB / 480.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004349/0.5493, allocations: 2.084 MB / 482.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02221/0.5715, allocations: 7.502 MB / 490.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.051/0.6226, allocations: 27.07 MB / 0.505 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005713/0.6284, allocations: 2.183 MB / 0.5071 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.6304, allocations: 0.9427 MB / 0.5081 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/0.6424, allocations: 5.573 MB / 0.5135 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.6425, allocations: 43.56 kB / 0.5136 GB, free: 2.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 5.801e-06/0.6425, allocations: 0 / 0.5136 GB, free: 2.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=135): time 0.01622/0.6588, allocations: 6.963 MB / 0.5204 GB, free: 11.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.6589, allocations: 64.41 kB / 0.5204 GB, free: 11.56 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006518/0.6654, allocations: 2.928 MB / 0.5233 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000306/0.6657, allocations: 41.7 kB / 0.5233 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002534/0.6683, allocations: 2.36 MB / 0.5256 GB, free: 6.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000946/0.6693, allocations: 0.5168 MB / 0.5261 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002434/0.6717, allocations: 0.8491 MB / 0.527 GB, free: 4.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6719, allocations: 305.1 kB / 0.5272 GB, free: 4.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.675, allocations: 1.347 MB / 0.5286 GB, free: 3.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005136/0.6801, allocations: 3.795 MB / 0.5323 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007905/0.688, allocations: 5.49 MB / 0.5376 GB, free: 7.414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/0.6882, allocations: 24 kB / 0.5376 GB, free: 7.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.01251/0.7007, allocations: 5.622 MB / 0.5431 GB, free: 1.676 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.7009, allocations: 40 kB / 0.5432 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002074/0.7012, allocations: 95.88 kB / 0.5433 GB, free: 1.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009696/0.7021, allocations: 364.3 kB / 0.5436 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003266/0.7054, allocations: 0.9162 MB / 0.5445 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008116/0.7136, allocations: 8.258 MB / 0.5526 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004346/0.718, allocations: 215.9 kB / 0.5528 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001126/0.7191, allocations: 260 kB / 0.553 GB, free: 6.859 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[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 (505): * Single equations (assignments): 495 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,10,66.7%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004479/0.7236, allocations: 1.707 MB / 0.5547 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007159/0.7243, allocations: 232.9 kB / 0.5549 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.7288, allocations: 2.251 MB / 0.5571 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000194/0.7291, allocations: 51.88 kB / 0.5572 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.7291, allocations: 4 kB / 0.5572 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.7291, allocations: 3.984 kB / 0.5572 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0146/0.7437, allocations: 5.773 MB / 0.5628 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/0.7438, allocations: 8.094 kB / 0.5628 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007835/0.7446, allocations: 175.7 kB / 0.563 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.7451, allocations: 150.4 kB / 0.5631 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/0.7452, allocations: 31.98 kB / 0.5632 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/0.7497, allocations: 4.678 MB / 0.5677 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.7498, allocations: 7.938 kB / 0.5677 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005492/0.7553, allocations: 3.008 MB / 0.5707 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.7566, allocations: 314 kB / 0.571 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008862/0.7575, allocations: 24 kB / 0.571 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.759, allocations: 59.92 kB / 0.5711 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.7592, allocations: 84.84 kB / 0.5711 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.7593, allocations: 44.05 kB / 0.5712 GB, free: 3.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004676/0.764, allocations: 1.87 MB / 0.573 GB, free: 1.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.764, allocations: 0 / 0.573 GB, free: 1.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005396/0.7694, allocations: 0.7189 MB / 0.5737 GB, free: 0.8711 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (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 (103): * Single equations (assignments): 95 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005474/0.77, allocations: 164.9 kB / 0.5739 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2977/1.068, allocations: 3.686 MB / 0.5775 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.068, allocations: 3.219 kB / 0.5775 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001528/1.069, allocations: 1.119 MB / 0.5786 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/1.072, allocations: 384.7 kB / 0.5789 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/1.084, allocations: 8.911 MB / 0.5876 GB, free: 117.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/1.087, allocations: 2.753 MB / 0.5903 GB, free: 116.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009228/1.088, allocations: 223.6 kB / 0.5905 GB, free: 116.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.424e-06/1.088, allocations: 0 / 0.5905 GB, free: 116.5 MB / 446.1 MB Notification: Performance of Templates: time 0.1304/1.218, allocations: 110.4 MB / 0.6984 GB, free: 32.73 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.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.SpringDemoCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDemoCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDemoCalcHelperMain.o] Error 1