Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000907/0.0009071, 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.001055/0.001055, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.602/1.602, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.942/2.942, allocations: 436.7 MB / 0.7113 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 12.22 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.007, allocations: 153.7 MB / 1.022 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1662/1.173, allocations: 135.1 MB / 1.154 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00142/1.174, allocations: 1.064 MB / 1.155 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/1.174, allocations: 0 / 1.155 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000262/1.175, allocations: 31.77 kB / 1.155 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006417/1.175, allocations: 195 kB / 1.155 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/1.176, allocations: 143.5 kB / 1.155 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004298/1.176, allocations: 215.3 kB / 1.155 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/1.176, allocations: 45.27 kB / 1.155 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.521e-05/1.176, allocations: 35.8 kB / 1.155 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/1.176, allocations: 47.78 kB / 1.155 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/1.176, allocations: 0 / 1.155 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/1.177, allocations: 291.4 kB / 1.156 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/1.177, allocations: 19.86 kB / 1.156 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/1.177, allocations: 45.64 kB / 1.156 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/1.177, allocations: 209.5 kB / 1.156 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/1.177, allocations: 0 / 1.156 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.054e-06/1.177, allocations: 0 / 1.156 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.177, allocations: 0 / 1.156 GB, free: 7.34 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006294/1.178, allocations: 446.7 kB / 1.156 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.178, allocations: 15.98 kB / 1.156 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002891/1.178, allocations: 43.78 kB / 1.156 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/1.179, allocations: 198.9 kB / 1.157 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/1.179, allocations: 8 kB / 1.157 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/1.179, allocations: 12 kB / 1.157 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/1.179, allocations: 117.6 kB / 1.157 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.179, allocations: 4 kB / 1.157 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/1.179, allocations: 4 kB / 1.157 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/1.179, allocations: 7.984 kB / 1.157 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/1.179, allocations: 95.94 kB / 1.157 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007064/1.18, allocations: 468 kB / 1.157 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/1.18, allocations: 98.53 kB / 1.157 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/1.18, allocations: 40.95 kB / 1.157 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/1.18, allocations: 4 kB / 1.157 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/1.18, allocations: 38.56 kB / 1.157 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/1.18, allocations: 0 / 1.157 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004296/1.181, allocations: 165.4 kB / 1.158 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/1.181, allocations: 55.34 kB / 1.158 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/1.181, allocations: 182.7 kB / 1.158 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/1.181, allocations: 29.7 kB / 1.158 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/1.181, allocations: 119.9 kB / 1.158 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/1.181, allocations: 23.7 kB / 1.158 GB, free: 5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/1.181, allocations: 3.938 kB / 1.158 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.181, allocations: 326.8 kB / 1.158 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/1.181, allocations: 35.98 kB / 1.158 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/1.181, allocations: 39.97 kB / 1.158 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/1.182, allocations: 35.98 kB / 1.158 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.182, allocations: 0 / 1.158 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002562/1.182, allocations: 137.5 kB / 1.159 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.182, allocations: 4 kB / 1.159 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.182, allocations: 0 / 1.159 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/1.182, allocations: 0 / 1.159 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.182, allocations: 19.98 kB / 1.159 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/1.182, allocations: 0 / 1.159 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.99e-05/1.182, allocations: 23.83 kB / 1.159 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/1.182, allocations: 4 kB / 1.159 GB, free: 4.367 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 0.0001096/1.182, allocations: 124.2 kB / 1.159 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/1.182, allocations: 15.81 kB / 1.159 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/1.183, allocations: 139.5 kB / 1.159 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.183, allocations: 0 / 1.159 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.183, allocations: 0 / 1.159 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.183, allocations: 0 / 1.159 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/1.183, allocations: 225.5 kB / 1.159 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.183, allocations: 0 / 1.159 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-05/1.183, allocations: 15.98 kB / 1.159 GB, free: 3.797 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.183, allocations: 4 kB / 1.159 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1.183, allocations: 0 / 1.159 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.183, allocations: 4 kB / 1.159 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.183, allocations: 3.984 kB / 1.159 GB, free: 3.785 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/1.183, allocations: 227.3 kB / 1.159 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/1.184, allocations: 92.95 kB / 1.159 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/1.184, allocations: 0 / 1.159 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/1.184, allocations: 15.98 kB / 1.159 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/1.184, allocations: 3.984 kB / 1.159 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/1.184, allocations: 4 kB / 1.159 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001142/1.184, allocations: 133.2 kB / 1.16 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.765e-06/1.184, allocations: 0 / 1.16 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000239/1.184, allocations: 23.94 kB / 1.16 GB, free: 3.262 MB / 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 (7): * Single equations (assignments): 7 * 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.0001692/1.184, allocations: 107.2 kB / 1.16 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002586/1.185, allocations: 91.83 kB / 1.16 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.185, allocations: 4 kB / 1.16 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/1.185, allocations: 39.98 kB / 1.16 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/1.185, allocations: 31.97 kB / 1.16 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/1.186, allocations: 347 kB / 1.16 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/1.186, allocations: 0.7082 MB / 1.161 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/1.186, allocations: 11.44 kB / 1.161 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/1.186, allocations: 0 / 1.161 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of Templates: time 0.003483/1.19, allocations: 1.645 MB / 1.163 GB, free: 228 kB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.Fluid.HeatExchangers.BaseClasses.Examples.MassExchangeCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchangeCalcHelperMain.o] Error 1