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.001164/0.001164, allocations: 96.06 kB / 17.96 MB, free: 5.43 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.001231/0.001231, allocations: 176.3 kB / 18.86 MB, free: 4.641 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.915/1.915, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005314/0.0005314, allocations: 12 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1428, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004276/0.1471, allocations: 2.437 MB / 332 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.1498, allocations: 0.8033 MB / 332.8 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004605/0.1503, allocations: 8 kB / 332.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.1508, allocations: 55.61 kB / 332.9 MB, free: 456 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007034/0.1515, allocations: 119.1 kB / 333 MB, free: 336 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.1519, allocations: 75.92 kB / 333.1 MB, free: 260 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009279/0.1529, allocations: 414.4 kB / 333.5 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.1532, allocations: 91.36 kB / 333.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.1536, allocations: 143.4 kB / 333.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.154, allocations: 163.2 kB / 333.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.1541, allocations: 20 kB / 333.9 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1542, allocations: 24 kB / 333.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.322e-05/0.1543, allocations: 71.67 kB / 334 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.1547, allocations: 208.8 kB / 334.2 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.1552, allocations: 315.4 kB / 334.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1552, allocations: 0 / 334.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1552, allocations: 0 / 334.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.1552, allocations: 0 / 334.5 MB, free: 14.82 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.001395/0.1566, allocations: 0.6211 MB / 335.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.1567, allocations: 8.031 kB / 335.1 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.1569, allocations: 40.56 kB / 335.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000682/0.1576, allocations: 303.3 kB / 335.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.1578, allocations: 50.7 kB / 335.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.1578, allocations: 16.38 kB / 335.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.1586, allocations: 345.5 kB / 335.9 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.1586, allocations: 4 kB / 335.9 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.1586, allocations: 12 kB / 335.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1587, allocations: 4 kB / 335.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.1592, allocations: 205.6 kB / 336.1 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.1607, allocations: 0.8221 MB / 336.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.1613, allocations: 283 kB / 337.2 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.1616, allocations: 124.8 kB / 337.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.1616, allocations: 4 kB / 337.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1617, allocations: 38.56 kB / 337.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/0.1617, allocations: 0 / 337.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001278/0.163, allocations: 495.9 kB / 337.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002651/0.1632, allocations: 324.4 kB / 338.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.1636, allocations: 271 kB / 338.4 MB, free: 10.58 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.1637, allocations: 37.7 kB / 338.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1639, allocations: 172.6 kB / 338.6 MB, free: 10.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.164, allocations: 94.56 kB / 338.7 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.1641, allocations: 37.7 kB / 338.8 MB, free: 10.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.1644, allocations: 342.8 kB / 339.1 MB, free: 9.883 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.1646, allocations: 95.95 kB / 339.2 MB, free: 9.789 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.1651, allocations: 219.8 kB / 339.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.1657, allocations: 278.6 kB / 339.7 MB, free: 9.242 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1657, allocations: 0 / 339.7 MB, free: 9.242 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007/0.1664, allocations: 372.7 kB / 340 MB, free: 8.863 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.1665, allocations: 37.8 kB / 340.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1665, allocations: 0 / 340.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/0.1667, allocations: 36.84 kB / 340.1 MB, free: 8.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.1678, allocations: 207.8 kB / 340.3 MB, free: 8.578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.1717, allocations: 3.078 MB / 343.4 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.172, allocations: 31.88 kB / 343.4 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.1721, allocations: 12 kB / 343.4 MB, free: 5.195 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.0002323/0.1723, allocations: 153.8 kB / 343.6 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-05/0.1724, allocations: 39.56 kB / 343.6 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.679e-05/0.1725, allocations: 39.17 kB / 343.7 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1725, allocations: 11.92 kB / 343.7 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1725, allocations: 0 / 343.7 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007741/0.1733, allocations: 0.6582 MB / 344.3 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.1738, allocations: 389.1 kB / 344.7 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1738, allocations: 0 / 344.7 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/0.1752, allocations: 251.7 kB / 345 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.933e-05/0.1753, allocations: 28.81 kB / 345 MB, free: 3.473 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.1753, allocations: 11.94 kB / 345 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/0.1789, allocations: 2.906 MB / 347.9 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.1789, allocations: 3.938 kB / 347.9 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.1798, allocations: 0.5271 MB / 348.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.18, allocations: 132.8 kB / 348.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.18, allocations: 8 kB / 348.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.1803, allocations: 27.89 kB / 348.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.82e-05/0.1804, allocations: 19.97 kB / 348.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1804, allocations: 8 kB / 348.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002402/0.1807, allocations: 205.9 kB / 348.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.245e-06/0.1807, allocations: 0 / 348.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.1811, allocations: 103.9 kB / 348.9 MB, free: 15.22 MB / 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 (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.0001856/0.1813, allocations: 115.2 kB / 349 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.183, allocations: 0.5799 MB / 349.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.183, allocations: 0 / 349.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.1845, allocations: 446.9 kB / 350.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.1852, allocations: 80.39 kB / 350.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.1874, allocations: 1.087 MB / 351.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.1879, allocations: 0.78 MB / 352 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.188, allocations: 27.44 kB / 352 MB, free: 12.01 MB / 302.1 MB Notification: Performance of SimCode: time 6.82e-07/0.188, allocations: 0 / 352 MB, free: 12.01 MB / 302.1 MB Notification: Performance of Templates: time 0.01087/0.1989, allocations: 6.759 MB / 358.8 MB, free: 5.258 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