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.000933/0.0009331, allocations: 99.45 kB / 17.96 MB, free: 5.766 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.001168/0.001168, allocations: 178.7 kB / 18.86 MB, free: 4.906 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.932/1.932, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005008/0.0005009, allocations: 12 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 47.59 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.04079/0.1688, allocations: 37.61 MB / 367.2 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02396/0.1928, allocations: 8.428 MB / 375.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009773/0.2026, allocations: 163.6 kB / 375.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.2045, allocations: 417.9 kB / 376.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.2106, allocations: 1.717 MB / 377.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.2125, allocations: 0.6592 MB / 378.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3047/0.5172, allocations: 5.912 MB / 384.5 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008702/0.526, allocations: 3.706 MB / 388.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.53, allocations: 1.169 MB / 389.4 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0045/0.5345, allocations: 2.03 MB / 391.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008622/0.5354, allocations: 143 kB / 391.6 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.5377, allocations: 0.8374 MB / 392.4 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.5399, allocations: 1.676 MB / 394.1 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003045/0.5429, allocations: 1.941 MB / 396 MB, free: 8.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006037/0.549, allocations: 4.851 MB / 400.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.549, allocations: 0 / 400.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5491, allocations: 6.531 kB / 400.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002209/0.5493, allocations: 0 / 400.9 MB, free: 6.645 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.008923/0.5582, allocations: 3.803 MB / 404.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.5583, allocations: 10.03 kB / 404.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007808/0.5661, allocations: 1.974 MB / 406.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/0.5722, allocations: 2.344 MB / 409 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.5725, allocations: 240.7 kB / 409.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009107/0.5734, allocations: 298.1 kB / 409.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.5919, allocations: 9.654 MB / 419.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.5921, allocations: 47.97 kB / 419.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.5926, allocations: 150.8 kB / 419.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003093/0.5957, allocations: 1.92 MB / 421.3 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/0.6127, allocations: 7.646 MB / 428.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04952/0.6622, allocations: 37.77 MB / 466.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007015/0.6693, allocations: 2.892 MB / 469.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.6706, allocations: 0.8652 MB / 470.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007181/0.6778, allocations: 3.771 MB / 474.2 MB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.6779, allocations: 45.84 kB / 474.3 MB, free: 4.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 3.726e-06/0.6779, allocations: 3.938 kB / 474.3 MB, free: 4.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=152): time 0.02612/0.704, allocations: 9.069 MB / 483.4 MB, free: 11.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.7042, allocations: 149.5 kB / 483.5 MB, free: 11.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006316/0.7105, allocations: 3.94 MB / 487.4 MB, free: 7.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000322/0.7109, allocations: 49.69 kB / 487.5 MB, free: 7.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003259/0.7141, allocations: 3.084 MB / 490.6 MB, free: 4.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/0.7152, allocations: 0.6016 MB / 491.2 MB, free: 3.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007755/0.716, allocations: 0.499 MB / 491.7 MB, free: 3.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.7162, allocations: 309.1 kB / 492 MB, free: 2.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/0.7191, allocations: 1.581 MB / 493.6 MB, free: 1.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005711/0.7248, allocations: 5.355 MB / 498.9 MB, free: 10.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009569/0.7344, allocations: 7.542 MB / 0.4946 GB, free: 1.156 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/0.7345, allocations: 40 kB / 0.4946 GB, free: 1.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01408/0.7486, allocations: 6.663 MB / 0.5011 GB, free: 11.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.7488, allocations: 68.45 kB / 0.5012 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003109/0.7491, allocations: 132 kB / 0.5013 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002414/0.7494, allocations: 176 kB / 0.5015 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/0.7539, allocations: 1.384 MB / 0.5028 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002785/0.7542, allocations: 267 kB / 0.5031 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/0.7587, allocations: 291.5 kB / 0.5034 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007681/0.7595, allocations: 368 kB / 0.5037 GB, free: 8.41 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.004522/0.7641, allocations: 1.99 MB / 0.5057 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009527/0.765, allocations: 331.8 kB / 0.506 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/0.7678, allocations: 1.25 MB / 0.5072 GB, free: 4.824 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/0.7679, allocations: 16 kB / 0.5072 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.7679, allocations: 0 / 0.5072 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.7679, allocations: 7.969 kB / 0.5072 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.7827, allocations: 5.755 MB / 0.5128 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-05/0.7827, allocations: 16 kB / 0.5129 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.7838, allocations: 280.3 kB / 0.5131 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.693e-05/0.7838, allocations: 27.94 kB / 0.5132 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.784, allocations: 56 kB / 0.5132 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.239e-05/0.784, allocations: 35.86 kB / 0.5132 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.348e-05/0.7841, allocations: 23.94 kB / 0.5133 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005367/0.7894, allocations: 3.22 MB / 0.5164 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/0.7912, allocations: 0.516 MB / 0.5169 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009133/0.7921, allocations: 47.98 kB / 0.517 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.794, allocations: 67.95 kB / 0.517 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.7942, allocations: 143.4 kB / 0.5172 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.7944, allocations: 71.58 kB / 0.5172 GB, free: 9.984 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006435/0.8009, allocations: 2.45 MB / 0.5196 GB, free: 7.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8009, allocations: 0 / 0.5196 GB, free: 7.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006705/0.8076, allocations: 0.8633 MB / 0.5205 GB, free: 6.691 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.000657/0.8083, allocations: 207.5 kB / 0.5207 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007334/0.8156, allocations: 3.629 MB / 0.5242 GB, free: 2.883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/0.8156, allocations: 4 kB / 0.5242 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.8168, allocations: 0.7343 MB / 0.5249 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01097/0.8278, allocations: 451.8 kB / 0.5254 GB, free: 1.711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/0.8462, allocations: 11.03 MB / 0.5361 GB, free: 6.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003814/0.85, allocations: 3.095 MB / 0.5392 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.8512, allocations: 283.4 kB / 0.5394 GB, free: 2.98 MB / 462.1 MB Notification: Performance of SimCode: time 2.034e-06/0.8512, allocations: 0 / 0.5394 GB, free: 2.98 MB / 462.1 MB Notification: Performance of Templates: time 0.3486/1.2, allocations: 50.48 MB / 0.5887 GB, free: 145.1 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