Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 96 kB / 17.96 MB, free: 5.418 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.001579/0.001579, allocations: 176.3 kB / 18.86 MB, free: 4.637 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.927/1.927, allocations: 205.4 MB / 225 MB, free: 12.87 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.0005775/0.0005779, allocations: 8 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1469, allocations: 47.59 MB / 329.6 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003607/0.1506, allocations: 1.939 MB / 331.5 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008402/0.1515, allocations: 187.3 kB / 331.7 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.1518, allocations: 8 kB / 331.7 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.152, allocations: 27.83 kB / 331.8 MB, free: 1.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.1523, allocations: 47.55 kB / 331.8 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.1527, allocations: 43.97 kB / 331.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.1531, allocations: 231 kB / 332.1 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.1534, allocations: 87.25 kB / 332.2 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.1536, allocations: 75.72 kB / 332.2 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1538, allocations: 91.56 kB / 332.3 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.259e-05/0.1539, allocations: 11.94 kB / 332.3 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.303e-05/0.1539, allocations: 16 kB / 332.4 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.154, allocations: 35.84 kB / 332.4 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.1542, allocations: 129.2 kB / 332.5 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.1544, allocations: 195.7 kB / 332.7 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.1544, allocations: 3.938 kB / 332.7 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1544, allocations: 0 / 332.7 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.1545, allocations: 0 / 332.7 MB, free: 0.6133 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008025/0.1553, allocations: 471.4 kB / 333.2 MB, free: 104 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1553, allocations: 8.031 kB / 333.2 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.441e-05/0.1554, allocations: 24.66 kB / 333.2 MB, free: 72 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1558, allocations: 224 kB / 333.4 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1558, allocations: 12.94 kB / 333.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.02e-05/0.1559, allocations: 36.16 kB / 333.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005161/0.1564, allocations: 232.9 kB / 333.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.1565, allocations: 4.188 kB / 333.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.1565, allocations: 7.938 kB / 333.7 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.1565, allocations: 12 kB / 333.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.1569, allocations: 135.2 kB / 333.9 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.1586, allocations: 0.8672 MB / 334.7 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.1589, allocations: 155.7 kB / 334.9 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.159, allocations: 58.56 kB / 334.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.159, allocations: 4 kB / 334.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.761e-05/0.1591, allocations: 42.81 kB / 335 MB, free: 14.14 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.1591, allocations: 3.938 kB / 335 MB, free: 14.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004535/0.1596, allocations: 169.9 kB / 335.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.1597, allocations: 106.8 kB / 335.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.16, allocations: 202.5 kB / 335.4 MB, free: 13.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.16, allocations: 29.7 kB / 335.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.1602, allocations: 155.9 kB / 335.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.1603, allocations: 67.09 kB / 335.7 MB, free: 13.37 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/0.1603, allocations: 25.72 kB / 335.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.1606, allocations: 330.8 kB / 336 MB, free: 13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.1607, allocations: 48.55 kB / 336.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.1609, allocations: 162.6 kB / 336.3 MB, free: 12.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/0.1613, allocations: 225.5 kB / 336.5 MB, free: 12.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1613, allocations: 0 / 336.5 MB, free: 12.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004752/0.1618, allocations: 241.4 kB / 336.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.1618, allocations: 12.03 kB / 336.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.1619, allocations: 7.984 kB / 336.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/0.1619, allocations: 8 kB / 336.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.1621, allocations: 59.86 kB / 336.8 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.1622, allocations: 4 kB / 336.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.1623, allocations: 27.66 kB / 336.8 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.1624, allocations: 16 kB / 336.8 MB, free: 12.1 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * 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.0001652/0.1625, allocations: 141.6 kB / 337 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.1626, allocations: 27.75 kB / 337 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.1627, allocations: 21.41 kB / 337 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1627, allocations: 4 kB / 337 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1627, allocations: 0 / 337 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1628, allocations: 3.984 kB / 337 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.1635, allocations: 420.8 kB / 337.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.1635, allocations: 4.094 kB / 337.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.1637, allocations: 35.98 kB / 337.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.1637, allocations: 7.938 kB / 337.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.1637, allocations: 7.984 kB / 337.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-05/0.1638, allocations: 7.938 kB / 337.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1638, allocations: 0 / 337.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.1643, allocations: 376.3 kB / 337.9 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1644, allocations: 92.92 kB / 338 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.1645, allocations: 4 kB / 338 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1647, allocations: 7.984 kB / 338 MB, free: 10.85 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1647, allocations: 15.92 kB / 338 MB, free: 10.83 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1647, allocations: 11.98 kB / 338 MB, free: 10.82 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001348/0.1649, allocations: 136.3 kB / 338.1 MB, free: 10.69 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1649, allocations: 4 kB / 338.1 MB, free: 10.68 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004056/0.1653, allocations: 59.84 kB / 338.2 MB, free: 10.62 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * Array equations: 0 * 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.0001653/0.1655, allocations: 95.25 kB / 338.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.1658, allocations: 148.1 kB / 338.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1658, allocations: 0.875 kB / 338.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1659, allocations: 56.23 kB / 338.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.1665, allocations: 23.98 kB / 338.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.168, allocations: 0.7753 MB / 339.3 MB, free: 9.477 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.1686, allocations: 0.74 MB / 340 MB, free: 8.711 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.1687, allocations: 19.44 kB / 340.1 MB, free: 8.691 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1687, allocations: 0 / 340.1 MB, free: 8.691 MB / 286.1 MB Notification: Performance of Templates: time 0.006008/0.1747, allocations: 2.242 MB / 342.3 MB, free: 6.441 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.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.Translational.Examples.WhyArrowsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.o] Error 1