Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") translateModel(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFra1.phi|masFra1.X.1.|masFra2.X.1.|masFra1.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008565/0.0008566, 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.000888/0.0008881, allocations: 177.9 kB / 16.58 MB, free: 6.109 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.418/1.418, allocations: 223.2 MB / 240.6 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 436.7 MB / 0.7113 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 8 kB / 0.8717 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7666, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.001978/0.7687, allocations: 1.336 MB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1637/0.9324, allocations: 137.7 MB / 1.157 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.9326, allocations: 4 kB / 1.157 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.9327, allocations: 11.86 kB / 1.157 GB, free: 5.672 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.933, allocations: 35.78 kB / 1.158 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.9333, allocations: 115.6 kB / 1.158 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.9335, allocations: 107.6 kB / 1.158 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.9336, allocations: 29.38 kB / 1.158 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.9339, allocations: 115.7 kB / 1.158 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.934, allocations: 39.83 kB / 1.158 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.934, allocations: 4 kB / 1.158 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.9344, allocations: 175.6 kB / 1.158 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.9344, allocations: 15.98 kB / 1.158 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.9345, allocations: 45.64 kB / 1.158 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.9347, allocations: 125.7 kB / 1.158 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.9347, allocations: 3.984 kB / 1.158 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9347, allocations: 0 / 1.158 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.9347, allocations: 0 / 1.158 GB, free: 4.871 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000568/0.9353, allocations: 442.8 kB / 1.159 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.9353, allocations: 15.98 kB / 1.159 GB, free: 4.375 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008277/0.9362, allocations: 79.72 kB / 1.159 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.9364, allocations: 208.5 kB / 1.159 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.9364, allocations: 8 kB / 1.159 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.9365, allocations: 4 kB / 1.159 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.9369, allocations: 151.9 kB / 1.159 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.9369, allocations: 0 / 1.159 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.9369, allocations: 7.984 kB / 1.159 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.9369, allocations: 4 kB / 1.159 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/0.9374, allocations: 163.8 kB / 1.159 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007049/0.9381, allocations: 420.3 kB / 1.16 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/0.9388, allocations: 263.7 kB / 1.16 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.9391, allocations: 84.8 kB / 1.16 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.9391, allocations: 0 / 1.16 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.9391, allocations: 38.5 kB / 1.16 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.9391, allocations: 0 / 1.16 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0008371/0.94, allocations: 253.3 kB / 1.16 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.94, allocations: 59.41 kB / 1.16 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.9402, allocations: 144.1 kB / 1.16 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.9402, allocations: 25.7 kB / 1.161 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.9403, allocations: 104.3 kB / 1.161 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.9403, allocations: 27.7 kB / 1.161 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.9403, allocations: 0 / 1.161 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.9405, allocations: 322.8 kB / 1.161 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.9407, allocations: 67.94 kB / 1.161 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.9409, allocations: 86.52 kB / 1.161 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.9411, allocations: 68.45 kB / 1.161 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9411, allocations: 0 / 1.161 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000456/0.9416, allocations: 189.4 kB / 1.161 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.9416, allocations: 7.984 kB / 1.161 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.9416, allocations: 0 / 1.161 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.9416, allocations: 0 / 1.161 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.9418, allocations: 31.97 kB / 1.161 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.9418, allocations: 4 kB / 1.161 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.942, allocations: 23.98 kB / 1.161 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.942, allocations: 7.984 kB / 1.161 GB, free: 1.387 MB / 0.9044 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 (8): * Single equations (assignments): 8 * 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.265e-05/0.9421, allocations: 113.8 kB / 1.162 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.9421, allocations: 15.77 kB / 1.162 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.378e-05/0.9422, allocations: 24.66 kB / 1.162 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9422, allocations: 0 / 1.162 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.9422, allocations: 0 / 1.162 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.9422, allocations: 3.984 kB / 1.162 GB, free: 1.219 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007771/0.943, allocations: 482.3 kB / 1.162 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.943, allocations: 0 / 1.162 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.9432, allocations: 43.95 kB / 1.162 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9432, allocations: 0 / 1.162 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.9432, allocations: 0 / 1.162 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9432, allocations: 0 / 1.162 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.9433, allocations: 4 kB / 1.162 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.9437, allocations: 287.2 kB / 1.162 GB, free: 356 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.9438, allocations: 92.92 kB / 1.162 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.9438, allocations: 0 / 1.162 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.944, allocations: 23.97 kB / 1.162 GB, free: 220 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.9441, allocations: 7.984 kB / 1.162 GB, free: 212 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.9441, allocations: 8 kB / 1.162 GB, free: 204 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.171e-05/0.9442, allocations: 113.9 kB / 1.163 GB, free: 92 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9442, allocations: 0 / 1.163 GB, free: 92 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002718/0.9444, allocations: 31.98 kB / 1.163 GB, free: 60 kB / 0.9044 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 (8): * Single equations (assignments): 8 * 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.0001883/0.9446, allocations: 107.2 kB / 1.163 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.9451, allocations: 147.8 kB / 1.163 GB, free: 15.8 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9451, allocations: 4 kB / 1.163 GB, free: 15.8 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.9453, allocations: 75.94 kB / 1.163 GB, free: 15.72 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.9457, allocations: 31.94 kB / 1.163 GB, free: 15.69 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/0.9463, allocations: 294.7 kB / 1.163 GB, free: 15.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.9466, allocations: 0.7004 MB / 1.164 GB, free: 14.65 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.9467, allocations: 19.42 kB / 1.164 GB, free: 14.63 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.9467, allocations: 0 / 1.164 GB, free: 14.63 MB / 0.92 GB Notification: Performance of Templates: time 0.003428/0.9501, allocations: 1.71 MB / 1.166 GB, free: 12.93 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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 OMCppBuildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphiCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphiCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphiCalcHelperMain.o] Error 1