Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 110.1 kB / 17.81 MB, free: 5.559 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.001408/0.001408, allocations: 197.9 kB / 18.73 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.85/1.85, 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.001383/0.001383, allocations: 47.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1564, allocations: 46.62 MB / 327.2 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.007381/0.1638, allocations: 2.897 MB / 330.1 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.1672, allocations: 1.166 MB / 331.3 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000513/0.1677, allocations: 7.938 kB / 331.3 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008063/0.1686, allocations: 167.4 kB / 331.5 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008711/0.1695, allocations: 187 kB / 331.6 MB, free: 476 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.1702, allocations: 131.8 kB / 331.8 MB, free: 344 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.1712, allocations: 426.1 kB / 332.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003071/0.1716, allocations: 99.64 kB / 332.3 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004927/0.1721, allocations: 171.3 kB / 332.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004865/0.1726, allocations: 203.1 kB / 332.7 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/0.1727, allocations: 20 kB / 332.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.173, allocations: 55.98 kB / 332.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.1731, allocations: 79.67 kB / 332.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.1735, allocations: 183 kB / 333 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006146/0.1741, allocations: 363.4 kB / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1741, allocations: 4 kB / 333.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.1741, allocations: 7.984 kB / 333.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.1741, allocations: 3.938 kB / 333.4 MB, free: 14.75 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001728/0.1759, allocations: 0.6929 MB / 334.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/0.176, allocations: 15.97 kB / 334.1 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.1762, allocations: 40.47 kB / 334.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008218/0.177, allocations: 338.6 kB / 334.4 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.177, allocations: 20.81 kB / 334.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.1771, allocations: 24.11 kB / 334.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.1779, allocations: 293.5 kB / 334.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1779, allocations: 0 / 334.8 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.178, allocations: 12 kB / 334.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.178, allocations: 4 kB / 334.8 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.1783, allocations: 149.6 kB / 334.9 MB, free: 13.05 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.1803, allocations: 0.8244 MB / 335.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.1807, allocations: 191.1 kB / 335.9 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.1809, allocations: 76.83 kB / 336 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.181, allocations: 11.92 kB / 336 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.1814, allocations: 135.1 kB / 336.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.674e-06/0.1814, allocations: 0 / 336.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.001055/0.1825, allocations: 406.9 kB / 336.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002863/0.1828, allocations: 320.2 kB / 336.9 MB, free: 10.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.1834, allocations: 437.6 kB / 337.3 MB, free: 10.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.1834, allocations: 33.7 kB / 337.3 MB, free: 10.44 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003872/0.1838, allocations: 192.3 kB / 337.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.184, allocations: 82.84 kB / 337.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.697e-05/0.1841, allocations: 57.7 kB / 337.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003214/0.1844, allocations: 354.8 kB / 338 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.1846, allocations: 63.97 kB / 338.1 MB, free: 9.688 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.1849, allocations: 172 kB / 338.2 MB, free: 9.477 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.1852, allocations: 179.2 kB / 338.4 MB, free: 9.289 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1852, allocations: 3.938 kB / 338.4 MB, free: 9.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005009/0.1857, allocations: 273.8 kB / 338.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.1858, allocations: 12.09 kB / 338.7 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1858, allocations: 0 / 338.7 MB, free: 8.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.186, allocations: 28.84 kB / 338.7 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1862, allocations: 55.91 kB / 338.8 MB, free: 8.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.1886, allocations: 1.452 MB / 340.2 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.1889, allocations: 27.69 kB / 340.3 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.1889, allocations: 16 kB / 340.3 MB, free: 7.273 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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.1892, allocations: 161.8 kB / 340.4 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-05/0.1892, allocations: 39.53 kB / 340.5 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.969e-05/0.1893, allocations: 43.67 kB / 340.5 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.1894, allocations: 11.94 kB / 340.5 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1894, allocations: 3.938 kB / 340.5 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006595/0.19, allocations: 0.5758 MB / 341.1 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.1912, allocations: 0.7039 MB / 341.8 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1912, allocations: 0 / 341.8 MB, free: 5.559 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1914, allocations: 51.91 kB / 341.9 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1914, allocations: 0 / 341.9 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1915, allocations: 12 kB / 341.9 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1915, allocations: 0 / 341.9 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1915, allocations: 0 / 341.9 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.1921, allocations: 398.8 kB / 342.3 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.1923, allocations: 140.5 kB / 342.4 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.1924, allocations: 4 kB / 342.4 MB, free: 4.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.1926, allocations: 15.98 kB / 342.4 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.1926, allocations: 12.05 kB / 342.4 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.1927, allocations: 12 kB / 342.4 MB, free: 4.891 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003654/0.193, allocations: 311.1 kB / 342.7 MB, free: 4.594 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1931, allocations: 0 / 342.7 MB, free: 4.594 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.1935, allocations: 91.84 kB / 342.8 MB, free: 4.504 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001196/0.1947, allocations: 417.8 kB / 343.2 MB, free: 4.102 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007272/0.1954, allocations: 302.6 kB / 343.5 MB, free: 3.793 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1955, allocations: 0 / 343.5 MB, free: 3.793 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.1957, allocations: 79.78 kB / 343.6 MB, free: 3.715 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/0.1965, allocations: 113.5 kB / 343.7 MB, free: 3.602 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.1982, allocations: 0.9436 MB / 344.7 MB, free: 2.625 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.1988, allocations: 0.7924 MB / 345.5 MB, free: 1.809 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.728e-05/0.1989, allocations: 35.44 kB / 345.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1989, allocations: 0 / 345.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of Templates: time 0.009995/0.2089, allocations: 5.805 MB / 351.3 MB, free: 11.96 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTankCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.o] Error 1