Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009481/0.0009479, allocations: 99.7 kB / 16.96 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.0009504/0.0009506, allocations: 183.8 kB / 17.84 MB, free: 5.613 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.533/1.533, allocations: 223.2 MB / 241.8 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 8.531 kB / 301.4 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 50.41 MB / 351.9 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.002943/0.1502, allocations: 2.34 MB / 354.2 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.1516, allocations: 0.7209 MB / 354.9 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1517, allocations: 4 kB / 354.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.152, allocations: 47.61 kB / 355 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.1523, allocations: 119.1 kB / 355.1 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.1525, allocations: 75.86 kB / 355.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.153, allocations: 393.6 kB / 355.5 MB, free: 312 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.1532, allocations: 78.17 kB / 355.6 MB, free: 228 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.1534, allocations: 139.5 kB / 355.8 MB, free: 88 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.1537, allocations: 159.3 kB / 355.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.588e-05/0.1538, allocations: 24 kB / 355.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.1538, allocations: 24 kB / 356 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.1539, allocations: 67.75 kB / 356 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.894e-05/0.154, allocations: 85.58 kB / 356.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1544, allocations: 319.4 kB / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.1544, allocations: 0 / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1544, allocations: 0 / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1544, allocations: 0 / 356.4 MB, free: 15.41 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001075/0.1555, allocations: 0.6326 MB / 357.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1555, allocations: 12.03 kB / 357.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.015e-05/0.1556, allocations: 39.53 kB / 357.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.156, allocations: 278.5 kB / 357.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.1561, allocations: 58.12 kB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.1562, allocations: 24 kB / 357.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005414/0.1567, allocations: 313.5 kB / 357.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1568, allocations: 7.953 kB / 357.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.1568, allocations: 12 kB / 357.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.1568, allocations: 4 kB / 357.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.1573, allocations: 209.6 kB / 358 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.1588, allocations: 0.8142 MB / 358.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/0.1594, allocations: 283 kB / 359.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.1596, allocations: 120.8 kB / 359.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.1597, allocations: 15.98 kB / 359.2 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1597, allocations: 50.44 kB / 359.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.1598, allocations: 0 / 359.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001039/0.1608, allocations: 495.2 kB / 359.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002054/0.161, allocations: 316.4 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.1613, allocations: 275 kB / 360.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.1614, allocations: 33.7 kB / 360.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.1616, allocations: 160.8 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.755e-05/0.1617, allocations: 114.4 kB / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.1617, allocations: 8 kB / 360.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.162, allocations: 338.8 kB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.1622, allocations: 95.95 kB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.1625, allocations: 216.2 kB / 361.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.1628, allocations: 147.8 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1628, allocations: 0 / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006627/0.1634, allocations: 369.9 kB / 361.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.1635, allocations: 29.8 kB / 361.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1635, allocations: 8 kB / 361.8 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.1636, allocations: 32.84 kB / 361.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000953/0.1646, allocations: 211.8 kB / 362 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.1682, allocations: 3.063 MB / 365.1 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.1685, allocations: 35.78 kB / 365.1 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.1686, allocations: 12 kB / 365.2 MB, free: 5.988 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.1688, allocations: 149.8 kB / 365.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.796e-05/0.1689, allocations: 39.58 kB / 365.3 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.867e-05/0.1689, allocations: 39.08 kB / 365.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1689, allocations: 4 kB / 365.4 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.169, allocations: 0 / 365.4 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007191/0.1697, allocations: 0.6628 MB / 366 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.1701, allocations: 381.2 kB / 366.4 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1701, allocations: 4 kB / 366.4 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.1714, allocations: 259.7 kB / 366.7 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.958e-05/0.1715, allocations: 20.94 kB / 366.7 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.1715, allocations: 11.98 kB / 366.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.1748, allocations: 2.906 MB / 369.6 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1748, allocations: 0 / 369.6 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.1757, allocations: 0.5198 MB / 370.1 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.1759, allocations: 140.8 kB / 370.3 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.1759, allocations: 8 kB / 370.3 MB, free: 396 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.1762, allocations: 27.92 kB / 370.3 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.1763, allocations: 23.95 kB / 370.3 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1763, allocations: 8 kB / 370.3 MB, free: 336 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003157/0.1766, allocations: 198 kB / 370.5 MB, free: 140 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1767, allocations: 3.938 kB / 370.5 MB, free: 136 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005614/0.1772, allocations: 103.9 kB / 370.6 MB, free: 32 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.2298/0.407, allocations: 103.5 kB / 370.7 MB, free: 24.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.4087, allocations: 0.5798 MB / 371.3 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4087, allocations: 0.5625 kB / 371.3 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.4102, allocations: 449.9 kB / 371.8 MB, free: 24.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.4108, allocations: 80.95 kB / 371.8 MB, free: 24.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.4126, allocations: 1.057 MB / 372.9 MB, free: 23.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.4129, allocations: 0.7823 MB / 373.7 MB, free: 23.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.413, allocations: 29.08 kB / 373.7 MB, free: 23.2 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.413, allocations: 0 / 373.7 MB, free: 23.2 MB / 302.1 MB Notification: Performance of Templates: time 0.01126/0.4242, allocations: 6.752 MB / 380.5 MB, free: 21.76 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.Thermal.FluidHeatFlow.Examples.TwoTanksCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanksCalcHelperMain.o] Error 1