Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 103 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.001579/0.00158, allocations: 173 kB / 16.58 MB, free: 6.402 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.506/1.506, allocations: 223.3 MB / 240.6 MB, free: 5.336 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.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 8 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2234, allocations: 83.41 MB / 0.598 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5753/0.7988, allocations: 122.6 MB / 0.7178 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000177/0.799, allocations: 51.98 kB / 0.7178 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.799, allocations: 0 / 0.7178 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.7992, allocations: 5.891 kB / 0.7178 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.387e-05/0.7993, allocations: 10.08 kB / 0.7178 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.8001, allocations: 189 kB / 0.718 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.8003, allocations: 51.02 kB / 0.718 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.8003, allocations: 6 kB / 0.7181 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.075e-05/0.8004, allocations: 10.38 kB / 0.7181 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.8005, allocations: 13.56 kB / 0.7181 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.8005, allocations: 1.562 kB / 0.7181 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.801, allocations: 163.7 kB / 0.7182 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.801, allocations: 5.594 kB / 0.7182 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.801, allocations: 27.86 kB / 0.7183 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.8013, allocations: 106.9 kB / 0.7184 GB, free: 8.051 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8013, allocations: 1.344 kB / 0.7184 GB, free: 8.051 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.836e-06/0.8013, allocations: 4 kB / 0.7184 GB, free: 8.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.8014, allocations: 0 / 0.7184 GB, free: 8.047 MB / 0.545 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.0004333/0.8018, allocations: 348.6 kB / 0.7187 GB, free: 7.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.8018, allocations: 8.75 kB / 0.7187 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.8019, allocations: 4.547 kB / 0.7187 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.802, allocations: 166.2 kB / 0.7189 GB, free: 7.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.385e-05/0.8021, allocations: 27.05 kB / 0.7189 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.8021, allocations: 3.719 kB / 0.7189 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.8023, allocations: 43.58 kB / 0.7189 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8023, allocations: 5.078 kB / 0.719 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.8023, allocations: 0 / 0.719 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.8023, allocations: 5.516 kB / 0.719 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.8024, allocations: 12.56 kB / 0.719 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.8033, allocations: 0.6087 MB / 0.7196 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.8033, allocations: 25.53 kB / 0.7196 GB, free: 6.711 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.8033, allocations: 6.562 kB / 0.7196 GB, free: 6.703 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.8036, allocations: 334 kB / 0.7199 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.8036, allocations: 32.5 kB / 0.7199 GB, free: 6.285 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.8036, allocations: 0 / 0.7199 GB, free: 6.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.8038, allocations: 42.22 kB / 0.72 GB, free: 6.246 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.8039, allocations: 57.03 kB / 0.72 GB, free: 6.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.804, allocations: 97.81 kB / 0.7201 GB, free: 6.082 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.804, allocations: 31.33 kB / 0.7202 GB, free: 6.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.804, allocations: 85.28 kB / 0.7202 GB, free: 5.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.8041, allocations: 9.828 kB / 0.7203 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.8041, allocations: 0 / 0.7203 GB, free: 5.953 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8042, allocations: 317.3 kB / 0.7206 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.423e-05/0.8042, allocations: 7.516 kB / 0.7206 GB, free: 5.633 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.8043, allocations: 20.14 kB / 0.7206 GB, free: 5.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.8043, allocations: 4.547 kB / 0.7206 GB, free: 5.613 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.8043, allocations: 0 / 0.7206 GB, free: 5.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.335e-05/0.8044, allocations: 49.12 kB / 0.7206 GB, free: 5.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.8044, allocations: 6.141 kB / 0.7206 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8044, allocations: 1.219 kB / 0.7206 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.8044, allocations: 0 / 0.7206 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.895e-05/0.8045, allocations: 6.406 kB / 0.7206 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8045, allocations: 5.156 kB / 0.7207 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.8045, allocations: 1.547 kB / 0.7207 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.8045, allocations: 5.031 kB / 0.7207 GB, free: 5.57 MB / 0.545 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 8.235e-05/0.8046, allocations: 117.2 kB / 0.7208 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.8047, allocations: 2.766 kB / 0.7208 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.8048, allocations: 118.4 kB / 0.7209 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-05/0.8049, allocations: 181.8 kB / 0.7211 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.009e-05/0.8049, allocations: 185.8 kB / 0.7212 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.029e-05/0.805, allocations: 178.2 kB / 0.7214 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.8053, allocations: 411.8 kB / 0.7218 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.773e-05/0.8053, allocations: 102.9 kB / 0.7219 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.8054, allocations: 106.2 kB / 0.722 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-05/0.8054, allocations: 185.8 kB / 0.7222 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/0.8055, allocations: 179.1 kB / 0.7223 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.62e-05/0.8056, allocations: 185.4 kB / 0.7225 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.244e-05/0.8056, allocations: 178.1 kB / 0.7227 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.8058, allocations: 317.9 kB / 0.723 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.8059, allocations: 182.8 kB / 0.7232 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/0.806, allocations: 182.7 kB / 0.7233 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.8061, allocations: 110.4 kB / 0.7234 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/0.8062, allocations: 178.6 kB / 0.7236 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.8063, allocations: 110.5 kB / 0.7237 GB, free: 2.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.687e-05/0.8064, allocations: 86.94 kB / 0.7238 GB, free: 2.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8064, allocations: 0 / 0.7238 GB, free: 2.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000328/0.8067, allocations: 51.25 kB / 0.7239 GB, free: 2.176 MB / 0.545 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.0004129/0.8071, allocations: 253 kB / 0.7241 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.61e-05/0.8072, allocations: 11.33 kB / 0.7241 GB, free: 1.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8072, allocations: 1.375 kB / 0.7241 GB, free: 1.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-06/0.8072, allocations: 3.938 kB / 0.7241 GB, free: 1.977 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.8077, allocations: 0.5266 MB / 0.7246 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.808, allocations: 215.2 kB / 0.7248 GB, free: 1.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.8082, allocations: 0.6776 MB / 0.7255 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.8083, allocations: 12.59 kB / 0.7255 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.8083, allocations: 1.188 kB / 0.7255 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of Templates: time 0.00346/0.8117, allocations: 1.266 MB / 0.7267 GB, free: 392 kB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversionCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversionCalcHelperMain.o] Error 1