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.0009619/0.0009623, allocations: 91.38 kB / 16.02 MB, free: 80 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.001585/0.001585, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.889/1.889, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.821/1.821, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0007548/0.000755, allocations: 14.81 kB / 0.675 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3445, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8986/1.243, allocations: 144.8 MB / 0.93 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001512/1.245, allocations: 1.131 MB / 0.9311 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/1.245, allocations: 7.5 kB / 0.9311 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003498/1.245, allocations: 43.83 kB / 0.9311 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008036/1.246, allocations: 274.1 kB / 0.9314 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000312/1.246, allocations: 152.8 kB / 0.9316 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004755/1.247, allocations: 239 kB / 0.9318 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/1.247, allocations: 50.81 kB / 0.9318 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/1.247, allocations: 37.5 kB / 0.9319 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/1.247, allocations: 51.22 kB / 0.9319 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/1.247, allocations: 2.219 kB / 0.9319 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/1.248, allocations: 413.6 kB / 0.9323 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/1.248, allocations: 22.5 kB / 0.9323 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/1.248, allocations: 78.28 kB / 0.9324 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/1.248, allocations: 186.2 kB / 0.9326 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.248, allocations: 0 / 0.9326 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.737e-06/1.248, allocations: 2.75 kB / 0.9326 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/1.248, allocations: 5.75 kB / 0.9326 GB, free: 17.59 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.0007386/1.249, allocations: 448.6 kB / 0.933 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.249, allocations: 11.34 kB / 0.933 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/1.25, allocations: 39.52 kB / 0.9331 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/1.25, allocations: 221 kB / 0.9333 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/1.25, allocations: 13.53 kB / 0.9333 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/1.25, allocations: 9.594 kB / 0.9333 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/1.25, allocations: 119.4 kB / 0.9334 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.25, allocations: 0.8438 kB / 0.9334 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.25, allocations: 5.734 kB / 0.9334 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.25, allocations: 2.844 kB / 0.9334 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/1.25, allocations: 106.4 kB / 0.9335 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/1.251, allocations: 460.7 kB / 0.934 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/1.251, allocations: 94.38 kB / 0.9341 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/1.251, allocations: 44.45 kB / 0.9341 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/1.251, allocations: 0 / 0.9341 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/1.252, allocations: 36.72 kB / 0.9341 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/1.252, allocations: 3.938 kB / 0.9341 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004907/1.252, allocations: 163.9 kB / 0.9343 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/1.252, allocations: 51.41 kB / 0.9343 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/1.252, allocations: 179 kB / 0.9345 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/1.252, allocations: 29.45 kB / 0.9345 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/1.252, allocations: 112.5 kB / 0.9346 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/1.252, allocations: 19.67 kB / 0.9347 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/1.252, allocations: 22.28 kB / 0.9347 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.253, allocations: 325.4 kB / 0.935 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/1.253, allocations: 35.61 kB / 0.935 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/1.253, allocations: 38.41 kB / 0.9351 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/1.253, allocations: 96.72 kB / 0.9352 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.253, allocations: 0 / 0.9352 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002727/1.253, allocations: 129.4 kB / 0.9353 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/1.253, allocations: 8.219 kB / 0.9353 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.253, allocations: 0 / 0.9353 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.253, allocations: 0 / 0.9353 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/1.254, allocations: 18.39 kB / 0.9353 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.254, allocations: 0 / 0.9353 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/1.254, allocations: 18.67 kB / 0.9353 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/1.254, allocations: 2.625 kB / 0.9353 GB, free: 15.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.254, allocations: 128.8 kB / 0.9355 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/1.254, allocations: 13.06 kB / 0.9355 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/1.254, allocations: 139 kB / 0.9356 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.254, allocations: 1.969 kB / 0.9356 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.254, allocations: 0 / 0.9356 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.254, allocations: 0 / 0.9356 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/1.254, allocations: 224.7 kB / 0.9358 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.254, allocations: 0.5 kB / 0.9358 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/1.255, allocations: 18.19 kB / 0.9358 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.255, allocations: 0 / 0.9358 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/1.255, allocations: 2.312 kB / 0.9358 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.255, allocations: 6.625 kB / 0.9358 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.255, allocations: 6.609 kB / 0.9358 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/1.255, allocations: 220.8 kB / 0.9361 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/1.255, allocations: 90.52 kB / 0.9361 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/1.255, allocations: 10.41 kB / 0.9362 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/1.255, allocations: 6.516 kB / 0.9362 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/1.255, allocations: 5.25 kB / 0.9362 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/1.255, allocations: 2.625 kB / 0.9362 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001094/1.255, allocations: 140.1 kB / 0.9363 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.255, allocations: 1.859 kB / 0.9363 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002398/1.256, allocations: 29.19 kB / 0.9363 GB, free: 15.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002055/1.256, allocations: 110.7 kB / 0.9364 GB, free: 15 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002815/1.256, allocations: 89.98 kB / 0.9365 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.256, allocations: 4 kB / 0.9365 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/1.256, allocations: 43.73 kB / 0.9366 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/1.257, allocations: 33.61 kB / 0.9366 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/1.257, allocations: 337.8 kB / 0.9369 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/1.258, allocations: 0.7062 MB / 0.9376 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/1.258, allocations: 17.47 kB / 0.9376 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/1.258, allocations: 0 / 0.9376 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.003226/1.261, allocations: 1.643 MB / 0.9392 GB, free: 13.93 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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