Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 92.31 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.001324/0.001324, allocations: 185 kB / 16.92 MB, free: 6.926 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.964/1.964, allocations: 205.4 MB / 223.1 MB, free: 5.5 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.833/1.833, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0006347/0.0006353, allocations: 18.08 kB / 0.675 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2909, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04165/0.3326, allocations: 40.49 MB / 0.8281 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.3508, allocations: 10.26 MB / 0.8381 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003215/0.3541, allocations: 47.69 kB / 0.8381 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002507/0.3566, allocations: 0.5322 MB / 0.8387 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006293/0.3629, allocations: 1.73 MB / 0.8404 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.3664, allocations: 1.083 MB / 0.8414 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006763/0.3732, allocations: 4.506 MB / 0.8458 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.3752, allocations: 0.8542 MB / 0.8466 GB, free: 15.89 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.3787, allocations: 1.023 MB / 0.8476 GB, free: 14.87 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.381, allocations: 0.8631 MB / 0.8485 GB, free: 14 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003534/0.3814, allocations: 36 kB / 0.8485 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.3843, allocations: 0.7676 MB / 0.8493 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005062/0.3848, allocations: 207 kB / 0.8495 GB, free: 12.99 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.3864, allocations: 0.573 MB / 0.85 GB, free: 12.41 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.3892, allocations: 1.442 MB / 0.8514 GB, free: 10.96 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3892, allocations: 4 kB / 0.8514 GB, free: 10.96 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3892, allocations: 0 / 0.8514 GB, free: 10.96 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.827e-05/0.3893, allocations: 0 / 0.8514 GB, free: 10.96 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003496/0.3928, allocations: 1.293 MB / 0.8527 GB, free: 9.613 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3929, allocations: 12.03 kB / 0.8527 GB, free: 9.602 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005995/0.3935, allocations: 135.4 kB / 0.8528 GB, free: 9.469 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.396, allocations: 1.072 MB / 0.8539 GB, free: 8.355 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.428e-05/0.3961, allocations: 54 kB / 0.8539 GB, free: 8.301 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.3962, allocations: 68 kB / 0.854 GB, free: 8.234 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.3978, allocations: 0.8022 MB / 0.8548 GB, free: 7.398 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.3979, allocations: 0 / 0.8548 GB, free: 7.398 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.3979, allocations: 28 kB / 0.8548 GB, free: 7.371 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.398, allocations: 19.94 kB / 0.8548 GB, free: 7.352 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.3992, allocations: 0.5984 MB / 0.8554 GB, free: 6.75 MB / 0.67 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.00487/0.404, allocations: 3.555 MB / 0.8589 GB, free: 2.965 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/0.4047, allocations: 270.3 kB / 0.8591 GB, free: 2.691 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.4051, allocations: 188.8 kB / 0.8593 GB, free: 2.504 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/0.4058, allocations: 0.6609 MB / 0.86 GB, free: 1.695 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.4058, allocations: 34.56 kB / 0.86 GB, free: 1.652 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.4058, allocations: 4 kB / 0.86 GB, free: 1.648 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001336/0.4072, allocations: 0.5411 MB / 0.8605 GB, free: 1.102 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.4072, allocations: 51.41 kB / 0.8606 GB, free: 1.039 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.4085, allocations: 0.9292 MB / 0.8615 GB, free: 92 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.4086, allocations: 37.64 kB / 0.8615 GB, free: 48 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.409, allocations: 499.6 kB / 0.862 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.4092, allocations: 110.5 kB / 0.8621 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.4092, allocations: 49.69 kB / 0.8622 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4094, allocations: 325.9 kB / 0.8625 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.4098, allocations: 181 kB / 0.8626 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.4103, allocations: 366.8 kB / 0.863 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009084/0.4113, allocations: 0.5381 MB / 0.8635 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4113, allocations: 0 / 0.8635 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001225/0.4125, allocations: 0.6407 MB / 0.8641 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.4126, allocations: 4 kB / 0.8641 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4126, allocations: 8 kB / 0.8642 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.4126, allocations: 8.438 kB / 0.8642 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.4131, allocations: 127.8 kB / 0.8643 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.4131, allocations: 11.94 kB / 0.8643 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008126/0.4139, allocations: 115.2 kB / 0.8644 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/0.414, allocations: 27.94 kB / 0.8644 GB, free: 12.89 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004535/0.4145, allocations: 275.5 kB / 0.8647 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.4146, allocations: 102.8 kB / 0.8648 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.4157, allocations: 0.5003 MB / 0.8653 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.4157, allocations: 4 kB / 0.8653 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4158, allocations: 0 / 0.8653 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008349/0.4166, allocations: 480.6 kB / 0.8657 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.419, allocations: 1.377 MB / 0.8671 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.419, allocations: 0 / 0.8671 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.4194, allocations: 87.83 kB / 0.8672 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.4194, allocations: 7.969 kB / 0.8672 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.4194, allocations: 12 kB / 0.8672 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4194, allocations: 160 / 0.8672 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.4195, allocations: 8 kB / 0.8672 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.4209, allocations: 0.7852 MB / 0.868 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.4213, allocations: 251.6 kB / 0.8682 GB, free: 8.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.4214, allocations: 12 kB / 0.8682 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005627/0.422, allocations: 55.38 kB / 0.8683 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.4221, allocations: 23.97 kB / 0.8683 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/0.4221, allocations: 20.05 kB / 0.8683 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001078/0.4232, allocations: 0.6469 MB / 0.8689 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4232, allocations: 0 / 0.8689 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001194/0.4244, allocations: 331.5 kB / 0.8693 GB, free: 7.777 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009361/0.4254, allocations: 380.6 kB / 0.8696 GB, free: 7.402 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009986/0.4264, allocations: 452.4 kB / 0.8701 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4264, allocations: 0 / 0.8701 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.4268, allocations: 196 kB / 0.8702 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.4299, allocations: 0.5939 MB / 0.8708 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.4329, allocations: 2.014 MB / 0.8728 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.4335, allocations: 1.028 MB / 0.8738 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.4337, allocations: 87.41 kB / 0.8739 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/0.4338, allocations: 3.938 kB / 0.8739 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of Templates: time 0.02999/0.4638, allocations: 17.64 MB / 0.8911 GB, free: 1.484 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o] Error 1