Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.m1_flow|hex.m2_flow|hex.sta_a1.X.1.|hex.sta_b1.X.1.|hex.sta_a2.X.1.|hex.sta_b2.X.1.|hex.dp1|hex.dp2|hex.mWat1_flow|hex.mWat2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.0008649, allocations: 102.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.0009198/0.0009199, allocations: 176.7 kB / 16.59 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.67/1.67, allocations: 223.3 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.998/2.998, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 8 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.023, allocations: 153.6 MB / 1.022 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2332/1.256, allocations: 195.2 MB / 1.212 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01193/1.268, allocations: 6.622 MB / 1.219 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001685/1.27, allocations: 39.69 kB / 1.219 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/1.272, allocations: 0.4928 MB / 1.219 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006335/1.278, allocations: 1.803 MB / 1.221 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003787/1.282, allocations: 0.8972 MB / 1.222 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005747/1.288, allocations: 3.206 MB / 1.225 GB, free: 360 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/1.29, allocations: 0.7921 MB / 1.226 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/1.294, allocations: 1.525 MB / 1.227 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002057/1.296, allocations: 0.8677 MB / 1.228 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/1.296, allocations: 44 kB / 1.228 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004179/1.301, allocations: 1.54 MB / 1.23 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005424/1.301, allocations: 342.8 kB / 1.23 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005768/1.302, allocations: 269 kB / 1.23 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/1.305, allocations: 1.719 MB / 1.232 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.305, allocations: 4 kB / 1.232 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.234e-06/1.305, allocations: 0 / 1.232 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.733e-05/1.305, allocations: 4 kB / 1.232 GB, free: 9.211 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00435/1.309, allocations: 1.61 MB / 1.234 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.309, allocations: 19.98 kB / 1.234 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/1.312, allocations: 0.5721 MB / 1.234 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/1.314, allocations: 0.9414 MB / 1.235 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005532/1.315, allocations: 189.9 kB / 1.235 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/1.315, allocations: 87.98 kB / 1.235 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/1.317, allocations: 1.264 MB / 1.237 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/1.317, allocations: 0 / 1.237 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/1.318, allocations: 35.98 kB / 1.237 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/1.318, allocations: 49.98 kB / 1.237 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00356/1.321, allocations: 1.604 MB / 1.238 GB, free: 2.73 MB / 0.9825 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.006788/1.328, allocations: 4.092 MB / 1.242 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/1.33, allocations: 1.049 MB / 1.243 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/1.332, allocations: 0.702 MB / 1.244 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.333, allocations: 0.6399 MB / 1.245 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/1.333, allocations: 39.22 kB / 1.245 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.354e-06/1.333, allocations: 0 / 1.245 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.004784/1.338, allocations: 1.918 MB / 1.246 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/1.338, allocations: 60.06 kB / 1.247 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/1.339, allocations: 0.8076 MB / 1.247 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/1.339, allocations: 45.7 kB / 1.247 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/1.34, allocations: 448.4 kB / 1.248 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/1.34, allocations: 260.1 kB / 1.248 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/1.34, allocations: 12 kB / 1.248 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.34, allocations: 338 kB / 1.248 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/1.342, allocations: 0.5602 MB / 1.249 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/1.343, allocations: 0.6863 MB / 1.25 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/1.344, allocations: 0.6099 MB / 1.25 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.344, allocations: 0 / 1.25 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003263/1.348, allocations: 1.407 MB / 1.252 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/1.348, allocations: 147.9 kB / 1.252 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.348, allocations: 0 / 1.252 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/1.348, allocations: 7.984 kB / 1.252 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.349, allocations: 279.6 kB / 1.252 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008216/1.35, allocations: 1.199 MB / 1.253 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/1.351, allocations: 191.4 kB / 1.253 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.942e-05/1.352, allocations: 31.98 kB / 1.253 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/1.352, allocations: 4 kB / 1.253 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002993/1.355, allocations: 1.301 MB / 1.255 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.355, allocations: 0 / 1.255 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.355, allocations: 4 kB / 1.255 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/1.356, allocations: 255.7 kB / 1.255 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/1.356, allocations: 4 kB / 1.255 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.357, allocations: 195.1 kB / 1.255 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/1.357, allocations: 31.97 kB / 1.255 GB, free: 0.8594 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001/1.358, allocations: 372.9 kB / 1.255 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/1.359, allocations: 102.8 kB / 1.256 GB, free: 392 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9974/2.356, allocations: 1.434 MB / 1.257 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/2.356, allocations: 11.25 kB / 1.257 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/2.356, allocations: 0.6562 kB / 1.257 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/2.356, allocations: 3.703 kB / 1.257 GB, free: 36.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007539/2.364, allocations: 2.914 MB / 1.26 GB, free: 36.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/2.364, allocations: 7 kB / 1.26 GB, free: 36.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/2.365, allocations: 251 kB / 1.26 GB, free: 36.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/2.365, allocations: 6.969 kB / 1.26 GB, free: 36.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/2.365, allocations: 22.47 kB / 1.26 GB, free: 36.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004641/2.366, allocations: 1.199 MB / 1.261 GB, free: 35.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/2.366, allocations: 4.531 kB / 1.261 GB, free: 35.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003965/2.37, allocations: 1.538 MB / 1.263 GB, free: 34.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006803/2.37, allocations: 307.9 kB / 1.263 GB, free: 34.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/2.37, allocations: 16.06 kB / 1.263 GB, free: 34.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/2.372, allocations: 168.6 kB / 1.263 GB, free: 34.67 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/2.372, allocations: 60.39 kB / 1.263 GB, free: 34.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.364e-05/2.372, allocations: 37.77 kB / 1.263 GB, free: 34.67 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001048/2.373, allocations: 0.5641 MB / 1.264 GB, free: 34.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/2.373, allocations: 0 / 1.264 GB, free: 34.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001826/2.375, allocations: 0.5385 MB / 1.264 GB, free: 34.53 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007054/2.376, allocations: 266.8 kB / 1.265 GB, free: 34.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006123/2.382, allocations: 2.124 MB / 1.267 GB, free: 34.26 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/2.382, allocations: 4.656 kB / 1.267 GB, free: 34.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/2.384, allocations: 0.7041 MB / 1.267 GB, free: 34.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/2.387, allocations: 0.5225 MB / 1.268 GB, free: 34.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/2.392, allocations: 2.529 MB / 1.27 GB, free: 33.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009288/2.393, allocations: 1.093 MB / 1.271 GB, free: 32.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/2.393, allocations: 103.4 kB / 1.272 GB, free: 32.32 MB / 0.9981 GB Notification: Performance of SimCode: time 1.563e-06/2.393, allocations: 0 / 1.272 GB, free: 32.32 MB / 0.9981 GB Notification: Performance of Templates: time 0.04867/2.442, allocations: 26.8 MB / 1.298 GB, free: 30.02 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectivenessCalcHelperMain.o] Error 1