Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008438/0.0008439, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009049/0.0009047, allocations: 176 kB / 16.58 MB, free: 6.863 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.505/1.505, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.135/1.135, allocations: 143.4 MB / 435.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003467, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 83.41 MB / 0.598 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.005789/0.2276, allocations: 4.206 MB / 0.6022 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.2306, allocations: 2.486 MB / 0.6046 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.2308, allocations: 3.938 kB / 0.6046 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.2311, allocations: 35.78 kB / 0.6046 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.2315, allocations: 87.5 kB / 0.6047 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.2329, allocations: 413.6 kB / 0.6051 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.2332, allocations: 263.9 kB / 0.6053 GB, free: 316 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.56e-05/0.2333, allocations: 17.55 kB / 0.6054 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.2336, allocations: 107.6 kB / 0.6055 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.2338, allocations: 95.64 kB / 0.6056 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.2338, allocations: 8 kB / 0.6056 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4242/0.6581, allocations: 255.7 kB / 0.6058 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.6583, allocations: 39.73 kB / 0.6058 GB, free: 35.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.6584, allocations: 53.17 kB / 0.6059 GB, free: 35.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.6589, allocations: 222.3 kB / 0.6061 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6589, allocations: 0 / 0.6061 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6589, allocations: 0.6562 kB / 0.6061 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.6589, allocations: 0 / 0.6061 GB, free: 35.95 MB / 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.000683/0.6596, allocations: 478.1 kB / 0.6066 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.6597, allocations: 8.562 kB / 0.6066 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.6598, allocations: 25.53 kB / 0.6066 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.66, allocations: 212.5 kB / 0.6068 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.6601, allocations: 11.81 kB / 0.6068 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.6601, allocations: 19.56 kB / 0.6068 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.6604, allocations: 236.8 kB / 0.6071 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6605, allocations: 1.562 kB / 0.6071 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.6605, allocations: 8.812 kB / 0.6071 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.6605, allocations: 5.688 kB / 0.6071 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.661, allocations: 434.6 kB / 0.6075 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.6619, allocations: 0.958 MB / 0.6084 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.6621, allocations: 155.4 kB / 0.6086 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.6622, allocations: 63.59 kB / 0.6086 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009955/0.6632, allocations: 1.829 MB / 0.6104 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.6633, allocations: 35.66 kB / 0.6105 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.6633, allocations: 0 / 0.6105 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000312/0.6636, allocations: 152.3 kB / 0.6106 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.6636, allocations: 51.41 kB / 0.6106 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.6638, allocations: 176 kB / 0.6108 GB, free: 32.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.6638, allocations: 28.27 kB / 0.6108 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.6639, allocations: 148.4 kB / 0.611 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.6639, allocations: 44.78 kB / 0.611 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.6639, allocations: 6.812 kB / 0.611 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.664, allocations: 322.1 kB / 0.6113 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.6641, allocations: 37.08 kB / 0.6114 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.6642, allocations: 143.6 kB / 0.6115 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.587e-05/0.6643, allocations: 55.28 kB / 0.6116 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6643, allocations: 4.469 kB / 0.6116 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00028/0.6646, allocations: 216.3 kB / 0.6118 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.6646, allocations: 13.11 kB / 0.6118 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.6646, allocations: 3 kB / 0.6118 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.6647, allocations: 7.125 kB / 0.6118 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.6648, allocations: 50.58 kB / 0.6118 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.6649, allocations: 11.02 kB / 0.6119 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.665, allocations: 30.81 kB / 0.6119 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.665, allocations: 13 kB / 0.6119 GB, free: 31.58 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * 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 9.187e-05/0.6651, allocations: 136.2 kB / 0.612 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.6651, allocations: 16.62 kB / 0.612 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.6654, allocations: 153.5 kB / 0.6122 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.6654, allocations: 2.625 kB / 0.6122 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6655, allocations: 0 / 0.6122 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.6655, allocations: 3.953 kB / 0.6122 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.6657, allocations: 216.2 kB / 0.6124 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6657, allocations: 2.625 kB / 0.6124 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.6658, allocations: 34.56 kB / 0.6124 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6658, allocations: 0 / 0.6124 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.6658, allocations: 3.188 kB / 0.6124 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6658, allocations: 0 / 0.6124 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6658, allocations: 0 / 0.6124 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.666, allocations: 233.5 kB / 0.6127 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.6661, allocations: 113.5 kB / 0.6128 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.6661, allocations: 7.156 kB / 0.6128 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.6663, allocations: 22.31 kB / 0.6128 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.6663, allocations: 12.73 kB / 0.6128 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.6664, allocations: 9.672 kB / 0.6128 GB, free: 30.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.623e-05/0.6664, allocations: 119.7 kB / 0.6129 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6665, allocations: 0 / 0.6129 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003844/0.6668, allocations: 76.33 kB / 0.613 GB, free: 30.88 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 (15): * Single equations (assignments): 14 * 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.0002552/0.6671, allocations: 170.2 kB / 0.6132 GB, free: 30.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.6673, allocations: 120.2 kB / 0.6133 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6673, allocations: 6.969 kB / 0.6133 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.496e-05/0.6674, allocations: 40.06 kB / 0.6133 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.6679, allocations: 53.14 kB / 0.6134 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.6685, allocations: 453.8 kB / 0.6138 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.6687, allocations: 0.7114 MB / 0.6145 GB, free: 29.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.6687, allocations: 32.33 kB / 0.6145 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.6687, allocations: 2.969 kB / 0.6145 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.005032/0.6738, allocations: 3.219 MB / 0.6177 GB, free: 29.49 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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.Examples.WaterPropertiesCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterPropertiesCalcHelperMain.o] Error 1