Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001055, allocations: 88.08 kB / 16.66 MB, free: 6.594 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.001253/0.001253, allocations: 181.5 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.2759/0.2759, allocations: 43.6 MB / 315.6 MB, free: 416 kB / 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.0007459/0.0007459, allocations: 12.47 kB / 385.2 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1333, allocations: 58.87 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005846/0.1393, allocations: 4.598 MB / 448.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005676/0.145, allocations: 4.513 MB / 453.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.1453, allocations: 4 kB / 453.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.1457, allocations: 43.78 kB / 453.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.1482, allocations: 0.6023 MB / 453.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.1487, allocations: 148.3 kB / 454 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007729/0.1495, allocations: 454 kB / 454.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.1496, allocations: 17.66 kB / 454.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.1499, allocations: 147.4 kB / 454.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000317/0.1503, allocations: 127.5 kB / 454.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.1503, allocations: 4 kB / 454.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.1515, allocations: 367.4 kB / 455.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.1516, allocations: 39.88 kB / 455.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002097/0.1518, allocations: 129.2 kB / 455.3 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007062/0.1525, allocations: 295.6 kB / 455.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-05/0.1526, allocations: 4 kB / 455.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1526, allocations: 0 / 455.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.1526, allocations: 0 / 455.5 MB, free: 9.641 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001211/0.1538, allocations: 0.5229 MB / 456.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1539, allocations: 12.03 kB / 456.1 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.1541, allocations: 28.66 kB / 456.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.1544, allocations: 224.1 kB / 456.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.1545, allocations: 127.9 kB / 456.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.1546, allocations: 24.36 kB / 456.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005474/0.1551, allocations: 323.6 kB / 456.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1552, allocations: 4 kB / 456.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.1552, allocations: 8 kB / 456.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.1552, allocations: 11.98 kB / 456.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008463/0.1561, allocations: 0.7391 MB / 457.6 MB, free: 7.492 MB / 334.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.001502/0.1576, allocations: 1.253 MB / 458.8 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.158, allocations: 150.6 kB / 459 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.1581, allocations: 84.5 kB / 459 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002439/0.1606, allocations: 2.647 MB / 461.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1606, allocations: 38.56 kB / 461.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.1606, allocations: 0 / 461.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006816/0.1613, allocations: 228.5 kB / 461.9 MB, free: 2.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1613, allocations: 59.28 kB / 462 MB, free: 2.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.1616, allocations: 215 kB / 462.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1616, allocations: 29.7 kB / 462.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1618, allocations: 206.8 kB / 462.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.1618, allocations: 55.28 kB / 462.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1619, allocations: 41.69 kB / 462.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.162, allocations: 326.8 kB / 462.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.747e-05/0.1621, allocations: 48.84 kB / 462.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.1625, allocations: 322.1 kB / 463.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.1629, allocations: 425.1 kB / 463.6 MB, free: 456 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.163, allocations: 4 kB / 463.6 MB, free: 452 kB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005923/0.1636, allocations: 373.5 kB / 464 MB, free: 72 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.1636, allocations: 11.94 kB / 464 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.1636, allocations: 12 kB / 464 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/0.1637, allocations: 12 kB / 464 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.164, allocations: 111.8 kB / 464.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.164, allocations: 19.92 kB / 464.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.1643, allocations: 20.34 kB / 464.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.1643, allocations: 35.98 kB / 464.2 MB, free: 15.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001509/0.1645, allocations: 145.6 kB / 464.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.1646, allocations: 19.81 kB / 464.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.1649, allocations: 162.8 kB / 464.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.1649, allocations: 3.938 kB / 464.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1649, allocations: 0 / 464.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.165, allocations: 4 kB / 464.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.1655, allocations: 427.3 kB / 465 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1656, allocations: 32 / 465 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1657, allocations: 43.86 kB / 465 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1657, allocations: 0 / 465 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1658, allocations: 4 kB / 465 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1658, allocations: 3.984 kB / 465 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1658, allocations: 4.062 kB / 465 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.166, allocations: 211.7 kB / 465.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1662, allocations: 124.7 kB / 465.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1662, allocations: 0 / 465.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.1664, allocations: 8 kB / 465.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.1664, allocations: 11.81 kB / 465.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1665, allocations: 15.98 kB / 465.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1666, allocations: 144.5 kB / 465.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1666, allocations: 0 / 465.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.1671, allocations: 99.92 kB / 465.6 MB, free: 14.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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.0003566/0.1675, allocations: 175.2 kB / 465.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.1678, allocations: 174 kB / 466 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1678, allocations: 4.062 kB / 466 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.961e-05/0.1679, allocations: 39.92 kB / 466 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.1684, allocations: 54.53 kB / 466.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1695, allocations: 0.6302 MB / 466.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.17, allocations: 0.7365 MB / 467.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.313e-05/0.1701, allocations: 31.38 kB / 467.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1701, allocations: 0 / 467.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of Templates: time 0.007972/0.1781, allocations: 3.422 MB / 470.9 MB, free: 9.016 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.Media.TestAllProperties.ConstantPropertyLiquidWaterCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWaterCalcHelperMain.o] Error 1