Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.LinearColdWater,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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008983/0.0008983, allocations: 96 kB / 17.63 MB, free: 5.711 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.001125/0.001125, allocations: 179.5 kB / 18.52 MB, free: 5.164 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.486/1.486, allocations: 223.2 MB / 242.5 MB, free: 356 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2492/0.2492, allocations: 44.21 MB / 337.8 MB, free: 2.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003444, allocations: 11.98 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 61.93 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005617/0.1574, allocations: 4.026 MB / 476.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.1627, allocations: 3.706 MB / 479.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.163, allocations: 4 kB / 479.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.1634, allocations: 39.8 kB / 480 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.1656, allocations: 0.5711 MB / 480.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.166, allocations: 127.5 kB / 480.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008648/0.1668, allocations: 390.1 kB / 481 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.1669, allocations: 13.69 kB / 481 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.1672, allocations: 143.4 kB / 481.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004572/0.1677, allocations: 155.4 kB / 481.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.1678, allocations: 4 kB / 481.3 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.1689, allocations: 323.5 kB / 481.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.1691, allocations: 43.81 kB / 481.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1692, allocations: 65.64 kB / 481.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006773/0.1699, allocations: 287.6 kB / 482 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.1699, allocations: 0 / 482 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1699, allocations: 0 / 482 MB, free: 3.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.1699, allocations: 0 / 482 MB, free: 3.844 MB / 350.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.001241/0.1711, allocations: 0.5577 MB / 482.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1712, allocations: 8.031 kB / 482.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.1713, allocations: 23.81 kB / 482.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.1716, allocations: 230.7 kB / 482.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.1718, allocations: 127.3 kB / 483 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.1718, allocations: 24 kB / 483 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.1723, allocations: 319.6 kB / 483.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1723, allocations: 0 / 483.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.1724, allocations: 12 kB / 483.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.1724, allocations: 8 kB / 483.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009095/0.1733, allocations: 0.7468 MB / 484.1 MB, free: 1.66 MB / 350.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.001438/0.1748, allocations: 1.3 MB / 485.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.1751, allocations: 159.8 kB / 485.5 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.1754, allocations: 85.42 kB / 485.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003188/0.1786, allocations: 2.81 MB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1786, allocations: 30.56 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.1786, allocations: 0 / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003853/0.179, allocations: 113.4 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.1791, allocations: 55.41 kB / 488.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1793, allocations: 223.8 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1794, allocations: 33.64 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1795, allocations: 222.6 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.1796, allocations: 47.39 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-05/0.1796, allocations: 4 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.1798, allocations: 326.8 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.18, allocations: 44.84 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.1804, allocations: 343.2 kB / 489.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1806, allocations: 103.8 kB / 489.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1806, allocations: 4 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006513/0.1812, allocations: 385.2 kB / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.1813, allocations: 8 kB / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.1813, allocations: 12 kB / 490.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.1813, allocations: 16 kB / 490.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.1816, allocations: 103.7 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/0.1816, allocations: 24.48 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.1819, allocations: 63.42 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.1819, allocations: 28 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.1821, allocations: 154.1 kB / 490.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.1822, allocations: 19.81 kB / 490.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.1825, allocations: 140.5 kB / 490.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.1825, allocations: 0 / 490.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.1825, allocations: 3.953 kB / 490.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1825, allocations: 3.984 kB / 490.9 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.183, allocations: 408.8 kB / 491.3 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.183, allocations: 0 / 491.3 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.1831, allocations: 12 kB / 491.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1831, allocations: 3.953 kB / 491.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1831, allocations: 4 kB / 491.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1831, allocations: 3.984 kB / 491.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1832, allocations: 4 kB / 491.3 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.1834, allocations: 209.8 kB / 491.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.1835, allocations: 108.8 kB / 491.6 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.1835, allocations: 7.953 kB / 491.6 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1836, allocations: 4 kB / 491.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.1837, allocations: 7.984 kB / 491.7 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1837, allocations: 8 kB / 491.7 MB, free: 9.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.1839, allocations: 156.5 kB / 491.8 MB, free: 8.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1839, allocations: 0 / 491.8 MB, free: 8.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005332/0.1844, allocations: 87.94 kB / 491.9 MB, free: 8.848 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004126/0.1848, allocations: 151.2 kB / 492 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.1852, allocations: 164.5 kB / 492.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1852, allocations: 1.875 kB / 492.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.1853, allocations: 27.92 kB / 492.2 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.1857, allocations: 40.73 kB / 492.3 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1869, allocations: 0.659 MB / 492.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1872, allocations: 0.7248 MB / 493.7 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.1873, allocations: 31.38 kB / 493.7 MB, free: 6.973 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1873, allocations: 0 / 493.7 MB, free: 6.973 MB / 366.1 MB Notification: Performance of Templates: time 0.006298/0.1936, allocations: 3.22 MB / 496.9 MB, free: 3.762 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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 OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWaterCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWaterCalcHelperMain.o] Error 1