Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 98.48 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 185.7 kB / 16.92 MB, free: 6.75 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.387/1.387, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 266.4 kB / 292.3 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9245/0.9245, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.000435, allocations: 19.67 kB / 0.5993 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1765, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005066/0.1816, allocations: 4.193 MB / 0.6899 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1826, allocations: 0.8188 MB / 0.6907 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.1827, allocations: 0 / 0.6907 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.1829, allocations: 27.84 kB / 0.6907 GB, free: 10 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.316e-05/0.183, allocations: 24.52 kB / 0.6907 GB, free: 9.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.1835, allocations: 151 kB / 0.6909 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1837, allocations: 163.4 kB / 0.691 GB, free: 9.676 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1838, allocations: 19.55 kB / 0.691 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.184, allocations: 71.75 kB / 0.6911 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1842, allocations: 79.67 kB / 0.6912 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1842, allocations: 7.938 kB / 0.6912 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.1845, allocations: 136.5 kB / 0.6913 GB, free: 9.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.1846, allocations: 23.91 kB / 0.6913 GB, free: 9.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.1847, allocations: 95.06 kB / 0.6914 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1849, allocations: 159.9 kB / 0.6916 GB, free: 9.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1849, allocations: 0 / 0.6916 GB, free: 9.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1849, allocations: 0 / 0.6916 GB, free: 9.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1849, allocations: 2.938 kB / 0.6916 GB, free: 9.094 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007899/0.1857, allocations: 472.6 kB / 0.692 GB, free: 8.586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1858, allocations: 8.031 kB / 0.692 GB, free: 8.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.1858, allocations: 17.38 kB / 0.6921 GB, free: 8.562 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.186, allocations: 188.1 kB / 0.6922 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.186, allocations: 8.906 kB / 0.6923 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.1861, allocations: 13.44 kB / 0.6923 GB, free: 8.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.1864, allocations: 133.1 kB / 0.6924 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1864, allocations: 0 / 0.6924 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1864, allocations: 0 / 0.6924 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1864, allocations: 0 / 0.6924 GB, free: 8.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.1869, allocations: 167.8 kB / 0.6926 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009591/0.1878, allocations: 480.3 kB / 0.693 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.1882, allocations: 138.5 kB / 0.6931 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.1884, allocations: 80.81 kB / 0.6932 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.1897, allocations: 0.9606 MB / 0.6942 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1897, allocations: 42.5 kB / 0.6942 GB, free: 6.129 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1897, allocations: 4 kB / 0.6942 GB, free: 6.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006849/0.1904, allocations: 241.3 kB / 0.6944 GB, free: 5.883 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.1904, allocations: 51.41 kB / 0.6945 GB, free: 5.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1906, allocations: 172.8 kB / 0.6946 GB, free: 5.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1906, allocations: 25.7 kB / 0.6947 GB, free: 5.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.1907, allocations: 104.4 kB / 0.6948 GB, free: 5.508 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.1907, allocations: 47.39 kB / 0.6948 GB, free: 5.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.1908, allocations: 29.7 kB / 0.6948 GB, free: 5.426 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1909, allocations: 318.8 kB / 0.6951 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.1911, allocations: 95.88 kB / 0.6952 GB, free: 5.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.1914, allocations: 117.3 kB / 0.6953 GB, free: 4.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.1918, allocations: 197.6 kB / 0.6955 GB, free: 4.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.1919, allocations: 0 / 0.6955 GB, free: 4.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005749/0.1924, allocations: 265.1 kB / 0.6958 GB, free: 4.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1925, allocations: 8 kB / 0.6958 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1925, allocations: 0 / 0.6958 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1925, allocations: 3.938 kB / 0.6958 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.1928, allocations: 67.98 kB / 0.6959 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1928, allocations: 0 / 0.6959 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.193, allocations: 31.83 kB / 0.6959 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.193, allocations: 12 kB / 0.6959 GB, free: 4.297 MB / 494.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 (26): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.1931, allocations: 130.4 kB / 0.696 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.1931, allocations: 19.81 kB / 0.6961 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004949/0.1936, allocations: 199.2 kB / 0.6962 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1936, allocations: 3.984 kB / 0.6962 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1937, allocations: 0 / 0.6962 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1937, allocations: 0 / 0.6962 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.1939, allocations: 221.4 kB / 0.6965 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1939, allocations: 0 / 0.6965 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1941, allocations: 39.91 kB / 0.6965 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1941, allocations: 7.938 kB / 0.6965 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1941, allocations: 7.938 kB / 0.6965 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1941, allocations: 0 / 0.6965 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1941, allocations: 0 / 0.6965 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004707/0.1946, allocations: 271.3 kB / 0.6968 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1947, allocations: 100.9 kB / 0.6969 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1947, allocations: 7.938 kB / 0.6969 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1948, allocations: 23.97 kB / 0.6969 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.1949, allocations: 7.984 kB / 0.6969 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.1949, allocations: 8 kB / 0.6969 GB, free: 3.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.896e-05/0.195, allocations: 115.5 kB / 0.697 GB, free: 3.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.195, allocations: 0 / 0.697 GB, free: 3.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.1953, allocations: 60.31 kB / 0.6971 GB, free: 3.008 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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.0002609/0.1956, allocations: 155.1 kB / 0.6972 GB, free: 2.844 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.1961, allocations: 196.6 kB / 0.6974 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1961, allocations: 0 / 0.6974 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.1963, allocations: 88.06 kB / 0.6975 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.1967, allocations: 16.75 kB / 0.6975 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.1971, allocations: 323.8 kB / 0.6978 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1974, allocations: 0.7048 MB / 0.6985 GB, free: 1.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.1975, allocations: 15.44 kB / 0.6985 GB, free: 1.461 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1975, allocations: 0 / 0.6985 GB, free: 1.461 MB / 494.1 MB Notification: Performance of Templates: time 0.004648/0.2021, allocations: 2.55 MB / 0.701 GB, free: 14.93 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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 OMCppBuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinderCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinderCalcHelperMain.o] Error 1