Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001658/0.001658, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.002265/0.002266, allocations: 190 kB / 18.72 MB, free: 4.781 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.851/1.851, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.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.001685/0.001685, allocations: 43.92 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1531, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.00613/0.1593, allocations: 2.803 MB / 330 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1617, allocations: 0.8578 MB / 330.9 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.1622, allocations: 0 / 330.9 MB, free: 1.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.1627, allocations: 63.59 kB / 331 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006337/0.1634, allocations: 119.1 kB / 331.1 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.1638, allocations: 83.84 kB / 331.2 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000809/0.1646, allocations: 406.4 kB / 331.6 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002474/0.1649, allocations: 95.36 kB / 331.6 MB, free: 472 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.1652, allocations: 147.4 kB / 331.8 MB, free: 324 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.1655, allocations: 171.2 kB / 332 MB, free: 152 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.1656, allocations: 24 kB / 332 MB, free: 128 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.722e-05/0.1656, allocations: 27.94 kB / 332 MB, free: 100 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.417e-05/0.1657, allocations: 63.73 kB / 332.1 MB, free: 36 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.166, allocations: 179.2 kB / 332.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.1664, allocations: 327.3 kB / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.1664, allocations: 4 kB / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1664, allocations: 0 / 332.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1665, allocations: 0 / 332.6 MB, free: 15.54 MB / 286.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.001248/0.1677, allocations: 0.6795 MB / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1678, allocations: 8.031 kB / 333.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1679, allocations: 44.47 kB / 333.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.1684, allocations: 307.4 kB / 333.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.1685, allocations: 46.7 kB / 333.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.1685, allocations: 20.38 kB / 333.7 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/0.1693, allocations: 325.5 kB / 334 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1693, allocations: 0 / 334 MB, free: 13.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.1694, allocations: 16 kB / 334 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1694, allocations: 4 kB / 334 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.1698, allocations: 201.6 kB / 334.2 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.1713, allocations: 0.8141 MB / 335 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.172, allocations: 267 kB / 335.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.1722, allocations: 120.8 kB / 335.4 MB, free: 12.51 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.1723, allocations: 8 kB / 335.4 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1723, allocations: 38.56 kB / 335.4 MB, free: 12.45 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.303e-06/0.1723, allocations: 0 / 335.4 MB, free: 12.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001136/0.1735, allocations: 487.9 kB / 335.9 MB, free: 11.95 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.1737, allocations: 316.4 kB / 336.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.174, allocations: 275 kB / 336.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.1741, allocations: 33.7 kB / 336.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.1742, allocations: 168.7 kB / 336.7 MB, free: 11.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.1743, allocations: 98.47 kB / 336.8 MB, free: 10.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.1745, allocations: 69.69 kB / 336.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1746, allocations: 342.8 kB / 337.2 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.1749, allocations: 91.95 kB / 337.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.1752, allocations: 219.7 kB / 337.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.1757, allocations: 270.6 kB / 337.8 MB, free: 9.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1757, allocations: 0 / 337.8 MB, free: 9.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006564/0.1763, allocations: 364.8 kB / 338.1 MB, free: 9.559 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/0.1764, allocations: 37.7 kB / 338.2 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1764, allocations: 0 / 338.2 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.1766, allocations: 36.84 kB / 338.2 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.1776, allocations: 160 kB / 338.3 MB, free: 9.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003916/0.1816, allocations: 3.011 MB / 341.4 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.1818, allocations: 31.97 kB / 341.4 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.1819, allocations: 12 kB / 341.4 MB, free: 6.004 MB / 286.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.1821, allocations: 149.8 kB / 341.5 MB, free: 5.848 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.1822, allocations: 43.56 kB / 341.6 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.878e-05/0.1823, allocations: 35.02 kB / 341.6 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1823, allocations: 4 kB / 341.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1823, allocations: 0 / 341.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007592/0.1831, allocations: 0.662 MB / 342.3 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.1836, allocations: 381.2 kB / 342.7 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1836, allocations: 0 / 342.7 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.1849, allocations: 207.8 kB / 342.9 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.609e-05/0.185, allocations: 24.8 kB / 342.9 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.185, allocations: 7.984 kB / 342.9 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003478/0.1885, allocations: 2.84 MB / 345.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1885, allocations: 0 / 345.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/0.1894, allocations: 0.5115 MB / 346.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.1896, allocations: 140.7 kB / 346.4 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.1897, allocations: 7.984 kB / 346.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.1899, allocations: 19.98 kB / 346.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.19, allocations: 19.97 kB / 346.4 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.1901, allocations: 12 kB / 346.4 MB, free: 496 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002484/0.1903, allocations: 201.9 kB / 346.6 MB, free: 292 kB / 286.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1903, allocations: 0 / 346.6 MB, free: 292 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.1908, allocations: 103.9 kB / 346.7 MB, free: 188 kB / 286.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002065/0.191, allocations: 107.2 kB / 346.8 MB, free: 68 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.1927, allocations: 0.5293 MB / 347.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1927, allocations: 0 / 347.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.1942, allocations: 402.8 kB / 347.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/0.1949, allocations: 87.77 kB / 347.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.197, allocations: 0.9929 MB / 348.8 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.1976, allocations: 0.7762 MB / 349.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.712e-05/0.1977, allocations: 27.44 kB / 349.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1977, allocations: 4 kB / 349.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01126/0.2089, allocations: 6.781 MB / 356.4 MB, free: 6.383 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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 OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanksCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanksCalcHelperMain.o] Error 1