Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001102/0.001102, allocations: 92.14 kB / 16.95 MB, free: 5.633 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.001229/0.00123, allocations: 185 kB / 17.85 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 223.2 MB / 241.8 MB, free: 160 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003516, allocations: 4 kB / 301.5 MB, free: 6.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 50.42 MB / 351.9 MB, free: 4 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002995/0.1551, allocations: 1.868 MB / 353.7 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000471/0.1556, allocations: 191.3 kB / 353.9 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.1557, allocations: 4 kB / 353.9 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.576e-05/0.1558, allocations: 27.77 kB / 354 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.156, allocations: 51.55 kB / 354 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.1562, allocations: 35.97 kB / 354 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.1564, allocations: 223 kB / 354.3 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.1567, allocations: 85.78 kB / 354.3 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1568, allocations: 71.78 kB / 354.4 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.157, allocations: 91.55 kB / 354.5 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.157, allocations: 16 kB / 354.5 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.542e-05/0.157, allocations: 12 kB / 354.5 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.1571, allocations: 31.91 kB / 354.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.726e-05/0.1572, allocations: 65.58 kB / 354.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1574, allocations: 191.7 kB / 354.8 MB, free: 1.027 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.1574, allocations: 0 / 354.8 MB, free: 1.027 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1574, allocations: 0 / 354.8 MB, free: 1.027 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1574, allocations: 0 / 354.8 MB, free: 1.027 MB / 286.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.0007995/0.1582, allocations: 483.1 kB / 355.3 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1583, allocations: 12.03 kB / 355.3 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.1584, allocations: 23.77 kB / 355.3 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1587, allocations: 218.7 kB / 355.5 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.1587, allocations: 20.56 kB / 355.6 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.1588, allocations: 27.94 kB / 355.6 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.1593, allocations: 232.3 kB / 355.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.1593, allocations: 0 / 355.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.1594, allocations: 12 kB / 355.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.1594, allocations: 4 kB / 355.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.1597, allocations: 147 kB / 356 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.1611, allocations: 0.8556 MB / 356.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.1614, allocations: 163.7 kB / 357 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.1616, allocations: 58.5 kB / 357 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1616, allocations: 12 kB / 357 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1617, allocations: 30.56 kB / 357.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.1617, allocations: 0 / 357.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004059/0.1621, allocations: 169.7 kB / 357.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.1622, allocations: 110.7 kB / 357.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.1624, allocations: 190.3 kB / 357.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1624, allocations: 29.7 kB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1626, allocations: 164 kB / 357.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.1627, allocations: 67.08 kB / 357.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.1627, allocations: 4 kB / 357.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1629, allocations: 330.8 kB / 358.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.163, allocations: 52.53 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.1632, allocations: 155.6 kB / 358.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1634, allocations: 67.94 kB / 358.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1634, allocations: 4 kB / 358.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003681/0.1638, allocations: 237.2 kB / 358.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1638, allocations: 7.938 kB / 358.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1638, allocations: 4 kB / 358.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1638, allocations: 8 kB / 358.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.164, allocations: 63.91 kB / 358.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1641, allocations: 4 kB / 358.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.1642, allocations: 28.06 kB / 358.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1642, allocations: 16 kB / 358.8 MB, free: 12.76 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.1644, allocations: 145.7 kB / 358.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.1645, allocations: 15.81 kB / 358.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.1645, allocations: 25.39 kB / 358.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1645, allocations: 4 kB / 358.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.1646, allocations: 0 / 358.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1646, allocations: 3.938 kB / 358.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.1652, allocations: 428.9 kB / 359.4 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1652, allocations: 4 kB / 359.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.1654, allocations: 31.98 kB / 359.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1654, allocations: 11.88 kB / 359.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1654, allocations: 4 kB / 359.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1654, allocations: 4 kB / 359.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1654, allocations: 3.938 kB / 359.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.1659, allocations: 388.6 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-05/0.1659, allocations: 92.86 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.166, allocations: 8 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.1661, allocations: 4 kB / 359.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1662, allocations: 23.88 kB / 359.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1662, allocations: 8 kB / 359.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1663, allocations: 144.3 kB / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1663, allocations: 0 / 360.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.1667, allocations: 51.84 kB / 360.1 MB, free: 11.27 MB / 302.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 (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.0001332/0.1668, allocations: 99.25 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.1671, allocations: 141 kB / 360.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1671, allocations: 0 / 360.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.101e-05/0.1672, allocations: 56.17 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.1677, allocations: 24.48 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1688, allocations: 0.7445 MB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1692, allocations: 0.7401 MB / 361.9 MB, free: 9.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.057e-05/0.1693, allocations: 19.44 kB / 361.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1693, allocations: 0 / 361.9 MB, free: 9.371 MB / 302.1 MB Notification: Performance of Templates: time 0.004722/0.174, allocations: 2.247 MB / 364.2 MB, free: 7.121 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrowsCalcHelperMain.o] Error 1