Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001114, allocations: 100.5 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.001432/0.001432, allocations: 178.8 kB / 16.58 MB, free: 6.879 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.485/1.485, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.093/1.093, allocations: 143.4 MB / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.201, allocations: 83.42 MB / 0.598 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.5788/0.7798, allocations: 122.7 MB / 0.7179 GB, free: 8.258 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.7911, allocations: 7.47 MB / 0.7252 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.7912, allocations: 1.219 kB / 0.7252 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.7914, allocations: 22.25 kB / 0.7252 GB, free: 3.148 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.725e-05/0.7915, allocations: 17.52 kB / 0.7252 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006176/0.7977, allocations: 1.122 MB / 0.7263 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.7979, allocations: 66.45 kB / 0.7264 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.7979, allocations: 4.297 kB / 0.7264 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.7981, allocations: 47.06 kB / 0.7264 GB, free: 2.629 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.7982, allocations: 30.62 kB / 0.7265 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.7982, allocations: 3.438 kB / 0.7265 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006874/0.8051, allocations: 2.511 MB / 0.7289 GB, free: 2.062 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.8052, allocations: 19.5 kB / 0.7289 GB, free: 2.051 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.8053, allocations: 36.2 kB / 0.729 GB, free: 2.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.8075, allocations: 0.9068 MB / 0.7299 GB, free: 1.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.8075, allocations: 7.984 kB / 0.7299 GB, free: 1.879 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8075, allocations: 0 / 0.7299 GB, free: 1.879 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.8075, allocations: 0 / 0.7299 GB, free: 1.879 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001404/0.8089, allocations: 489.6 kB / 0.7303 GB, free: 1.461 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.809, allocations: 9.625 kB / 0.7303 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003769/0.8094, allocations: 22.92 kB / 0.7304 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.8095, allocations: 174.2 kB / 0.7305 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.8096, allocations: 34.39 kB / 0.7306 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.8096, allocations: 7.656 kB / 0.7306 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.81, allocations: 115.8 kB / 0.7307 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.8101, allocations: 0 / 0.7307 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.8101, allocations: 5.031 kB / 0.7307 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.8101, allocations: 1.625 kB / 0.7307 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.8104, allocations: 113.6 kB / 0.7308 GB, free: 1.137 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.8111, allocations: 389 kB / 0.7312 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.8113, allocations: 128.3 kB / 0.7313 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.637e-05/0.8114, allocations: 50.58 kB / 0.7313 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/0.8237, allocations: 4.255 MB / 0.7355 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.248e-05/0.8238, allocations: 35.95 kB / 0.7355 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 4.659e-06/0.8238, allocations: 0 / 0.7355 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0006756/0.8245, allocations: 171.4 kB / 0.7357 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.8246, allocations: 56.78 kB / 0.7357 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.8247, allocations: 97.98 kB / 0.7358 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.8247, allocations: 31.06 kB / 0.7359 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.8248, allocations: 81.52 kB / 0.7359 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.8248, allocations: 48.94 kB / 0.736 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.8248, allocations: 0 / 0.736 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.825, allocations: 316.2 kB / 0.7363 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.8251, allocations: 25.73 kB / 0.7363 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/0.8251, allocations: 28.73 kB / 0.7363 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/0.8252, allocations: 35.12 kB / 0.7364 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8252, allocations: 0 / 0.7364 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001922/0.8254, allocations: 109.5 kB / 0.7365 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.8254, allocations: 5.5 kB / 0.7365 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8255, allocations: 0 / 0.7365 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/0.8255, allocations: 1.375 kB / 0.7365 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.8256, allocations: 24.94 kB / 0.7365 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8256, allocations: 1.375 kB / 0.7365 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.8257, allocations: 1.375 kB / 0.7365 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.8257, allocations: 11.86 kB / 0.7365 GB, free: 13.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0002182/0.8259, allocations: 120.5 kB / 0.7366 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.826, allocations: 8.031 kB / 0.7367 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/0.8265, allocations: 363.3 kB / 0.737 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.8265, allocations: 10.75 kB / 0.737 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.8265, allocations: 3.953 kB / 0.737 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.8266, allocations: 5.359 kB / 0.737 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.8269, allocations: 286.4 kB / 0.7373 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.8269, allocations: 0 / 0.7373 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.827, allocations: 25.8 kB / 0.7373 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.827, allocations: 0 / 0.7373 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.827, allocations: 5.375 kB / 0.7373 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.827, allocations: 1.375 kB / 0.7373 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.827, allocations: 0 / 0.7373 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.8274, allocations: 325.3 kB / 0.7376 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.8275, allocations: 107.3 kB / 0.7377 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.8275, allocations: 3.5 kB / 0.7377 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.8277, allocations: 16.02 kB / 0.7378 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.8277, allocations: 7.891 kB / 0.7378 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.8277, allocations: 7.734 kB / 0.7378 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.8278, allocations: 82.44 kB / 0.7378 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8278, allocations: 0 / 0.7378 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002142/0.8299, allocations: 304 kB / 0.7381 GB, free: 11.97 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001353/0.8313, allocations: 414.4 kB / 0.7385 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.8315, allocations: 117.1 kB / 0.7386 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8315, allocations: 0 / 0.7386 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.8317, allocations: 115.9 kB / 0.7388 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.832, allocations: 16.67 kB / 0.7388 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.8326, allocations: 421.1 kB / 0.7392 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.833, allocations: 0.7169 MB / 0.7399 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.833, allocations: 27.36 kB / 0.7399 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.833, allocations: 0 / 0.7399 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.01244/0.8455, allocations: 6.762 MB / 0.7465 GB, free: 3.375 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.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.SteamSaturationConsistencyCheckCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheckCalcHelperMain.o] Error 1