Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 99.59 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.001308/0.001308, allocations: 173.4 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.534/1.534, 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.151/1.151, allocations: 143.4 MB / 435.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 11.98 kB / 0.5166 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2184, allocations: 83.41 MB / 0.5981 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003846/0.2223, allocations: 2.894 MB / 0.6009 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 9.861e-05/0.2225, allocations: 39.91 kB / 0.6009 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.2225, allocations: 4 kB / 0.6009 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.603e-05/0.2226, allocations: 0 / 0.6009 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/0.2227, allocations: 11.91 kB / 0.6009 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.2232, allocations: 143.4 kB / 0.6011 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.289e-05/0.2233, allocations: 51.81 kB / 0.6011 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.2233, allocations: 0 / 0.6011 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.724e-05/0.2234, allocations: 8 kB / 0.6011 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.224e-05/0.2234, allocations: 19.91 kB / 0.6012 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.2235, allocations: 0 / 0.6012 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.2237, allocations: 95.75 kB / 0.6012 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.536e-05/0.2238, allocations: 3.984 kB / 0.6012 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.2238, allocations: 29.7 kB / 0.6013 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.224, allocations: 60.14 kB / 0.6013 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.224, allocations: 0 / 0.6013 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.224, allocations: 0 / 0.6013 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.224, allocations: 4 kB / 0.6013 GB, free: 4.426 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.0004136/0.2244, allocations: 347.2 kB / 0.6017 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2245, allocations: 8.031 kB / 0.6017 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.2245, allocations: 11.86 kB / 0.6017 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.2247, allocations: 167 kB / 0.6018 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.2247, allocations: 25.7 kB / 0.6019 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.2248, allocations: 3.984 kB / 0.6019 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.2249, allocations: 41.69 kB / 0.6019 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2249, allocations: 4 kB / 0.6019 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2249, allocations: 0 / 0.6019 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.225, allocations: 3.984 kB / 0.6019 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.536e-05/0.225, allocations: 15.94 kB / 0.6019 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.2258, allocations: 0.5873 MB / 0.6025 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.199e-05/0.2259, allocations: 18.52 kB / 0.6025 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.2259, allocations: 4.859 kB / 0.6025 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.2262, allocations: 344.5 kB / 0.6029 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.2262, allocations: 30.56 kB / 0.6029 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.2262, allocations: 4 kB / 0.6029 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000201/0.2264, allocations: 41.64 kB / 0.6029 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.2265, allocations: 55.34 kB / 0.603 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/0.2266, allocations: 101.8 kB / 0.6031 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2266, allocations: 25.7 kB / 0.6031 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.2267, allocations: 92.05 kB / 0.6032 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.2267, allocations: 3.906 kB / 0.6032 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.2267, allocations: 0 / 0.6032 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2269, allocations: 315 kB / 0.6035 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.2269, allocations: 4 kB / 0.6035 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.227, allocations: 21.7 kB / 0.6035 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.227, allocations: 4 kB / 0.6035 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.227, allocations: 3.938 kB / 0.6035 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.088e-05/0.2271, allocations: 49.62 kB / 0.6036 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.2271, allocations: 5.938 kB / 0.6036 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2271, allocations: 8 kB / 0.6036 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2272, allocations: 3.953 kB / 0.6036 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-05/0.2272, allocations: 4 kB / 0.6036 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2272, allocations: 0 / 0.6036 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.2273, allocations: 7.938 kB / 0.6036 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2273, allocations: 0 / 0.6036 GB, free: 1.723 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 0.0001089/0.2274, allocations: 109.8 kB / 0.6037 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.2274, allocations: 4 kB / 0.6037 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.2276, allocations: 124.9 kB / 0.6038 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-05/0.2277, allocations: 176.3 kB / 0.604 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.886e-05/0.2278, allocations: 192.1 kB / 0.6042 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-05/0.2279, allocations: 180.2 kB / 0.6044 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.2282, allocations: 405.2 kB / 0.6047 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.091e-05/0.2282, allocations: 108.9 kB / 0.6049 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.2283, allocations: 105.1 kB / 0.605 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.107e-05/0.2284, allocations: 184.2 kB / 0.6051 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.4186/0.647, allocations: 179.2 kB / 0.6053 GB, free: 41.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-05/0.6471, allocations: 177.2 kB / 0.6055 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.43e-05/0.6471, allocations: 183.5 kB / 0.6056 GB, free: 40.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.6473, allocations: 314.8 kB / 0.6059 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.6474, allocations: 183.4 kB / 0.6061 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.6474, allocations: 183.3 kB / 0.6063 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.6476, allocations: 105.7 kB / 0.6064 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.6477, allocations: 178.7 kB / 0.6066 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.6477, allocations: 108 kB / 0.6067 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.905e-05/0.6478, allocations: 87.09 kB / 0.6067 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6478, allocations: 1.969 kB / 0.6068 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004021/0.6482, allocations: 34.67 kB / 0.6068 GB, free: 39.72 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.0004008/0.6486, allocations: 229.3 kB / 0.607 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.6487, allocations: 9.547 kB / 0.607 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6488, allocations: 0.625 kB / 0.607 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.6488, allocations: 7.875 kB / 0.607 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.6493, allocations: 0.5275 MB / 0.6075 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.6496, allocations: 217.8 kB / 0.6077 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.6498, allocations: 0.6762 MB / 0.6084 GB, free: 38.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.6498, allocations: 7.438 kB / 0.6084 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.6498, allocations: 0 / 0.6084 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.00336/0.6532, allocations: 1.218 MB / 0.6096 GB, free: 38.03 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.o] Error 1