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.0009278/0.0009274, allocations: 103 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.0009647/0.0009647, allocations: 177.8 kB / 16.58 MB, free: 6.109 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.961/1.961, allocations: 205.4 MB / 222.8 MB, free: 5.508 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.784/1.784, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005592/0.0005593, allocations: 15.47 kB / 0.6743 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3067, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03804/0.3448, allocations: 38.32 MB / 0.8253 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.3601, allocations: 9.653 MB / 0.8348 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/0.3625, allocations: 47.62 kB / 0.8348 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.3642, allocations: 469 kB / 0.8353 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.3698, allocations: 1.473 MB / 0.8367 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003646/0.3735, allocations: 0.8628 MB / 0.8375 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006467/0.3799, allocations: 3.841 MB / 0.8413 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.3815, allocations: 0.738 MB / 0.842 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.3839, allocations: 0.9955 MB / 0.843 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.3854, allocations: 0.8088 MB / 0.8438 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3855, allocations: 36 kB / 0.8438 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.3873, allocations: 498.8 kB / 0.8443 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.3875, allocations: 199.1 kB / 0.8445 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004438/0.388, allocations: 265.1 kB / 0.8447 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.3896, allocations: 1.364 MB / 0.8461 GB, free: 240 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3897, allocations: 0 / 0.8461 GB, free: 240 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3897, allocations: 4 kB / 0.8461 GB, free: 236 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.3897, allocations: 0 / 0.8461 GB, free: 236 kB / 0.6544 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.002183/0.3919, allocations: 1.305 MB / 0.8473 GB, free: 14.87 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3919, allocations: 8.031 kB / 0.8473 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.3922, allocations: 134.5 kB / 0.8475 GB, free: 14.73 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.3939, allocations: 1.029 MB / 0.8485 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.3939, allocations: 53.95 kB / 0.8485 GB, free: 13.61 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.394, allocations: 79.91 kB / 0.8486 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3954, allocations: 0.7944 MB / 0.8494 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.3954, allocations: 4 kB / 0.8494 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.431e-05/0.3955, allocations: 28 kB / 0.8494 GB, free: 12.67 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.3955, allocations: 20 kB / 0.8494 GB, free: 12.65 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3966, allocations: 0.5867 MB / 0.85 GB, free: 12.06 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.003939/0.4005, allocations: 3.544 MB / 0.8535 GB, free: 8.285 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.4011, allocations: 270.6 kB / 0.8537 GB, free: 8.012 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.4015, allocations: 191.4 kB / 0.8539 GB, free: 7.824 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005211/0.402, allocations: 0.657 MB / 0.8545 GB, free: 7.02 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.402, allocations: 42.55 kB / 0.8546 GB, free: 6.969 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.705e-06/0.4021, allocations: 3.938 kB / 0.8546 GB, free: 6.965 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001114/0.4032, allocations: 0.5457 MB / 0.8551 GB, free: 6.414 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.4032, allocations: 51.41 kB / 0.8552 GB, free: 6.352 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.4043, allocations: 0.9176 MB / 0.8561 GB, free: 5.414 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.4044, allocations: 33.7 kB / 0.8561 GB, free: 5.375 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.4048, allocations: 491.6 kB / 0.8566 GB, free: 4.887 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.4049, allocations: 126.4 kB / 0.8567 GB, free: 4.762 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.405, allocations: 8 kB / 0.8567 GB, free: 4.754 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4051, allocations: 333.9 kB / 0.857 GB, free: 4.422 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.4054, allocations: 165 kB / 0.8572 GB, free: 4.262 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.4059, allocations: 367.5 kB / 0.8575 GB, free: 3.824 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.4063, allocations: 235.8 kB / 0.8577 GB, free: 3.594 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4064, allocations: 0 / 0.8577 GB, free: 3.594 MB / 0.67 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001063/0.4074, allocations: 0.625 MB / 0.8584 GB, free: 2.961 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4075, allocations: 8 kB / 0.8584 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.4075, allocations: 4.438 kB / 0.8584 GB, free: 2.949 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.4075, allocations: 16 kB / 0.8584 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004325/0.4079, allocations: 127.8 kB / 0.8585 GB, free: 2.809 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.408, allocations: 8 kB / 0.8585 GB, free: 2.801 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/0.4087, allocations: 111.3 kB / 0.8586 GB, free: 2.691 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.4087, allocations: 35.88 kB / 0.8587 GB, free: 2.656 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000415/0.4092, allocations: 281.6 kB / 0.8589 GB, free: 2.371 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.4093, allocations: 102.8 kB / 0.859 GB, free: 2.27 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009459/0.4102, allocations: 0.5 MB / 0.8595 GB, free: 1.766 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.4103, allocations: 4 kB / 0.8595 GB, free: 1.762 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4103, allocations: 0 / 0.8595 GB, free: 1.762 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006838/0.411, allocations: 480.8 kB / 0.86 GB, free: 1.262 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.4131, allocations: 1.374 MB / 0.8613 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4131, allocations: 4 kB / 0.8613 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.4134, allocations: 75.89 kB / 0.8614 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.4135, allocations: 4 kB / 0.8614 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.4135, allocations: 16.14 kB / 0.8614 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.4135, allocations: 3.953 kB / 0.8614 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.4135, allocations: 7.938 kB / 0.8614 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.4147, allocations: 0.7773 MB / 0.8622 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.4151, allocations: 247.7 kB / 0.8624 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.4152, allocations: 12 kB / 0.8624 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/0.4157, allocations: 55.92 kB / 0.8625 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.192e-05/0.4158, allocations: 35.84 kB / 0.8625 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.4158, allocations: 23.98 kB / 0.8625 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008279/0.4167, allocations: 0.6313 MB / 0.8632 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4167, allocations: 3.938 kB / 0.8632 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001018/0.4177, allocations: 327.5 kB / 0.8635 GB, free: 13.55 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 (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.0007217/0.4184, allocations: 360.1 kB / 0.8638 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008632/0.4193, allocations: 444.1 kB / 0.8642 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4193, allocations: 0 / 0.8642 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.4197, allocations: 196.9 kB / 0.8644 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.4222, allocations: 0.601 MB / 0.865 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.425, allocations: 1.99 MB / 0.867 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.4256, allocations: 1.028 MB / 0.868 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.4258, allocations: 79.42 kB / 0.868 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of SimCode: time 1.342e-06/0.4258, allocations: 0 / 0.868 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of Templates: time 0.02842/0.4543, allocations: 17.63 MB / 0.8852 GB, free: 7.32 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++ 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.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