Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_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|mass5.s|mass5.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008569/0.0008568, allocations: 90.22 kB / 17.63 MB, free: 6.16 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.001115/0.001116, allocations: 182 kB / 18.52 MB, free: 5.32 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.464/1.464, allocations: 223.2 MB / 242.5 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.228/0.228, allocations: 44.22 MB / 337.9 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 8 kB / 410.2 MB, free: 27.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1644, allocations: 61.93 MB / 472.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00301/0.1674, allocations: 2.348 MB / 474.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1689, allocations: 0.9003 MB / 475.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1691, allocations: 7.938 kB / 475.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.1693, allocations: 39.7 kB / 475.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.1694, allocations: 95.22 kB / 475.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1698, allocations: 115.7 kB / 475.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003791/0.1702, allocations: 350.3 kB / 476 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.1704, allocations: 77.5 kB / 476.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1707, allocations: 123.5 kB / 476.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.1709, allocations: 131.4 kB / 476.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.171, allocations: 16 kB / 476.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1711, allocations: 31.98 kB / 476.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.1711, allocations: 43.83 kB / 476.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.1712, allocations: 85.52 kB / 476.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1715, allocations: 271.5 kB / 476.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1715, allocations: 0 / 476.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1715, allocations: 0 / 476.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1715, allocations: 4 kB / 476.8 MB, free: 9.145 MB / 350.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.0009164/0.1725, allocations: 0.5768 MB / 477.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1725, allocations: 8.031 kB / 477.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.1727, allocations: 47.61 kB / 477.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1731, allocations: 258.5 kB / 477.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1731, allocations: 24.66 kB / 477.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.1732, allocations: 31.95 kB / 477.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.1737, allocations: 298.7 kB / 478 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.1737, allocations: 11.91 kB / 478 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.1737, allocations: 8 kB / 478 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.1737, allocations: 8 kB / 478 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.1741, allocations: 196.4 kB / 478.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.1759, allocations: 1.293 MB / 479.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/0.1765, allocations: 337.3 kB / 479.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.1766, allocations: 112.2 kB / 480 MB, free: 5.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.1767, allocations: 4 kB / 480 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.1767, allocations: 38.56 kB / 480 MB, free: 5.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.413e-06/0.1767, allocations: 0 / 480 MB, free: 5.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002542/0.1793, allocations: 1.571 MB / 481.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.1794, allocations: 174.1 kB / 481.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1797, allocations: 217 kB / 482 MB, free: 3.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1797, allocations: 29.7 kB / 482 MB, free: 3.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1798, allocations: 184.1 kB / 482.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.18, allocations: 153.8 kB / 482.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.18, allocations: 12 kB / 482.3 MB, free: 3.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1802, allocations: 334.8 kB / 482.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.1803, allocations: 97.08 kB / 482.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.1807, allocations: 240.2 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.1809, allocations: 132.1 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1809, allocations: 0 / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006272/0.1815, allocations: 412.9 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.1816, allocations: 18.39 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1816, allocations: 4 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.1816, allocations: 12.38 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.1821, allocations: 115.8 kB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.1821, allocations: 7.984 kB / 483.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.1822, allocations: 19.91 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.1823, allocations: 24 kB / 483.7 MB, free: 1.59 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.1825, allocations: 158.2 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.1826, allocations: 27.72 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.1828, allocations: 123.3 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1828, allocations: 8 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1828, allocations: 4 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1829, allocations: 3.984 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.1843, allocations: 1.026 MB / 485.1 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.1843, allocations: 7.984 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004633/0.1848, allocations: 91.91 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.1848, allocations: 4 kB / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.1848, allocations: 28.3 kB / 485.2 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.1848, allocations: 12.12 kB / 485.2 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1849, allocations: 4 kB / 485.2 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.1857, allocations: 0.8267 MB / 486 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.1858, allocations: 104.7 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.1859, allocations: 12 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.1861, allocations: 16 kB / 486.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.1862, allocations: 35.86 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1862, allocations: 11.98 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.1864, allocations: 156.5 kB / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1864, allocations: 0 / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.1869, allocations: 84 kB / 486.4 MB, free: 14.7 MB / 366.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 (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.0001276/0.187, allocations: 115.2 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.1875, allocations: 267.8 kB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1875, allocations: 0 / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.1877, allocations: 137 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008343/0.1885, allocations: 67.66 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1905, allocations: 1.538 MB / 488.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.191, allocations: 0.7884 MB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.1911, allocations: 31.44 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1911, allocations: 0 / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Templates: time 0.006633/0.1978, allocations: 3.871 MB / 493.2 MB, free: 7.797 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.TestBraking.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 OMCppModelicaTest_4.0.0_ModelicaTest.Translational.TestBrakingCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Translational.TestBrakingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Translational.TestBrakingCalcHelperMain.o] Error 1