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.0012/0.0012, allocations: 102.2 kB / 15.71 MB, free: 460 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.001583/0.001583, allocations: 172 kB / 16.58 MB, free: 6.402 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.608/1.608, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2475/0.2475, allocations: 9.099 MB / 300.8 MB, free: 2.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003421, allocations: 8 kB / 363.7 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1247, allocations: 52.43 MB / 416.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.2845/0.4093, allocations: 25.5 MB / 441.7 MB, free: 30.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.4249, allocations: 5.948 MB / 447.6 MB, free: 25.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006389/0.4313, allocations: 101.4 kB / 447.7 MB, free: 25.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004648/0.436, allocations: 1.216 MB / 448.9 MB, free: 25.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.4499, allocations: 4.272 MB / 453.2 MB, free: 23.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.452, allocations: 145.6 kB / 453.3 MB, free: 23.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005001/0.457, allocations: 3.014 MB / 456.3 MB, free: 22.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.4591, allocations: 0.8582 MB / 457.2 MB, free: 22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.4614, allocations: 0.8685 MB / 458.1 MB, free: 21.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003092/0.4646, allocations: 1.383 MB / 459.5 MB, free: 21.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001121/0.4657, allocations: 142.6 kB / 459.6 MB, free: 21.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.4683, allocations: 0.6741 MB / 460.3 MB, free: 21.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.4702, allocations: 1.208 MB / 461.5 MB, free: 20.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009606/0.4712, allocations: 0.6946 MB / 462.2 MB, free: 20.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00495/0.4761, allocations: 3.928 MB / 466.1 MB, free: 19.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4761, allocations: 3.938 kB / 466.1 MB, free: 19.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4762, allocations: 7 kB / 466.1 MB, free: 19.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001787/0.4763, allocations: 0 / 466.1 MB, free: 19.26 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.006851/0.4832, allocations: 2.956 MB / 469.1 MB, free: 17.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.4833, allocations: 9.891 kB / 469.1 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007957/0.4912, allocations: 1.876 MB / 470.9 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.4949, allocations: 1.394 MB / 472.3 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.4951, allocations: 165.9 kB / 472.5 MB, free: 16.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005992/0.4957, allocations: 214.8 kB / 472.7 MB, free: 16.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/0.5146, allocations: 8.658 MB / 481.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-05/0.5147, allocations: 29.3 kB / 481.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003431/0.515, allocations: 104.2 kB / 481.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004492/0.5195, allocations: 2.078 MB / 483.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/0.5417, allocations: 7.48 MB / 491.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05181/0.5936, allocations: 27.07 MB / 0.506 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/0.5988, allocations: 2.172 MB / 0.5081 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.6007, allocations: 0.951 MB / 0.509 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.6119, allocations: 5.569 MB / 0.5145 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.612, allocations: 39.56 kB / 0.5145 GB, free: 3.844 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 5.05e-06/0.612, allocations: 0 / 0.5145 GB, free: 3.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=135): time 0.01524/0.6273, allocations: 6.959 MB / 0.5213 GB, free: 12.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.6274, allocations: 60.41 kB / 0.5214 GB, free: 12.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005058/0.6324, allocations: 2.916 MB / 0.5242 GB, free: 9.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.6326, allocations: 41.7 kB / 0.5243 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002231/0.6348, allocations: 2.356 MB / 0.5266 GB, free: 7.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006496/0.6355, allocations: 0.5128 MB / 0.5271 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.6357, allocations: 80 kB / 0.5271 GB, free: 6.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003429/0.636, allocations: 491.3 kB / 0.5276 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/0.6387, allocations: 1.336 MB / 0.5289 GB, free: 4.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004996/0.6437, allocations: 3.78 MB / 0.5326 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004013/0.6477, allocations: 2.218 MB / 0.5348 GB, free: 13.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.042e-05/0.6478, allocations: 24 kB / 0.5348 GB, free: 13.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.0103/0.6581, allocations: 5.59 MB / 0.5402 GB, free: 7.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.6582, allocations: 40 kB / 0.5403 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/0.6583, allocations: 91.98 kB / 0.5404 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000871/0.6592, allocations: 377.4 kB / 0.5407 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/0.6625, allocations: 0.9202 MB / 0.5416 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008835/0.6714, allocations: 8.256 MB / 0.5497 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/0.6753, allocations: 227.9 kB / 0.5499 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005749/0.6759, allocations: 256 kB / 0.5502 GB, free: 13.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,66.7%) 10,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003668/0.6796, allocations: 1.69 MB / 0.5518 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004988/0.6801, allocations: 244.9 kB / 0.552 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.6838, allocations: 2.243 MB / 0.5542 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001721/0.684, allocations: 44.03 kB / 0.5543 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.684, allocations: 4 kB / 0.5543 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.6841, allocations: 3.984 kB / 0.5543 GB, free: 8.727 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/0.6951, allocations: 5.777 MB / 0.5599 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.6951, allocations: 7.938 kB / 0.5599 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.6959, allocations: 175.7 kB / 0.5601 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004315/0.6963, allocations: 154.9 kB / 0.5602 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.6964, allocations: 31.95 kB / 0.5603 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/0.7006, allocations: 4.663 MB / 0.5648 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.7007, allocations: 7.938 kB / 0.5648 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/0.7056, allocations: 3 MB / 0.5678 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.7068, allocations: 333.9 kB / 0.5681 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.707, allocations: 20 kB / 0.5681 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000815/0.7079, allocations: 59.92 kB / 0.5682 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.7081, allocations: 84.86 kB / 0.5682 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.7082, allocations: 48.25 kB / 0.5683 GB, free: 9.688 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003548/0.7117, allocations: 1.851 MB / 0.5701 GB, free: 7.828 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7117, allocations: 0 / 0.5701 GB, free: 7.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004226/0.716, allocations: 0.7188 MB / 0.5708 GB, free: 7.109 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004569/0.7164, allocations: 159 kB / 0.5709 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00652/0.723, allocations: 3.672 MB / 0.5745 GB, free: 3.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.723, allocations: 4 kB / 0.5745 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.7247, allocations: 1.134 MB / 0.5756 GB, free: 2.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.7272, allocations: 396.5 kB / 0.576 GB, free: 1.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2945/1.022, allocations: 8.591 MB / 0.5844 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/1.025, allocations: 2.749 MB / 0.5871 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008982/1.026, allocations: 221.9 kB / 0.5873 GB, free: 102.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/1.026, allocations: 0.6562 kB / 0.5873 GB, free: 102.1 MB / 446.1 MB Notification: Performance of Templates: time 0.1284/1.154, allocations: 109.8 MB / 0.6945 GB, free: 21.32 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.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.SpringDemoCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDemoCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDemoCalcHelperMain.o] Error 1