Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.000963/0.0009626, allocations: 101.4 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.001241/0.001241, allocations: 176.3 kB / 16.58 MB, free: 6.047 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.478/1.478, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7454/0.7454, allocations: 132.3 MB / 424 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 13.88 kB / 0.504 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5154, allocations: 81.58 MB / 0.5837 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004273/0.5197, allocations: 2.896 MB / 0.5865 GB, free: 2.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001305/0.5199, allocations: 53 kB / 0.5865 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.5199, allocations: 0 / 0.5865 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.52, allocations: 5.5 kB / 0.5866 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.5201, allocations: 13.8 kB / 0.5866 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.5207, allocations: 139.4 kB / 0.5867 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.5208, allocations: 46.73 kB / 0.5867 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.5208, allocations: 1.969 kB / 0.5867 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.5209, allocations: 11.97 kB / 0.5868 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.791e-05/0.521, allocations: 20.52 kB / 0.5868 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.521, allocations: 1.156 kB / 0.5868 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.5213, allocations: 91.52 kB / 0.5869 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.5213, allocations: 8.469 kB / 0.5869 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.5214, allocations: 29.17 kB / 0.5869 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.5216, allocations: 53.7 kB / 0.587 GB, free: 1.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5216, allocations: 4.688 kB / 0.587 GB, free: 1.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5216, allocations: 0 / 0.587 GB, free: 1.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.5216, allocations: 0.75 kB / 0.587 GB, free: 1.902 MB / 430.1 MB 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.000346/0.522, allocations: 342.7 kB / 0.5873 GB, free: 1.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.522, allocations: 9.281 kB / 0.5873 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.5221, allocations: 6.016 kB / 0.5873 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.862e-05/0.5222, allocations: 169.2 kB / 0.5875 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.5222, allocations: 32.42 kB / 0.5875 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.5223, allocations: 4.688 kB / 0.5875 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.5224, allocations: 41.22 kB / 0.5875 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5224, allocations: 0 / 0.5875 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5224, allocations: 0.625 kB / 0.5875 GB, free: 1.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.5225, allocations: 5.906 kB / 0.5875 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.5225, allocations: 16.39 kB / 0.5876 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.5231, allocations: 0.5763 MB / 0.5881 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.482e-05/0.5232, allocations: 25.39 kB / 0.5881 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.5232, allocations: 6.719 kB / 0.5882 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.5234, allocations: 342.3 kB / 0.5885 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.5234, allocations: 36.59 kB / 0.5885 GB, free: 140 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5234, allocations: 0 / 0.5885 GB, free: 140 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.5236, allocations: 41.66 kB / 0.5886 GB, free: 100 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.5236, allocations: 56.22 kB / 0.5886 GB, free: 32 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.5238, allocations: 106.6 kB / 0.5887 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.5238, allocations: 26.39 kB / 0.5887 GB, free: 15.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.5239, allocations: 85.67 kB / 0.5888 GB, free: 15.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/0.5239, allocations: 6.078 kB / 0.5888 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.5239, allocations: 0 / 0.5888 GB, free: 15.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.524, allocations: 316.7 kB / 0.5891 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.5241, allocations: 7.844 kB / 0.5891 GB, free: 15.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.5241, allocations: 19.19 kB / 0.5891 GB, free: 15.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.167e-05/0.5241, allocations: 3.547 kB / 0.5892 GB, free: 15.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5241, allocations: 0.625 kB / 0.5892 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.617e-05/0.5242, allocations: 49.78 kB / 0.5892 GB, free: 15.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5243, allocations: 5.5 kB / 0.5892 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.5243, allocations: 5.078 kB / 0.5892 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5243, allocations: 1.812 kB / 0.5892 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/0.5243, allocations: 6.047 kB / 0.5892 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.5244, allocations: 4.062 kB / 0.5892 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.5244, allocations: 2.172 kB / 0.5892 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.5244, allocations: 1.406 kB / 0.5892 GB, free: 15.42 MB / 446.1 MB 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 8.133e-05/0.5245, allocations: 114.9 kB / 0.5893 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.5245, allocations: 5.469 kB / 0.5893 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.5246, allocations: 125.8 kB / 0.5895 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.948e-05/0.5247, allocations: 185 kB / 0.5896 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.601e-05/0.5248, allocations: 186.1 kB / 0.5898 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/0.5249, allocations: 178.3 kB / 0.59 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.5251, allocations: 403.8 kB / 0.5904 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.189e-05/0.5251, allocations: 105.7 kB / 0.5905 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.5252, allocations: 103.5 kB / 0.5906 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.517e-05/0.5253, allocations: 185.9 kB / 0.5907 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-05/0.5253, allocations: 185.8 kB / 0.5909 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.498e-05/0.5254, allocations: 181.8 kB / 0.5911 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.246e-05/0.5255, allocations: 185.8 kB / 0.5913 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.5256, allocations: 310.8 kB / 0.5916 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.5257, allocations: 181.1 kB / 0.5917 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.5258, allocations: 186.3 kB / 0.5919 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.526, allocations: 108 kB / 0.592 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.5261, allocations: 182 kB / 0.5922 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.5261, allocations: 106.3 kB / 0.5923 GB, free: 12.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.514e-05/0.5262, allocations: 89.7 kB / 0.5924 GB, free: 12.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5262, allocations: 0.9062 kB / 0.5924 GB, free: 12.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.5265, allocations: 31.48 kB / 0.5924 GB, free: 12.02 MB / 446.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 (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.0003235/0.5268, allocations: 227.5 kB / 0.5926 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.889e-05/0.5269, allocations: 10.86 kB / 0.5926 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5269, allocations: 0.875 kB / 0.5926 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.5269, allocations: 3.938 kB / 0.5926 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.5274, allocations: 0.5228 MB / 0.5932 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.5277, allocations: 211.5 kB / 0.5934 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.528, allocations: 0.6786 MB / 0.594 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.528, allocations: 13.83 kB / 0.594 GB, free: 10.39 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.528, allocations: 0 / 0.594 GB, free: 10.39 MB / 446.1 MB Notification: Performance of Templates: time 0.0032/0.5312, allocations: 1.155 MB / 0.5952 GB, free: 10.22 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.o OMCppIDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversionCalcHelperMain.o] Error 1