Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 105.5 kB / 17.81 MB, free: 5.676 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.003165/0.003164, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 55.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1271, allocations: 46.63 MB / 327.3 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.04011/0.1673, allocations: 38.69 MB / 365.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02638/0.1937, allocations: 8.494 MB / 374.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01034/0.2042, allocations: 167.6 kB / 374.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006424/0.2106, allocations: 2.209 MB / 376.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007948/0.2186, allocations: 1.713 MB / 378.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.221, allocations: 0.6553 MB / 379.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3082/0.5292, allocations: 5.908 MB / 385.1 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0078/0.537, allocations: 2.877 MB / 388 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004683/0.5417, allocations: 1.336 MB / 389.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005859/0.5476, allocations: 2.242 MB / 391.5 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002079/0.5498, allocations: 216.7 kB / 391.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004252/0.554, allocations: 0.9003 MB / 392.7 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004089/0.5582, allocations: 1.77 MB / 394.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004205/0.5624, allocations: 2.046 MB / 396.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007057/0.5695, allocations: 4.958 MB / 401.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.5695, allocations: 0 / 401.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.5695, allocations: 0 / 401.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002397/0.5698, allocations: 0 / 401.4 MB, free: 7.074 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.01249/0.5823, allocations: 4.625 MB / 406.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/0.5824, allocations: 7.469 kB / 406.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007184/0.5895, allocations: 1.922 MB / 408 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005922/0.5955, allocations: 2.342 MB / 410.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.5958, allocations: 228.8 kB / 410.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009641/0.5967, allocations: 298.1 kB / 410.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0198/0.6166, allocations: 9.639 MB / 420.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002396/0.6169, allocations: 41.84 kB / 420.5 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007052/0.6176, allocations: 149.7 kB / 420.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003703/0.6213, allocations: 1.925 MB / 422.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.6414, allocations: 7.632 MB / 430.2 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06311/0.7045, allocations: 37.75 MB / 468 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007635/0.7122, allocations: 2.885 MB / 470.9 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.7139, allocations: 0.8708 MB / 471.7 MB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00817/0.7221, allocations: 3.768 MB / 475.5 MB, free: 2.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.7221, allocations: 47.22 kB / 475.5 MB, free: 2.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 4.569e-06/0.7222, allocations: 0 / 475.5 MB, free: 2.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=152): time 0.02611/0.7483, allocations: 9.063 MB / 484.6 MB, free: 8.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.7484, allocations: 144.6 kB / 484.8 MB, free: 8.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009356/0.7578, allocations: 3.948 MB / 488.7 MB, free: 4.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.7581, allocations: 49.7 kB / 488.8 MB, free: 4.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003544/0.7616, allocations: 3.092 MB / 491.8 MB, free: 1.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.7627, allocations: 0.5958 MB / 492.4 MB, free: 1.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00328/0.766, allocations: 1.175 MB / 493.6 MB, free: 15.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7661, allocations: 308.8 kB / 493.9 MB, free: 15.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/0.77, allocations: 1.589 MB / 495.5 MB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00806/0.7781, allocations: 5.351 MB / 0.4891 GB, free: 6.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/0.7907, allocations: 7.543 MB / 0.4965 GB, free: 13.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002157/0.791, allocations: 36 kB / 0.4965 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01507/0.8061, allocations: 6.662 MB / 0.503 GB, free: 7.742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.8064, allocations: 60 kB / 0.5031 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003529/0.8068, allocations: 136 kB / 0.5032 GB, free: 7.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002567/0.807, allocations: 176 kB / 0.5034 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004336/0.8114, allocations: 1.385 MB / 0.5047 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000304/0.8117, allocations: 263 kB / 0.505 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005039/0.8167, allocations: 287.6 kB / 0.5053 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007993/0.8176, allocations: 364 kB / 0.5056 GB, free: 5.098 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (746): * Single equations (assignments): 743 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004468/0.822, allocations: 1.98 MB / 0.5075 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000966/0.823, allocations: 335.7 kB / 0.5079 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.8257, allocations: 1.246 MB / 0.5091 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/0.8257, allocations: 20.03 kB / 0.5091 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.8258, allocations: 4 kB / 0.5091 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.8258, allocations: 7.969 kB / 0.5091 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.8398, allocations: 5.755 MB / 0.5147 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-05/0.8399, allocations: 24.25 kB / 0.5147 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.841, allocations: 275.5 kB / 0.515 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-05/0.8411, allocations: 32 kB / 0.515 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.8412, allocations: 48 kB / 0.5151 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.608e-05/0.8412, allocations: 39.86 kB / 0.5151 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.98e-05/0.8413, allocations: 27.88 kB / 0.5152 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.8463, allocations: 3.215 MB / 0.5183 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/0.8483, allocations: 0.516 MB / 0.5188 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000975/0.8492, allocations: 55.98 kB / 0.5188 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/0.8511, allocations: 51.97 kB / 0.5189 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.8514, allocations: 151.4 kB / 0.519 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.8515, allocations: 67.98 kB / 0.5191 GB, free: 6.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006315/0.8579, allocations: 2.446 MB / 0.5215 GB, free: 4.254 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8579, allocations: 0 / 0.5215 GB, free: 4.254 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009301/0.8672, allocations: 0.8672 MB / 0.5223 GB, free: 3.387 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 82 * Number of states: 4 (p1.s,p1.v,p2.s,p2.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 (142): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000915/0.8681, allocations: 205 kB / 0.5225 GB, free: 3.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00766/0.8758, allocations: 3.644 MB / 0.5261 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/0.8759, allocations: 4 kB / 0.5261 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.8772, allocations: 0.7282 MB / 0.5268 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004781/0.882, allocations: 434.3 kB / 0.5272 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02383/0.9058, allocations: 10.93 MB / 0.5379 GB, free: 3.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007362/0.9132, allocations: 3.095 MB / 0.5409 GB, free: 72 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2336/1.147, allocations: 272.9 kB / 0.5412 GB, free: 170.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/1.147, allocations: 0 / 0.5412 GB, free: 170.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1085/1.255, allocations: 51.26 MB / 0.5912 GB, free: 142.4 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.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 OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.o] Error 1