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.0008801/0.0008796, allocations: 87.95 kB / 17.58 MB, free: 5.52 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.001076/0.001076, allocations: 187 kB / 18.48 MB, free: 5.082 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.75/1.75, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004561/0.0004561, allocations: 19.44 kB / 281.4 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1101, allocations: 47.57 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.0341/0.1443, allocations: 35.01 MB / 364 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02018/0.1645, allocations: 8.013 MB / 372 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00701/0.1716, allocations: 163.6 kB / 372.2 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005531/0.1771, allocations: 1.788 MB / 374 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.1937, allocations: 5.518 MB / 379.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002431/0.1961, allocations: 0.6319 MB / 380.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2446/0.4407, allocations: 4.705 MB / 384.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006873/0.4476, allocations: 3.364 MB / 388.2 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.4506, allocations: 1.271 MB / 389.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003466/0.4541, allocations: 2.013 MB / 391.5 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000584/0.4547, allocations: 143.4 kB / 391.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.4566, allocations: 0.7197 MB / 392.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00211/0.4587, allocations: 1.639 MB / 394 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.4602, allocations: 0.785 MB / 394.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00584/0.4661, allocations: 4.852 MB / 399.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4661, allocations: 0 / 399.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4661, allocations: 1.641 kB / 399.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001572/0.4663, allocations: 0 / 399.6 MB, free: 9.652 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.006962/0.4732, allocations: 3.856 MB / 403.4 MB, free: 7.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4733, allocations: 11.06 kB / 403.5 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006412/0.4797, allocations: 1.974 MB / 405.4 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004775/0.4845, allocations: 2.3 MB / 407.7 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.4847, allocations: 236.1 kB / 408 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005478/0.4853, allocations: 294.5 kB / 408.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.5003, allocations: 9.635 MB / 417.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.5005, allocations: 48.84 kB / 417.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003837/0.5009, allocations: 145.4 kB / 418.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002754/0.5036, allocations: 1.919 MB / 420 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.5191, allocations: 7.606 MB / 427.6 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04804/0.5671, allocations: 37.76 MB / 465.4 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006456/0.5736, allocations: 2.87 MB / 468.2 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.5749, allocations: 0.8672 MB / 469.1 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006158/0.5811, allocations: 3.768 MB / 472.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.5811, allocations: 52.22 kB / 472.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 4.127e-06/0.5811, allocations: 0 / 472.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=152): time 0.02041/0.6016, allocations: 9.058 MB / 482 MB, free: 6.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.597e-05/0.6017, allocations: 153.5 kB / 482.1 MB, free: 6.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005771/0.6075, allocations: 3.913 MB / 486 MB, free: 2.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001939/0.6077, allocations: 45.7 kB / 486.1 MB, free: 2.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002264/0.61, allocations: 3.095 MB / 489.2 MB, free: 15.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006406/0.6106, allocations: 0.6032 MB / 489.8 MB, free: 14.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.6108, allocations: 120 kB / 489.9 MB, free: 14.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003638/0.6112, allocations: 0.549 MB / 490.4 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.6137, allocations: 1.557 MB / 492 MB, free: 12.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005215/0.6189, allocations: 5.334 MB / 497.3 MB, free: 5.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004128/0.6231, allocations: 2.81 MB / 0.4884 GB, free: 2.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.098e-05/0.6231, allocations: 40 kB / 0.4885 GB, free: 2.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.011/0.6341, allocations: 6.617 MB / 0.4949 GB, free: 12.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/0.6342, allocations: 64 kB / 0.495 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.6344, allocations: 132 kB / 0.4951 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.6346, allocations: 200 kB / 0.4953 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003701/0.6383, allocations: 1.384 MB / 0.4967 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002051/0.6385, allocations: 268.9 kB / 0.4969 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/0.6424, allocations: 288.5 kB / 0.4972 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004793/0.6429, allocations: 368.9 kB / 0.4975 GB, free: 9.387 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003528/0.6464, allocations: 1.971 MB / 0.4995 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007515/0.6472, allocations: 335.7 kB / 0.4998 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.6493, allocations: 1.25 MB / 0.501 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/0.6493, allocations: 23.98 kB / 0.501 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.6494, allocations: 4 kB / 0.501 GB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.6494, allocations: 7.938 kB / 0.501 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009582/0.659, allocations: 5.741 MB / 0.5066 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-05/0.659, allocations: 16 kB / 0.5067 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009682/0.66, allocations: 279.5 kB / 0.5069 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.559e-05/0.66, allocations: 28 kB / 0.507 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.055e-05/0.6601, allocations: 47.95 kB / 0.507 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.019e-05/0.6602, allocations: 39.86 kB / 0.507 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.086e-05/0.6602, allocations: 32.33 kB / 0.5071 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/0.6642, allocations: 3.202 MB / 0.5102 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/0.6656, allocations: 0.5204 MB / 0.5107 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.6659, allocations: 49.73 kB / 0.5108 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.667, allocations: 63.83 kB / 0.5108 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.6672, allocations: 147.5 kB / 0.511 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.6673, allocations: 64 kB / 0.511 GB, free: 10.99 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004206/0.6715, allocations: 2.438 MB / 0.5134 GB, free: 8.574 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6715, allocations: 0 / 0.5134 GB, free: 8.574 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006055/0.6776, allocations: 0.8661 MB / 0.5142 GB, free: 7.711 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005009/0.6781, allocations: 197.5 kB / 0.5144 GB, free: 7.512 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006666/0.6848, allocations: 3.608 MB / 0.518 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/0.6848, allocations: 0 / 0.518 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.686, allocations: 0.7234 MB / 0.5187 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/0.6894, allocations: 456.7 kB / 0.5191 GB, free: 2.773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/0.71, allocations: 10.58 MB / 0.5294 GB, free: 7.898 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004019/0.7141, allocations: 3.095 MB / 0.5325 GB, free: 4.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.7151, allocations: 289.2 kB / 0.5327 GB, free: 4.488 MB / 446.1 MB Notification: Performance of SimCode: time 1.923e-06/0.7151, allocations: 0 / 0.5327 GB, free: 4.488 MB / 446.1 MB Notification: Performance of Templates: time 0.3476/1.063, allocations: 50.77 MB / 0.5823 GB, free: 132.6 MB / 446.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++ 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 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