Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 97.09 kB / 16.67 MB, free: 6.59 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.001815/0.001815, allocations: 168.3 kB / 17.57 MB, free: 6.191 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.997/1.997, allocations: 205.4 MB / 223.8 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2622/0.2622, allocations: 43.59 MB / 315.6 MB, free: 428 kB / 254.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.0005918/0.0005918, allocations: 17.27 kB / 385.2 MB, free: 56.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1432, allocations: 58.87 MB / 444.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.002642/0.1459, allocations: 2.45 MB / 446.5 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1472, allocations: 0.9746 MB / 447.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1474, allocations: 11.94 kB / 447.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.1475, allocations: 39.69 kB / 447.6 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.1477, allocations: 91.23 kB / 447.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000372/0.1481, allocations: 127.7 kB / 447.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.1484, allocations: 366.2 kB / 448.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.1486, allocations: 69.7 kB / 448.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1487, allocations: 119.5 kB / 448.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.1489, allocations: 139.3 kB / 448.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.1489, allocations: 16 kB / 448.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.149, allocations: 32 kB / 448.5 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.1491, allocations: 59.75 kB / 448.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1492, allocations: 176.8 kB / 448.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1494, allocations: 267.2 kB / 449 MB, free: 240 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1495, allocations: 0 / 449 MB, free: 240 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1495, allocations: 0 / 449 MB, free: 240 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1495, allocations: 0 / 449 MB, free: 240 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009816/0.1505, allocations: 0.5654 MB / 449.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1505, allocations: 12.03 kB / 449.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.1508, allocations: 48.55 kB / 449.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1511, allocations: 275 kB / 449.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.1512, allocations: 29.03 kB / 449.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.1512, allocations: 32.36 kB / 449.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.1518, allocations: 306.6 kB / 450.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.1518, allocations: 11.91 kB / 450.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.1519, allocations: 12 kB / 450.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1519, allocations: 8 kB / 450.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.1523, allocations: 199.8 kB / 450.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.1542, allocations: 1.288 MB / 451.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.1548, allocations: 337.2 kB / 452.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.155, allocations: 104.3 kB / 452.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.1551, allocations: 8 kB / 452.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.1551, allocations: 50.48 kB / 452.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.573e-06/0.1551, allocations: 0 / 452.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002589/0.1577, allocations: 1.565 MB / 453.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.1578, allocations: 166.2 kB / 454 MB, free: 10.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.1581, allocations: 228.9 kB / 454.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.1581, allocations: 29.7 kB / 454.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1583, allocations: 180.2 kB / 454.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.1584, allocations: 149.8 kB / 454.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.1585, allocations: 49.69 kB / 454.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1586, allocations: 342.8 kB / 454.9 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1588, allocations: 93.09 kB / 455 MB, free: 9.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1591, allocations: 243.5 kB / 455.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.1596, allocations: 370.9 kB / 455.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1596, allocations: 0 / 455.6 MB, free: 8.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006968/0.1603, allocations: 417.9 kB / 456 MB, free: 8.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1603, allocations: 9.969 kB / 456 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1603, allocations: 8 kB / 456.1 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.1604, allocations: 8 kB / 456.1 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.1608, allocations: 115.8 kB / 456.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.1608, allocations: 11.98 kB / 456.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.161, allocations: 20 kB / 456.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.161, allocations: 20 kB / 456.2 MB, free: 8.305 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 62 * 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.0001654/0.1612, allocations: 165.7 kB / 456.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.1613, allocations: 31.62 kB / 456.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.1615, allocations: 123.5 kB / 456.5 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1616, allocations: 8.031 kB / 456.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.1616, allocations: 7.922 kB / 456.6 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.1616, allocations: 7.984 kB / 456.6 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.1631, allocations: 1.022 MB / 457.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1631, allocations: 8.031 kB / 457.6 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.1635, allocations: 95.89 kB / 457.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1636, allocations: 7.938 kB / 457.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.1636, allocations: 15.98 kB / 457.7 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.458e-06/0.1636, allocations: 7.938 kB / 457.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1636, allocations: 4 kB / 457.7 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008078/0.1644, allocations: 0.8219 MB / 458.5 MB, free: 5.844 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.1645, allocations: 112.8 kB / 458.6 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.1646, allocations: 8 kB / 458.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.1649, allocations: 15.91 kB / 458.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.1649, allocations: 35.84 kB / 458.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.165, allocations: 12 kB / 458.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1651, allocations: 164.5 kB / 458.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1651, allocations: 0 / 458.9 MB, free: 5.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005262/0.1657, allocations: 80 kB / 459 MB, free: 5.406 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 11 (mass5.s,mass5.v,heatCapacitor.T,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.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 (41): * Single equations (assignments): 41 * 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.0001558/0.1658, allocations: 111.2 kB / 459.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004422/0.1663, allocations: 280.5 kB / 459.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1663, allocations: 0 / 459.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.1665, allocations: 139.8 kB / 459.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.1674, allocations: 74.22 kB / 459.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.1696, allocations: 1.579 MB / 461.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.1701, allocations: 0.7806 MB / 461.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1702, allocations: 35.42 kB / 461.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1702, allocations: 3.938 kB / 461.9 MB, free: 2.312 MB / 334.1 MB Notification: Performance of Templates: time 0.00594/0.1761, allocations: 3.878 MB / 465.8 MB, free: 14.44 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.TestBraking.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 OMCppModelicaTest_3.2.3_ModelicaTest.Translational.TestBrakingCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Translational.TestBrakingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Translational.TestBrakingCalcHelperMain.o] Error 1