Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eigPor.Q1_flow|eigPor.Q2_flow|eigPor.Q3_flow|eigPor.Q4_flow|eigPor.vol1.T|eigPor.vol2.T|eigPor.vol3.T|eigPor.vol4.T|sou1.T|sou2.T_in|sou3.T|sou4.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009934/0.0009934, allocations: 99.59 kB / 15.71 MB, free: 452 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.001528/0.001528, allocations: 176 kB / 16.58 MB, free: 6.422 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.601/1.601, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.672/2.672, allocations: 390.5 MB / 0.6662 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 8 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8785, allocations: 142.3 MB / 0.9544 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07306/0.9517, allocations: 71.15 MB / 1.024 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03677/0.9885, allocations: 17.73 MB / 1.041 GB, free: 7.109 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006807/0.9953, allocations: 95.31 kB / 1.041 GB, free: 7.016 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005513/1.001, allocations: 0.8734 MB / 1.042 GB, free: 6.137 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01468/1.016, allocations: 2.831 MB / 1.045 GB, free: 3.293 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.007806/1.023, allocations: 1.494 MB / 1.046 GB, free: 1.816 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01353/1.037, allocations: 7.593 MB / 1.054 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004111/1.041, allocations: 1.449 MB / 1.055 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005612/1.047, allocations: 1.863 MB / 1.057 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004224/1.051, allocations: 1.59 MB / 1.059 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006529/1.052, allocations: 76 kB / 1.059 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004746/1.057, allocations: 0.9001 MB / 1.06 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006999/1.057, allocations: 386.2 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/1.059, allocations: 492.6 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004751/1.063, allocations: 2.671 MB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/1.063, allocations: 7.938 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.214e-06/1.063, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.928e-05/1.064, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004733/1.068, allocations: 2.314 MB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.068, allocations: 8.031 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006748/1.069, allocations: 269 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003548/1.073, allocations: 1.903 MB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/1.073, allocations: 110.7 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/1.073, allocations: 144 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/1.076, allocations: 1.532 MB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/1.076, allocations: 3.906 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/1.076, allocations: 60 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.686e-05/1.076, allocations: 36 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/1.079, allocations: 1.161 MB / 1.07 GB, free: 9.012 MB / 0.8262 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.01027/1.089, allocations: 7.591 MB / 1.078 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009867/1.09, allocations: 496.6 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/1.091, allocations: 346.3 kB / 1.079 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009832/1.092, allocations: 1.156 MB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/1.092, allocations: 47.16 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=59): time 3.266e-06/1.092, allocations: 0 / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59): time 0.002551/1.094, allocations: 1.02 MB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/1.094, allocations: 59.97 kB / 1.081 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/1.097, allocations: 1.736 MB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001785/1.097, allocations: 45.7 kB / 1.083 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008541/1.098, allocations: 0.9277 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/1.099, allocations: 220.9 kB / 1.084 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/1.099, allocations: 24 kB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.099, allocations: 345.9 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/1.099, allocations: 354.3 kB / 1.084 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.101, allocations: 0.7017 MB / 1.085 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/1.101, allocations: 462.7 kB / 1.085 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/1.101, allocations: 4 kB / 1.085 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002488/1.104, allocations: 1.249 MB / 1.087 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.104, allocations: 8 kB / 1.087 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/1.104, allocations: 15.98 kB / 1.087 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/1.104, allocations: 16 kB / 1.087 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009821/1.105, allocations: 316 kB / 1.087 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.593e-05/1.105, allocations: 27.92 kB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/1.107, allocations: 250.3 kB / 1.087 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/1.107, allocations: 52 kB / 1.087 GB, free: 6.508 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.000885/1.108, allocations: 441.4 kB / 1.088 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/1.108, allocations: 193.7 kB / 1.088 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/1.11, allocations: 0.9034 MB / 1.089 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/1.11, allocations: 15.98 kB / 1.089 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.11, allocations: 4 kB / 1.089 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/1.111, allocations: 0.8308 MB / 1.09 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004376/1.116, allocations: 2.475 MB / 1.092 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.116, allocations: 3.953 kB / 1.092 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/1.117, allocations: 208 kB / 1.092 GB, free: 1.285 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/1.117, allocations: 4 kB / 1.092 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/1.117, allocations: 27.98 kB / 1.092 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/1.117, allocations: 4 kB / 1.092 GB, free: 1.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.117, allocations: 7.938 kB / 1.092 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/1.119, allocations: 1.39 MB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008754/1.12, allocations: 410.2 kB / 1.094 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/1.12, allocations: 16 kB / 1.094 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/1.121, allocations: 127.7 kB / 1.094 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/1.121, allocations: 48.48 kB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/1.121, allocations: 31.98 kB / 1.094 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001928/1.123, allocations: 1.204 MB / 1.095 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/1.123, allocations: 0 / 1.095 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002048/1.125, allocations: 0.6356 MB / 1.096 GB, free: 13.3 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001157/1.127, allocations: 0.5687 MB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001841/1.128, allocations: 0.84 MB / 1.097 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.128, allocations: 4.062 kB / 1.097 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007221/1.129, allocations: 379.4 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/1.135, allocations: 1.206 MB / 1.099 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/1.141, allocations: 3.731 MB / 1.103 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.142, allocations: 1.392 MB / 1.104 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/1.142, allocations: 155.4 kB / 1.104 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of SimCode: time 9.62e-07/1.142, allocations: 0 / 1.104 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of Templates: time 0.06598/1.208, allocations: 34.38 MB / 1.138 GB, free: 2.891 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchangerCalcHelperMain.o] Error 1