Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 102.6 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.00146/0.001461, allocations: 171.8 kB / 16.58 MB, free: 6.398 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.529/1.529, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.069/1.069, allocations: 143.4 MB / 435.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005731/0.0005734, allocations: 8 kB / 0.5166 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2202, allocations: 83.41 MB / 0.598 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00552/0.2258, allocations: 3.566 MB / 0.6015 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002483/0.2261, allocations: 143.7 kB / 0.6017 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.2261, allocations: 0 / 0.6017 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.2263, allocations: 7.938 kB / 0.6017 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2264, allocations: 19.91 kB / 0.6017 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.2268, allocations: 47.86 kB / 0.6017 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.2269, allocations: 47.81 kB / 0.6018 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.227, allocations: 4 kB / 0.6018 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.2271, allocations: 19.92 kB / 0.6018 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.008e-05/0.2272, allocations: 19.97 kB / 0.6018 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2272, allocations: 0 / 0.6018 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.2274, allocations: 31.8 kB / 0.6019 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.2275, allocations: 7.984 kB / 0.6019 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.2275, allocations: 29.7 kB / 0.6019 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.2276, allocations: 31.97 kB / 0.6019 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2276, allocations: 0 / 0.6019 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2276, allocations: 0 / 0.6019 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2277, allocations: 0 / 0.6019 GB, free: 3.848 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005149/0.2282, allocations: 327.6 kB / 0.6022 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.2282, allocations: 12.03 kB / 0.6022 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.2283, allocations: 11.94 kB / 0.6023 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.2285, allocations: 159.1 kB / 0.6024 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.2285, allocations: 29.7 kB / 0.6024 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.2286, allocations: 0 / 0.6024 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.2287, allocations: 41.62 kB / 0.6025 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2287, allocations: 4 kB / 0.6025 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2287, allocations: 0 / 0.6025 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.2288, allocations: 8 kB / 0.6025 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.588e-05/0.2288, allocations: 19.94 kB / 0.6025 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.2294, allocations: 334.1 kB / 0.6028 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.2295, allocations: 14.58 kB / 0.6028 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.2295, allocations: 8.922 kB / 0.6028 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.2296, allocations: 89.03 kB / 0.6029 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.2296, allocations: 38.56 kB / 0.603 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.2297, allocations: 0 / 0.603 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000159/0.2298, allocations: 37.66 kB / 0.603 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.2299, allocations: 51.41 kB / 0.6031 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.23, allocations: 105.8 kB / 0.6032 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.23, allocations: 29.7 kB / 0.6032 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.2301, allocations: 87.98 kB / 0.6033 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-06/0.2301, allocations: 4.031 kB / 0.6033 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.2301, allocations: 7.938 kB / 0.6033 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2302, allocations: 318.8 kB / 0.6036 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.2303, allocations: 7.938 kB / 0.6036 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.2303, allocations: 17.66 kB / 0.6036 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.405e-05/0.2304, allocations: 8 kB / 0.6036 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2304, allocations: 0 / 0.6036 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.047e-05/0.2304, allocations: 45.69 kB / 0.6037 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2305, allocations: 8 kB / 0.6037 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2305, allocations: 3.938 kB / 0.6037 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2305, allocations: 3.953 kB / 0.6037 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.17e-05/0.2305, allocations: 11.98 kB / 0.6037 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2306, allocations: 0 / 0.6037 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.2306, allocations: 4 kB / 0.6037 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.2306, allocations: 0 / 0.6037 GB, free: 1.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 9.088e-05/0.2307, allocations: 109.8 kB / 0.6038 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.2307, allocations: 4.062 kB / 0.6038 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.2309, allocations: 121 kB / 0.6039 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-05/0.2309, allocations: 184.2 kB / 0.6041 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.671e-05/0.231, allocations: 180.2 kB / 0.6043 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.164e-05/0.2311, allocations: 180.2 kB / 0.6044 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.2314, allocations: 409.2 kB / 0.6048 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.468e-05/0.2314, allocations: 101 kB / 0.6049 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.2315, allocations: 112.9 kB / 0.605 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.8e-05/0.2316, allocations: 176.3 kB / 0.6052 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.4221/0.6537, allocations: 179.7 kB / 0.6054 GB, free: 41.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.528e-05/0.6538, allocations: 180.1 kB / 0.6055 GB, free: 41.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-05/0.6538, allocations: 185.1 kB / 0.6057 GB, free: 41.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.6539, allocations: 310.8 kB / 0.606 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.654, allocations: 184 kB / 0.6062 GB, free: 41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.654, allocations: 179.2 kB / 0.6064 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.6542, allocations: 112.5 kB / 0.6065 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.6543, allocations: 179.3 kB / 0.6066 GB, free: 40.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.6543, allocations: 107.5 kB / 0.6067 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.133e-05/0.6544, allocations: 87.92 kB / 0.6068 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6544, allocations: 0 / 0.6068 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003373/0.6547, allocations: 15.59 kB / 0.6068 GB, free: 40.36 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 (0): * Single equations (assignments): 0 * 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.0001937/0.6549, allocations: 189.5 kB / 0.607 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.194e-05/0.655, allocations: 11.56 kB / 0.607 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.655, allocations: 0 / 0.607 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.655, allocations: 1.344 kB / 0.607 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.6554, allocations: 0.5297 MB / 0.6075 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.6557, allocations: 216.2 kB / 0.6077 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.6559, allocations: 0.6767 MB / 0.6084 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.6559, allocations: 9.984 kB / 0.6084 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.6559, allocations: 0 / 0.6084 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.00227/0.6582, allocations: 0.7094 MB / 0.6091 GB, free: 38.77 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversionCalcHelperMain.o] Error 1