Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00089/0.0008902, allocations: 96.2 kB / 16.34 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009136/0.0009138, allocations: 183.6 kB / 17.22 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 241.2 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7493/0.7493, allocations: 114.3 MB / 406.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.000379, allocations: 8.594 kB / 494.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1983, allocations: 77.27 MB / 0.5583 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4327/0.6311, allocations: 38.28 MB / 0.5957 GB, free: 11.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0163/0.6474, allocations: 9.752 MB / 0.6052 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002948/0.6504, allocations: 48.56 kB / 0.6053 GB, free: 9.562 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.6526, allocations: 457.7 kB / 0.6057 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.6589, allocations: 1.478 MB / 0.6071 GB, free: 8.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003607/0.6625, allocations: 0.8618 MB / 0.608 GB, free: 8.473 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008118/0.6706, allocations: 3.855 MB / 0.6118 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001974/0.6726, allocations: 0.7355 MB / 0.6125 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.6758, allocations: 0.9835 MB / 0.6134 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.6782, allocations: 0.8033 MB / 0.6142 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.6785, allocations: 37.59 kB / 0.6142 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/0.6814, allocations: 492 kB / 0.6147 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003637/0.6817, allocations: 201.4 kB / 0.6149 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000645/0.6824, allocations: 264 kB / 0.6152 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.6848, allocations: 1.373 MB / 0.6165 GB, free: 5.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6848, allocations: 1 kB / 0.6165 GB, free: 5.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.588e-06/0.6848, allocations: 0 / 0.6165 GB, free: 5.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.6848, allocations: 3.938 kB / 0.6165 GB, free: 5.328 MB / 446.1 MB 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.002836/0.6877, allocations: 1.311 MB / 0.6178 GB, free: 20.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.6877, allocations: 10.22 kB / 0.6178 GB, free: 20.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/0.6881, allocations: 141.3 kB / 0.6179 GB, free: 20.36 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.6898, allocations: 1.051 MB / 0.619 GB, free: 19.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.6899, allocations: 54.19 kB / 0.619 GB, free: 19.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.69, allocations: 76.67 kB / 0.6191 GB, free: 19.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.6915, allocations: 0.7956 MB / 0.6199 GB, free: 19.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.6916, allocations: 1.375 kB / 0.6199 GB, free: 19.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.6916, allocations: 34.58 kB / 0.6199 GB, free: 19.12 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/0.6917, allocations: 18.5 kB / 0.6199 GB, free: 19.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.6928, allocations: 0.5865 MB / 0.6205 GB, free: 18.83 MB / 462.1 MB 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.00413/0.697, allocations: 3.553 MB / 0.624 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005609/0.6975, allocations: 271 kB / 0.6242 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/0.6979, allocations: 183.3 kB / 0.6244 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.6984, allocations: 0.6584 MB / 0.625 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.6985, allocations: 37.84 kB / 0.6251 GB, free: 14.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.435e-06/0.6985, allocations: 0 / 0.6251 GB, free: 14.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.001281/0.6997, allocations: 0.5419 MB / 0.6256 GB, free: 14.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.6998, allocations: 59.08 kB / 0.6257 GB, free: 14.35 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.7011, allocations: 0.9265 MB / 0.6266 GB, free: 13.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.7012, allocations: 40.45 kB / 0.6266 GB, free: 13.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.7016, allocations: 496.2 kB / 0.6271 GB, free: 13.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.7018, allocations: 109.5 kB / 0.6272 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.7018, allocations: 9.375 kB / 0.6272 GB, free: 13.24 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.7019, allocations: 327.5 kB / 0.6275 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.7023, allocations: 177.4 kB / 0.6277 GB, free: 12.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.7028, allocations: 357.7 kB / 0.628 GB, free: 12.53 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.7033, allocations: 236.8 kB / 0.6282 GB, free: 12.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.7034, allocations: 1.062 kB / 0.6282 GB, free: 12.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001368/0.7047, allocations: 0.6421 MB / 0.6289 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.7048, allocations: 7.406 kB / 0.6289 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.7048, allocations: 4.625 kB / 0.6289 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.7048, allocations: 9.188 kB / 0.6289 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.7053, allocations: 126.2 kB / 0.629 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.587e-05/0.7054, allocations: 12.52 kB / 0.629 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.7064, allocations: 114.9 kB / 0.6291 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.784e-05/0.7065, allocations: 29.14 kB / 0.6291 GB, free: 11.98 MB / 462.1 MB 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.0005914/0.7071, allocations: 275.2 kB / 0.6294 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.7073, allocations: 107 kB / 0.6295 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.7084, allocations: 0.4951 MB / 0.63 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.7084, allocations: 3.344 kB / 0.63 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.7084, allocations: 3.375 kB / 0.63 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006861/0.7091, allocations: 479.6 kB / 0.6305 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.7114, allocations: 1.385 MB / 0.6318 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.7114, allocations: 0 / 0.6318 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.7117, allocations: 93.27 kB / 0.6319 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.497e-06/0.7117, allocations: 3.344 kB / 0.6319 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.7118, allocations: 7.375 kB / 0.6319 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.7118, allocations: 3.375 kB / 0.6319 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.7118, allocations: 5.734 kB / 0.6319 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.713, allocations: 0.7964 MB / 0.6327 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.7134, allocations: 243.4 kB / 0.6329 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.7135, allocations: 10.73 kB / 0.6329 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005045/0.7141, allocations: 63.5 kB / 0.633 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.7142, allocations: 28 kB / 0.633 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.7142, allocations: 22.34 kB / 0.6331 GB, free: 9.293 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009286/0.7151, allocations: 0.6438 MB / 0.6337 GB, free: 8.914 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7151, allocations: 0 / 0.6337 GB, free: 8.914 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001175/0.7163, allocations: 329.8 kB / 0.634 GB, free: 8.836 MB / 462.1 MB 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.0008018/0.7171, allocations: 354 kB / 0.6343 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009102/0.7181, allocations: 436.8 kB / 0.6347 GB, free: 8.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.7181, allocations: 4.062 kB / 0.6348 GB, free: 8.457 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.7184, allocations: 193.7 kB / 0.6349 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.721, allocations: 0.6017 MB / 0.6355 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.7238, allocations: 1.995 MB / 0.6375 GB, free: 6.684 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/0.7244, allocations: 1.03 MB / 0.6385 GB, free: 5.828 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.7246, allocations: 82.08 kB / 0.6386 GB, free: 5.812 MB / 462.1 MB Notification: Performance of SimCode: time 1.262e-06/0.7246, allocations: 0 / 0.6386 GB, free: 5.812 MB / 462.1 MB Notification: Performance of Templates: time 0.03183/0.7565, allocations: 17.67 MB / 0.6558 GB, free: 5.102 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile make -j1 -f IBPSA_latest_IBPSA.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o] Error 1