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.0008379/0.000838, allocations: 98.78 kB / 16.33 MB, free: 5.953 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.0008632/0.0008633, allocations: 186.6 kB / 17.22 MB, free: 5.883 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.716/1.716, allocations: 205.4 MB / 223.4 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3913/0.3913, allocations: 43.54 MB / 315.2 MB, free: 8.84 MB / 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.0005325/0.0005325, allocations: 19.98 kB / 384.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1473, allocations: 58.85 MB / 443.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.00316/0.1505, allocations: 2.348 MB / 445.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1521, allocations: 0.9323 MB / 446.7 MB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.1523, allocations: 11.94 kB / 446.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.1524, allocations: 39.69 kB / 446.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.1526, allocations: 87.25 kB / 446.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.153, allocations: 119.7 kB / 446.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.1534, allocations: 354.2 kB / 447.3 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1536, allocations: 81.58 kB / 447.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1537, allocations: 119.5 kB / 447.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1539, allocations: 135.4 kB / 447.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.154, allocations: 16 kB / 447.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1541, allocations: 31.98 kB / 447.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.464e-05/0.1541, allocations: 43.83 kB / 447.7 MB, free: 8.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.065e-05/0.1542, allocations: 85.52 kB / 447.8 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.1545, allocations: 271.5 kB / 448 MB, free: 8.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.1545, allocations: 3.938 kB / 448 MB, free: 8.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1545, allocations: 0 / 448 MB, free: 8.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1546, allocations: 0 / 448 MB, free: 8.41 MB / 382.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.0009273/0.1555, allocations: 0.5691 MB / 448.6 MB, free: 7.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1555, allocations: 12.02 kB / 448.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.1558, allocations: 51.61 kB / 448.7 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.1561, allocations: 258.5 kB / 448.9 MB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.1561, allocations: 28.64 kB / 449 MB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-05/0.1562, allocations: 31.91 kB / 449 MB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.1567, allocations: 290.7 kB / 449.3 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.1567, allocations: 15.94 kB / 449.3 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.1568, allocations: 15.95 kB / 449.3 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1568, allocations: 7.984 kB / 449.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.1571, allocations: 200.4 kB / 449.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.1589, allocations: 1.277 MB / 450.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.1594, allocations: 345.1 kB / 451.1 MB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.1596, allocations: 112.2 kB / 451.2 MB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1596, allocations: 4.328 kB / 451.2 MB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.1596, allocations: 42.5 kB / 451.3 MB, free: 4.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=36): time 1.483e-06/0.1597, allocations: 0 / 451.3 MB, free: 4.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002326/0.162, allocations: 1.566 MB / 452.8 MB, free: 3.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/0.1621, allocations: 170.1 kB / 453 MB, free: 2.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.1623, allocations: 217 kB / 453.2 MB, free: 2.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.1623, allocations: 33.7 kB / 453.3 MB, free: 2.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.1625, allocations: 180.2 kB / 453.4 MB, free: 2.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.1626, allocations: 153.8 kB / 453.6 MB, free: 2.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.1626, allocations: 12 kB / 453.6 MB, free: 2.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1628, allocations: 342.8 kB / 453.9 MB, free: 1.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1629, allocations: 93.08 kB / 454 MB, free: 1.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.1632, allocations: 236.2 kB / 454.2 MB, free: 1.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.1634, allocations: 132.2 kB / 454.4 MB, free: 1.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1634, allocations: 0 / 454.4 MB, free: 1.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006074/0.164, allocations: 404.7 kB / 454.8 MB, free: 1.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.1641, allocations: 11.98 kB / 454.8 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.1641, allocations: 4.422 kB / 454.8 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.1641, allocations: 11.94 kB / 454.8 MB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.1645, allocations: 115.8 kB / 454.9 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.1645, allocations: 16.33 kB / 454.9 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.1647, allocations: 23.91 kB / 455 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.1647, allocations: 23.98 kB / 455 MB, free: 0.8516 MB / 382.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.0001515/0.1649, allocations: 162.7 kB / 455.1 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.165, allocations: 27.72 kB / 455.2 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.1653, allocations: 127.2 kB / 455.3 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1653, allocations: 4 kB / 455.3 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1653, allocations: 4 kB / 455.3 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.1653, allocations: 7.953 kB / 455.3 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.279/0.4443, allocations: 1.022 MB / 456.3 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.4443, allocations: 6.125 kB / 456.3 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/0.4447, allocations: 95.3 kB / 456.4 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.4448, allocations: 5.75 kB / 456.4 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.4448, allocations: 11.59 kB / 456.4 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/0.4448, allocations: 10.5 kB / 456.4 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4448, allocations: 6.781 kB / 456.5 MB, free: 45.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.4455, allocations: 0.8254 MB / 457.3 MB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.4456, allocations: 109.9 kB / 457.4 MB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.4457, allocations: 20.12 kB / 457.4 MB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.4459, allocations: 8.188 kB / 457.4 MB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.446, allocations: 29.55 kB / 457.4 MB, free: 44.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.446, allocations: 14.66 kB / 457.5 MB, free: 44.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.4462, allocations: 154 kB / 457.6 MB, free: 44.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.4462, allocations: 1.5 kB / 457.6 MB, free: 44.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006766/0.4469, allocations: 88.34 kB / 457.7 MB, free: 44.66 MB / 382.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.0001742/0.447, allocations: 114 kB / 457.8 MB, free: 44.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.4476, allocations: 279.5 kB / 458.1 MB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4476, allocations: 0 / 458.1 MB, free: 44.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.4478, allocations: 135.8 kB / 458.2 MB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009359/0.4487, allocations: 67.67 kB / 458.3 MB, free: 44.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.4505, allocations: 1.54 MB / 459.8 MB, free: 43.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.4508, allocations: 0.79 MB / 460.6 MB, free: 42.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.4509, allocations: 30.84 kB / 460.6 MB, free: 42.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4509, allocations: 0 / 460.6 MB, free: 42.86 MB / 382.1 MB Notification: Performance of Templates: time 0.005622/0.4565, allocations: 3.862 MB / 464.5 MB, free: 42.56 MB / 382.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++ 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_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