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.001818/0.001818, allocations: 102 kB / 16.52 MB, free: 6.676 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.00205/0.00205, allocations: 198.9 kB / 17.44 MB, free: 6.051 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.902/1.902, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2576/0.2576, allocations: 43.52 MB / 314.1 MB, free: 0.7461 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.001847/0.001847, allocations: 69.62 kB / 382.7 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1323, allocations: 57.78 MB / 440.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004152/0.1365, allocations: 2.823 MB / 443.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1384, allocations: 0.9901 MB / 444.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004237/0.1389, allocations: 8 kB / 444.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.1392, allocations: 35.69 kB / 444.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.1396, allocations: 91.25 kB / 444.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005764/0.1401, allocations: 131.7 kB / 444.5 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.1406, allocations: 366.2 kB / 444.9 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.1408, allocations: 81.89 kB / 445 MB, free: 3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.141, allocations: 123.5 kB / 445.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1412, allocations: 147.3 kB / 445.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.1412, allocations: 16 kB / 445.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1414, allocations: 35.92 kB / 445.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.1414, allocations: 59.75 kB / 445.3 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.1416, allocations: 155.2 kB / 445.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.1418, allocations: 271.3 kB / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1418, allocations: 0 / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1419, allocations: 0 / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.1419, allocations: 0 / 445.8 MB, free: 2.207 MB / 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.0009731/0.1429, allocations: 0.6121 MB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1429, allocations: 12.03 kB / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.1432, allocations: 56.45 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1434, allocations: 271.2 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1435, allocations: 21.03 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.1435, allocations: 40.22 kB / 446.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.1439, allocations: 302.7 kB / 447.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.144, allocations: 11.98 kB / 447.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.144, allocations: 16 kB / 447.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.144, allocations: 4 kB / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.1443, allocations: 195.8 kB / 447.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.1462, allocations: 1.296 MB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.1468, allocations: 332.8 kB / 448.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1469, allocations: 104.7 kB / 449 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.147, allocations: 11.98 kB / 449 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.147, allocations: 46.48 kB / 449.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.974e-06/0.147, allocations: 0 / 449.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002696/0.1497, allocations: 1.562 MB / 450.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.1498, allocations: 158.2 kB / 450.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.1501, allocations: 228.9 kB / 451 MB, free: 12.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.1501, allocations: 33.7 kB / 451 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1503, allocations: 184.1 kB / 451.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.1504, allocations: 141.9 kB / 451.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.1505, allocations: 94.16 kB / 451.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1507, allocations: 338.8 kB / 451.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.1509, allocations: 89.09 kB / 451.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.1512, allocations: 251.5 kB / 452.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.1517, allocations: 374.6 kB / 452.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.1517, allocations: 0 / 452.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0006493/0.1524, allocations: 417.5 kB / 452.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1524, allocations: 8 kB / 452.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1524, allocations: 4 kB / 452.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.1524, allocations: 8 kB / 452.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.1528, allocations: 119.8 kB / 453 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.1529, allocations: 11.98 kB / 453 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1531, allocations: 20.31 kB / 453 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.1531, allocations: 24 kB / 453.1 MB, free: 10.19 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.0001798/0.1533, allocations: 157.7 kB / 453.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.1534, allocations: 31.62 kB / 453.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.1537, allocations: 119.3 kB / 453.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.1537, allocations: 7.938 kB / 453.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.1537, allocations: 4 kB / 453.4 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.1537, allocations: 3.984 kB / 453.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.1553, allocations: 1.038 MB / 454.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.1553, allocations: 4 kB / 454.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.1558, allocations: 95.89 kB / 454.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.1558, allocations: 8.062 kB / 454.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.1558, allocations: 19.98 kB / 454.5 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.1559, allocations: 7.938 kB / 454.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1559, allocations: 4 kB / 454.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.1568, allocations: 0.8221 MB / 455.4 MB, free: 7.738 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1569, allocations: 104.8 kB / 455.5 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.1569, allocations: 16 kB / 455.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.1573, allocations: 8 kB / 455.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.1573, allocations: 35.84 kB / 455.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1574, allocations: 19.98 kB / 455.6 MB, free: 7.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.1575, allocations: 152.5 kB / 455.7 MB, free: 7.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.1575, allocations: 0 / 455.7 MB, free: 7.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006079/0.1581, allocations: 84 kB / 455.8 MB, free: 7.309 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.0001645/0.1583, allocations: 115.4 kB / 455.9 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.1589, allocations: 287.3 kB / 456.2 MB, free: 6.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1589, allocations: 3.938 kB / 456.2 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.1591, allocations: 123.8 kB / 456.3 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009801/0.1601, allocations: 74.25 kB / 456.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.1624, allocations: 1.394 MB / 457.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.1629, allocations: 0.7809 MB / 458.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1631, allocations: 35.44 kB / 458.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1631, allocations: 0 / 458.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of Templates: time 0.007802/0.1709, allocations: 3.94 MB / 462.5 MB, free: 488 kB / 334.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