Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 100.5 kB / 15.71 MB, free: 452 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.00142/0.00142, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.511/1.511, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.161/1.161, allocations: 143.4 MB / 435.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 8 kB / 0.5166 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2227, allocations: 83.41 MB / 0.5981 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004752/0.2275, allocations: 3.588 MB / 0.6016 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.2304, allocations: 2.256 MB / 0.6038 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2305, allocations: 4 kB / 0.6038 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.2308, allocations: 39.75 kB / 0.6038 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.2312, allocations: 83.47 kB / 0.6039 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.2326, allocations: 432.4 kB / 0.6043 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.233, allocations: 291.8 kB / 0.6046 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.35e-05/0.233, allocations: 13.55 kB / 0.6046 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.2333, allocations: 111.5 kB / 0.6047 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2334, allocations: 95.66 kB / 0.6048 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.2335, allocations: 8 kB / 0.6048 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007535/0.2342, allocations: 355.3 kB / 0.6051 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.2343, allocations: 39.88 kB / 0.6052 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.2344, allocations: 53.64 kB / 0.6052 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.2348, allocations: 251.7 kB / 0.6055 GB, free: 176 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2348, allocations: 3.938 kB / 0.6055 GB, free: 172 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2348, allocations: 4 kB / 0.6055 GB, free: 168 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2348, allocations: 0 / 0.6055 GB, free: 168 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.4334/0.6682, allocations: 473.1 kB / 0.6059 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.6683, allocations: 8.469 kB / 0.6059 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.6702, allocations: 182.5 kB / 0.6061 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.6705, allocations: 216.1 kB / 0.6063 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.6705, allocations: 14.89 kB / 0.6063 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.6706, allocations: 14.03 kB / 0.6063 GB, free: 40.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.6711, allocations: 302.7 kB / 0.6066 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.6711, allocations: 1.516 kB / 0.6066 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.6712, allocations: 13.34 kB / 0.6066 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.6712, allocations: 3.594 kB / 0.6066 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005916/0.6718, allocations: 261.4 kB / 0.6069 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.6731, allocations: 1.388 MB / 0.6082 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/0.6737, allocations: 189.2 kB / 0.6084 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.6739, allocations: 80.73 kB / 0.6085 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.6739, allocations: 9.594 kB / 0.6085 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.674, allocations: 33.81 kB / 0.6085 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.374e-06/0.674, allocations: 0.6562 kB / 0.6085 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.000701/0.6747, allocations: 246.2 kB / 0.6088 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.6747, allocations: 60.25 kB / 0.6088 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.6749, allocations: 158.1 kB / 0.609 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.6749, allocations: 33.41 kB / 0.609 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.6749, allocations: 121.7 kB / 0.6091 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.675, allocations: 67.61 kB / 0.6092 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.675, allocations: 2.25 kB / 0.6092 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.6751, allocations: 328.9 kB / 0.6095 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.6753, allocations: 66.5 kB / 0.6096 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.6755, allocations: 139.6 kB / 0.6097 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.6757, allocations: 79.12 kB / 0.6098 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6757, allocations: 0 / 0.6098 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004936/0.6762, allocations: 260 kB / 0.61 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6762, allocations: 4.344 kB / 0.61 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6762, allocations: 2.906 kB / 0.61 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6763, allocations: 5.344 kB / 0.61 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.6766, allocations: 65.83 kB / 0.6101 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6766, allocations: 8.047 kB / 0.6101 GB, free: 38.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.6768, allocations: 29.41 kB / 0.6101 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.6769, allocations: 19.03 kB / 0.6102 GB, free: 38.61 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.0001058/0.677, allocations: 129.4 kB / 0.6103 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.677, allocations: 19.22 kB / 0.6103 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.6776, allocations: 231 kB / 0.6105 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6776, allocations: 2.938 kB / 0.6105 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6776, allocations: 0 / 0.6105 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6776, allocations: 0 / 0.6105 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.6779, allocations: 250.1 kB / 0.6108 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6779, allocations: 1.875 kB / 0.6108 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.6781, allocations: 43.25 kB / 0.6108 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.6781, allocations: 3.438 kB / 0.6108 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.6782, allocations: 3.062 kB / 0.6108 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6782, allocations: 0 / 0.6108 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6782, allocations: 0 / 0.6108 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.6787, allocations: 306.3 kB / 0.6111 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/0.6788, allocations: 107 kB / 0.6112 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.6788, allocations: 5.344 kB / 0.6112 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.6791, allocations: 19.55 kB / 0.6112 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.6791, allocations: 12.52 kB / 0.6112 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.6791, allocations: 12.19 kB / 0.6113 GB, free: 37.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.035e-05/0.6792, allocations: 116.7 kB / 0.6114 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6792, allocations: 0 / 0.6114 GB, free: 37.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003716/0.6796, allocations: 58.84 kB / 0.6114 GB, free: 37.9 MB / 0.4981 GB 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0002178/0.6798, allocations: 141.3 kB / 0.6116 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.6803, allocations: 186.7 kB / 0.6117 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6803, allocations: 0 / 0.6117 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.6805, allocations: 94.52 kB / 0.6118 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.681, allocations: 58 kB / 0.6119 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.6819, allocations: 0.517 MB / 0.6124 GB, free: 37.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.6821, allocations: 0.715 MB / 0.6131 GB, free: 36.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.6822, allocations: 28.62 kB / 0.6131 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.6822, allocations: 0 / 0.6131 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.004779/0.687, allocations: 2.95 MB / 0.616 GB, free: 36.59 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityPropertiesCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityPropertiesCalcHelperMain.o] Error 1