Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009156/0.0009155, allocations: 102.6 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.001076/0.001076, allocations: 174.4 kB / 16.58 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.895/1.895, allocations: 292.7 MB / 0.5505 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005482/0.0005484, allocations: 25.2 kB / 0.6744 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3285, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8229/1.151, allocations: 135.1 MB / 0.9199 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00145/1.153, allocations: 1.052 MB / 0.9209 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/1.153, allocations: 1.906 kB / 0.9209 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003082/1.153, allocations: 35.58 kB / 0.9209 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008008/1.154, allocations: 191.9 kB / 0.9211 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/1.155, allocations: 148.4 kB / 0.9213 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005162/1.155, allocations: 215.9 kB / 0.9215 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/1.155, allocations: 44.88 kB / 0.9215 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.044e-05/1.155, allocations: 37.08 kB / 0.9215 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/1.155, allocations: 50.11 kB / 0.9216 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/1.155, allocations: 3.219 kB / 0.9216 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006144/1.156, allocations: 283.6 kB / 0.9219 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/1.156, allocations: 24.83 kB / 0.9219 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004271/1.157, allocations: 49.11 kB / 0.9219 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004057/1.157, allocations: 196.4 kB / 0.9221 GB, free: 21.8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/1.157, allocations: 1.125 kB / 0.9221 GB, free: 21.8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.304e-06/1.157, allocations: 0 / 0.9221 GB, free: 21.8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.157, allocations: 4 kB / 0.9221 GB, free: 21.8 MB / 0.7325 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.000696/1.158, allocations: 447.8 kB / 0.9226 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.158, allocations: 9.25 kB / 0.9226 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/1.158, allocations: 44.16 kB / 0.9226 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/1.158, allocations: 203.3 kB / 0.9228 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/1.158, allocations: 12.45 kB / 0.9228 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/1.158, allocations: 10.38 kB / 0.9228 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/1.159, allocations: 123 kB / 0.9229 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.159, allocations: 0 / 0.9229 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/1.159, allocations: 3.719 kB / 0.9229 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/1.159, allocations: 6.969 kB / 0.923 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/1.159, allocations: 104.1 kB / 0.9231 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/1.16, allocations: 457.4 kB / 0.9235 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/1.16, allocations: 93.03 kB / 0.9236 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/1.16, allocations: 45.77 kB / 0.9236 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/1.16, allocations: 12.95 kB / 0.9236 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/1.16, allocations: 34.06 kB / 0.9237 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/1.16, allocations: 0 / 0.9237 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004317/1.161, allocations: 158.1 kB / 0.9238 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/1.161, allocations: 56.02 kB / 0.9239 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/1.161, allocations: 176.6 kB / 0.924 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/1.161, allocations: 25.7 kB / 0.9241 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/1.161, allocations: 116.3 kB / 0.9242 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/1.161, allocations: 24.39 kB / 0.9242 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/1.161, allocations: 2.938 kB / 0.9242 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.161, allocations: 327.6 kB / 0.9245 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.161, allocations: 34.41 kB / 0.9245 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.479e-05/1.162, allocations: 41.86 kB / 0.9246 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/1.162, allocations: 47.25 kB / 0.9246 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.162, allocations: 0 / 0.9246 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002591/1.162, allocations: 128.9 kB / 0.9248 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.162, allocations: 9.969 kB / 0.9248 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.162, allocations: 1.625 kB / 0.9248 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/1.162, allocations: 0 / 0.9248 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/1.162, allocations: 23.64 kB / 0.9248 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/1.162, allocations: 2.969 kB / 0.9248 GB, free: 20.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/1.162, allocations: 20.28 kB / 0.9248 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/1.162, allocations: 3.625 kB / 0.9248 GB, free: 20.05 MB / 0.7325 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.000114/1.162, allocations: 123.6 kB / 0.9249 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/1.162, allocations: 9.625 kB / 0.9249 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003287/1.163, allocations: 136.8 kB / 0.9251 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.163, allocations: 0 / 0.9251 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.163, allocations: 5.781 kB / 0.9251 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.163, allocations: 0.5156 kB / 0.9251 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/1.163, allocations: 230.3 kB / 0.9253 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.163, allocations: 0 / 0.9253 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/1.163, allocations: 18.59 kB / 0.9253 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.163, allocations: 2.875 kB / 0.9253 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/1.163, allocations: 0.6562 kB / 0.9253 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.163, allocations: 0.75 kB / 0.9253 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/1.163, allocations: 0 / 0.9253 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/1.163, allocations: 220.8 kB / 0.9255 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/1.163, allocations: 98.94 kB / 0.9256 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/1.164, allocations: 0.7969 kB / 0.9256 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/1.164, allocations: 16.27 kB / 0.9256 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/1.164, allocations: 6.797 kB / 0.9256 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/1.164, allocations: 4.016 kB / 0.9257 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001154/1.164, allocations: 137.1 kB / 0.9258 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.164, allocations: 0 / 0.9258 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002409/1.164, allocations: 21.5 kB / 0.9258 GB, free: 19.36 MB / 0.7325 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.0001808/1.164, allocations: 108 kB / 0.9259 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002629/1.165, allocations: 87.39 kB / 0.926 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.165, allocations: 3.125 kB / 0.926 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/1.165, allocations: 48.02 kB / 0.926 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/1.165, allocations: 31.34 kB / 0.9261 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/1.166, allocations: 334.3 kB / 0.9264 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/1.166, allocations: 0.7102 MB / 0.9271 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/1.166, allocations: 16.66 kB / 0.9271 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/1.166, allocations: 0 / 0.9271 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.003986/1.17, allocations: 1.642 MB / 0.9287 GB, free: 18.21 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile make -j1 -f Buildings_8_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_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchangeCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchangeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchangeCalcHelperMain.o] Error 1