Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008839/0.0008843, allocations: 90.78 kB / 16.33 MB, free: 6.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008831/0.0008832, allocations: 190.4 kB / 17.23 MB, free: 6.699 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.495/1.495, allocations: 223.2 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7208/0.7208, allocations: 114.4 MB / 406.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 8 kB / 494.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1891, allocations: 77.26 MB / 0.5583 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001262/0.1904, allocations: 0.9689 MB / 0.5592 GB, free: 10 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5578/0.7482, allocations: 124.9 MB / 0.6812 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.7483, allocations: 0 / 0.6812 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.7483, allocations: 0 / 0.6812 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.7484, allocations: 7.922 kB / 0.6813 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.7495, allocations: 350.1 kB / 0.6816 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.685e-05/0.7496, allocations: 43.83 kB / 0.6816 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.7497, allocations: 4 kB / 0.6816 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.7497, allocations: 23.92 kB / 0.6817 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.447e-05/0.7498, allocations: 19.97 kB / 0.6817 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.7498, allocations: 0 / 0.6817 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.7511, allocations: 0.7711 MB / 0.6824 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.7512, allocations: 8 kB / 0.6824 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.7512, allocations: 33.64 kB / 0.6825 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.7516, allocations: 290 kB / 0.6827 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.7516, allocations: 0 / 0.6827 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7516, allocations: 0 / 0.6827 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.7516, allocations: 0 / 0.6827 GB, free: 9.785 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004832/0.7521, allocations: 363.2 kB / 0.6831 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.7521, allocations: 12.02 kB / 0.6831 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.7523, allocations: 16.52 kB / 0.6831 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.7525, allocations: 163.1 kB / 0.6833 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.7525, allocations: 0 / 0.6833 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.7525, allocations: 11.94 kB / 0.6833 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.7527, allocations: 57.61 kB / 0.6833 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.7527, allocations: 0 / 0.6833 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.7527, allocations: 4 kB / 0.6833 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.7527, allocations: 8 kB / 0.6833 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.606e-05/0.7528, allocations: 19.91 kB / 0.6834 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.753, allocations: 161.7 kB / 0.6835 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.7531, allocations: 47.42 kB / 0.6836 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.7531, allocations: 21 kB / 0.6836 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009092/0.7622, allocations: 3.209 MB / 0.6867 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.7623, allocations: 39.19 kB / 0.6868 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 3.547e-06/0.7623, allocations: 0 / 0.6868 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.03283/0.7952, allocations: 14.25 MB / 0.7007 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.7953, allocations: 51.41 kB / 0.7007 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.7953, allocations: 93.86 kB / 0.7008 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.7954, allocations: 29.7 kB / 0.7008 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.7954, allocations: 80.14 kB / 0.7009 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.7955, allocations: 39.45 kB / 0.701 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.7955, allocations: 4.125 kB / 0.701 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7956, allocations: 318.8 kB / 0.7013 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.7957, allocations: 23.92 kB / 0.7013 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.7957, allocations: 23.98 kB / 0.7013 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.7958, allocations: 28 kB / 0.7013 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.7958, allocations: 0 / 0.7013 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001998/0.796, allocations: 109.5 kB / 0.7014 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.796, allocations: 7.938 kB / 0.7014 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.796, allocations: 0 / 0.7014 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.7961, allocations: 4 kB / 0.7015 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.7962, allocations: 31.94 kB / 0.7015 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.7962, allocations: 3.984 kB / 0.7015 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.7963, allocations: 0 / 0.7015 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.7963, allocations: 4.078 kB / 0.7015 GB, free: 6.137 MB / 0.5137 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 (14): * Single equations (assignments): 14 * 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.493e-05/0.7964, allocations: 117.8 kB / 0.7016 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.7964, allocations: 3.953 kB / 0.7016 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.7967, allocations: 129 kB / 0.7017 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.7967, allocations: 0.5 kB / 0.7017 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.7967, allocations: 0 / 0.7017 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.7967, allocations: 4 kB / 0.7017 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.7969, allocations: 177.6 kB / 0.7019 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7969, allocations: 7.938 kB / 0.7019 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.797, allocations: 23.98 kB / 0.7019 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.7971, allocations: 7.953 kB / 0.7019 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7971, allocations: 4 kB / 0.7019 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.7971, allocations: 3.984 kB / 0.7019 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7971, allocations: 0 / 0.7019 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.7974, allocations: 153.8 kB / 0.7021 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.7975, allocations: 85.14 kB / 0.7022 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.7975, allocations: 7.953 kB / 0.7022 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.7976, allocations: 19.98 kB / 0.7022 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.7976, allocations: 11.92 kB / 0.7022 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.7977, allocations: 8 kB / 0.7022 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.7977, allocations: 79.22 kB / 0.7023 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7977, allocations: 0 / 0.7023 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001815/0.7995, allocations: 0.5663 MB / 0.7029 GB, free: 4.645 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.002617/0.8022, allocations: 355.9 kB / 0.7032 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.8024, allocations: 67.91 kB / 0.7033 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8024, allocations: 4 kB / 0.7033 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.016e-05/0.8024, allocations: 39.92 kB / 0.7033 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.8026, allocations: 4 kB / 0.7033 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.8033, allocations: 441.5 kB / 0.7037 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.8036, allocations: 0.6848 MB / 0.7044 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.8036, allocations: 15.44 kB / 0.7044 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.8036, allocations: 0 / 0.7044 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of Templates: time 0.02684/0.8304, allocations: 14.32 MB / 0.7184 GB, free: 4.684 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.makefile make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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 OMCppIBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheckCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheckCalcHelperMain.o] Error 1