Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.001081, allocations: 91.98 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 196.8 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.653/1.653, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 4 kB / 307.3 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1197, allocations: 51.49 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.3287/0.4485, allocations: 34.97 MB / 393.8 MB, free: 1.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02515/0.4737, allocations: 8.05 MB / 401.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01012/0.4839, allocations: 165.7 kB / 402 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008754/0.4927, allocations: 1.793 MB / 403.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02323/0.5159, allocations: 5.488 MB / 409.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003882/0.5198, allocations: 0.628 MB / 409.9 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009385/0.5292, allocations: 4.779 MB / 414.7 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00637/0.5356, allocations: 3.355 MB / 418 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003555/0.5392, allocations: 1.249 MB / 419.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004132/0.5434, allocations: 2.013 MB / 421.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008567/0.5443, allocations: 144 kB / 421.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.5465, allocations: 0.6943 MB / 422.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00217/0.5487, allocations: 1.632 MB / 423.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.5501, allocations: 0.7843 MB / 424.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006571/0.5567, allocations: 4.834 MB / 429.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.5567, allocations: 8 kB / 429.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5567, allocations: 0 / 429.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002101/0.557, allocations: 0 / 429.4 MB, free: 5.336 MB / 334.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.009184/0.5661, allocations: 3.844 MB / 433.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5662, allocations: 8.031 kB / 433.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007426/0.5736, allocations: 1.971 MB / 435.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005678/0.5793, allocations: 2.152 MB / 437.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.5796, allocations: 225.6 kB / 437.6 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009418/0.5806, allocations: 303.7 kB / 437.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/0.6001, allocations: 9.651 MB / 447.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.6003, allocations: 47.59 kB / 447.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000436/0.6007, allocations: 147.8 kB / 447.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002995/0.6037, allocations: 1.927 MB / 449.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/0.6207, allocations: 7.622 MB / 457.3 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05771/0.6785, allocations: 37.73 MB / 495 MB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007056/0.6856, allocations: 2.906 MB / 497.9 MB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.6872, allocations: 0.8619 MB / 498.8 MB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007025/0.6943, allocations: 3.85 MB / 0.4908 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.6943, allocations: 55.14 kB / 0.4909 GB, free: 9.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 4.228e-06/0.6944, allocations: 0 / 0.4909 GB, free: 9.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=152): time 0.02571/0.7201, allocations: 9.075 MB / 0.4998 GB, free: 380 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.7202, allocations: 145.5 kB / 0.4999 GB, free: 204 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008477/0.7287, allocations: 3.901 MB / 0.5037 GB, free: 12.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003145/0.7291, allocations: 49.7 kB / 0.5037 GB, free: 12.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003953/0.7331, allocations: 3.078 MB / 0.5068 GB, free: 9.141 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001102/0.7342, allocations: 0.6096 MB / 0.5073 GB, free: 8.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.7345, allocations: 116 kB / 0.5075 GB, free: 8.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005586/0.7351, allocations: 0.5501 MB / 0.508 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003815/0.7389, allocations: 1.561 MB / 0.5095 GB, free: 6.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008565/0.7475, allocations: 5.343 MB / 0.5147 GB, free: 15.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006266/0.7538, allocations: 2.828 MB / 0.5175 GB, free: 12.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/0.754, allocations: 40 kB / 0.5175 GB, free: 12.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.02043/0.7744, allocations: 6.627 MB / 0.524 GB, free: 5.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.7747, allocations: 64 kB / 0.5241 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003424/0.7751, allocations: 132 kB / 0.5242 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.7755, allocations: 196 kB / 0.5244 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006893/0.7824, allocations: 1.388 MB / 0.5257 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004026/0.7829, allocations: 266.9 kB / 0.526 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006642/0.7895, allocations: 287.6 kB / 0.5263 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/0.791, allocations: 371.8 kB / 0.5266 GB, free: 2.871 MB / 446.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.006091/0.7971, allocations: 1.978 MB / 0.5286 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/0.7981, allocations: 335.6 kB / 0.5289 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.7994, allocations: 397.5 kB / 0.5293 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.169e-05/0.7994, allocations: 16 kB / 0.5293 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/0.7994, allocations: 4 kB / 0.5293 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.7995, allocations: 7.969 kB / 0.5293 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2829/1.082, allocations: 5.752 MB / 0.5349 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.265e-05/1.082, allocations: 18.95 kB / 0.5349 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/1.083, allocations: 276.2 kB / 0.5352 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.744e-05/1.084, allocations: 28.72 kB / 0.5352 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.642e-05/1.084, allocations: 50.56 kB / 0.5353 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.58e-05/1.084, allocations: 36.75 kB / 0.5353 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.121e-05/1.084, allocations: 28.89 kB / 0.5353 GB, free: 140.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004196/1.088, allocations: 3.23 MB / 0.5385 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.089, allocations: 418.6 kB / 0.5389 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/1.089, allocations: 49.2 kB / 0.5389 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/1.09, allocations: 66.5 kB / 0.539 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.091, allocations: 147.8 kB / 0.5391 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.091, allocations: 69.14 kB / 0.5392 GB, free: 138.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004678/1.095, allocations: 2.417 MB / 0.5415 GB, free: 137.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/1.095, allocations: 0 / 0.5415 GB, free: 137.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005668/1.101, allocations: 0.8606 MB / 0.5424 GB, free: 137.3 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 (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.0005183/1.102, allocations: 199 kB / 0.5426 GB, free: 137.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008277/1.11, allocations: 3.628 MB / 0.5461 GB, free: 136 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-05/1.11, allocations: 4.125 kB / 0.5461 GB, free: 136 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/1.111, allocations: 0.7302 MB / 0.5468 GB, free: 135.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/1.114, allocations: 451.6 kB / 0.5473 GB, free: 135.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/1.13, allocations: 10.57 MB / 0.5576 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003195/1.133, allocations: 3.096 MB / 0.5606 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008268/1.134, allocations: 279.2 kB / 0.5609 GB, free: 128.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/1.134, allocations: 3.969 kB / 0.5609 GB, free: 128.4 MB / 446.1 MB Notification: Performance of Templates: time 0.09457/1.228, allocations: 50.6 MB / 0.6103 GB, free: 80.2 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemCalcHelperMain.o] Error 1