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.00159/0.001591, allocations: 96.14 kB / 15.87 MB, free: 16 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.001884/0.001884, allocations: 195 kB / 16.79 MB, free: 6.812 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.844/1.844, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.815/1.815, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.001326/0.001326, allocations: 62.56 kB / 0.6715 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2873, allocations: 114.6 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.9425/1.23, allocations: 146.7 MB / 0.9266 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002234/1.232, allocations: 1.141 MB / 0.9277 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/1.233, allocations: 1.656 kB / 0.9277 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005151/1.233, allocations: 45.23 kB / 0.9278 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/1.234, allocations: 278.7 kB / 0.9281 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/1.235, allocations: 156.6 kB / 0.9282 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008181/1.236, allocations: 230.3 kB / 0.9284 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/1.236, allocations: 57.36 kB / 0.9285 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/1.236, allocations: 45.31 kB / 0.9285 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/1.237, allocations: 60.62 kB / 0.9286 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/1.237, allocations: 5.594 kB / 0.9286 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/1.238, allocations: 412.1 kB / 0.929 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-05/1.238, allocations: 31 kB / 0.929 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/1.238, allocations: 54.67 kB / 0.9291 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005926/1.238, allocations: 196.5 kB / 0.9292 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.238, allocations: 0 / 0.9292 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.346e-06/1.239, allocations: 4 kB / 0.9292 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.239, allocations: 2.234 kB / 0.9293 GB, free: 5.805 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.001473/1.24, allocations: 468.4 kB / 0.9297 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/1.24, allocations: 9.234 kB / 0.9297 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/1.241, allocations: 39.67 kB / 0.9297 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/1.241, allocations: 215 kB / 0.9299 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/1.241, allocations: 11.75 kB / 0.93 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/1.241, allocations: 10.84 kB / 0.93 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/1.241, allocations: 116 kB / 0.9301 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.241, allocations: 2.109 kB / 0.9301 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.241, allocations: 5.422 kB / 0.9301 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/1.241, allocations: 2.781 kB / 0.9301 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/1.242, allocations: 94.42 kB / 0.9302 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009707/1.243, allocations: 456.5 kB / 0.9306 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/1.243, allocations: 100.5 kB / 0.9307 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/1.243, allocations: 39.8 kB / 0.9307 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/1.243, allocations: 1.406 kB / 0.9308 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.243, allocations: 32.44 kB / 0.9308 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/1.243, allocations: 0 / 0.9308 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0006008/1.244, allocations: 148.1 kB / 0.9309 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.244, allocations: 52.98 kB / 0.931 GB, free: 20.67 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/1.244, allocations: 180.2 kB / 0.9311 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/1.244, allocations: 30.17 kB / 0.9312 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.244, allocations: 112.7 kB / 0.9313 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/1.244, allocations: 22.08 kB / 0.9313 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/1.244, allocations: 24.11 kB / 0.9313 GB, free: 20.42 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.245, allocations: 325.3 kB / 0.9316 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/1.245, allocations: 36.64 kB / 0.9317 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/1.245, allocations: 36.5 kB / 0.9317 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/1.245, allocations: 76.22 kB / 0.9318 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.245, allocations: 0 / 0.9318 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003347/1.246, allocations: 118.5 kB / 0.9319 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.246, allocations: 9.453 kB / 0.9319 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.246, allocations: 1.125 kB / 0.9319 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.246, allocations: 0.7031 kB / 0.9319 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/1.246, allocations: 21.33 kB / 0.9319 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.246, allocations: 0.5625 kB / 0.9319 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/1.246, allocations: 15.03 kB / 0.9319 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/1.246, allocations: 1.844 kB / 0.9319 GB, free: 20.04 MB / 0.7481 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.0001342/1.246, allocations: 123.6 kB / 0.9321 GB, free: 19.92 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/1.246, allocations: 21.41 kB / 0.9321 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/1.246, allocations: 123.9 kB / 0.9322 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.247, allocations: 3.953 kB / 0.9322 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.247, allocations: 0 / 0.9322 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.247, allocations: 2.141 kB / 0.9322 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/1.247, allocations: 221.8 kB / 0.9324 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.247, allocations: 0 / 0.9324 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/1.247, allocations: 16.86 kB / 0.9324 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.247, allocations: 4 kB / 0.9324 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/1.247, allocations: 4.969 kB / 0.9324 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.247, allocations: 4.156 kB / 0.9324 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.247, allocations: 0 / 0.9324 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/1.247, allocations: 215.8 kB / 0.9326 GB, free: 19.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/1.247, allocations: 89.45 kB / 0.9327 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/1.248, allocations: 5.781 kB / 0.9327 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.248, allocations: 11.88 kB / 0.9327 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/1.248, allocations: 4.609 kB / 0.9328 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/1.248, allocations: 3.781 kB / 0.9328 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001778/1.248, allocations: 137.6 kB / 0.9329 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.248, allocations: 2.906 kB / 0.9329 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002603/1.248, allocations: 21.62 kB / 0.9329 GB, free: 19.35 MB / 0.7481 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.0002486/1.248, allocations: 111 kB / 0.933 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000332/1.249, allocations: 78.5 kB / 0.9331 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/1.249, allocations: 0 / 0.9331 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/1.249, allocations: 40 kB / 0.9331 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/1.249, allocations: 33.84 kB / 0.9332 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/1.25, allocations: 325.1 kB / 0.9335 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/1.251, allocations: 0.708 MB / 0.9342 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/1.251, allocations: 17.14 kB / 0.9342 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of SimCode: time 3.71e-07/1.251, allocations: 0 / 0.9342 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of Templates: time 0.004851/1.255, allocations: 1.645 MB / 0.9358 GB, free: 18.2 MB / 0.7481 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