Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_9_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.0008343/0.0008341, allocations: 102.9 kB / 15.71 MB, free: 448 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.000994/0.0009937, allocations: 179.1 kB / 16.58 MB, free: 6.875 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.559/1.559, allocations: 223.3 MB / 240.6 MB, free: 5.457 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.554/2.554, allocations: 390.5 MB / 0.6662 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003448, allocations: 8 kB / 0.8154 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8818/0.8821, allocations: 142.3 MB / 0.9544 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04076/0.923, allocations: 38.33 MB / 0.9918 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01581/0.9388, allocations: 9.732 MB / 1.001 GB, free: 4 kB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.941, allocations: 51.73 kB / 1.001 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.9426, allocations: 461 kB / 1.002 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004792/0.9474, allocations: 1.476 MB / 1.003 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.9502, allocations: 0.8645 MB / 1.004 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005131/0.9554, allocations: 3.861 MB / 1.008 GB, free: 9.293 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.9566, allocations: 0.7338 MB / 1.009 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.9586, allocations: 0.9799 MB / 1.01 GB, free: 7.566 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.9597, allocations: 0.8088 MB / 1.01 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.741e-05/0.9598, allocations: 40 kB / 1.01 GB, free: 6.715 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.9615, allocations: 0.491 MB / 1.011 GB, free: 6.223 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.9617, allocations: 191.1 kB / 1.011 GB, free: 6.035 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.9621, allocations: 265.1 kB / 1.011 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.9636, allocations: 1.366 MB / 1.013 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.9636, allocations: 0 / 1.013 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.386e-06/0.9636, allocations: 3.938 kB / 1.013 GB, free: 4.402 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.9636, allocations: 3.938 kB / 1.013 GB, free: 4.398 MB / 0.7637 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.00219/0.9658, allocations: 1.308 MB / 1.014 GB, free: 3.035 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.9659, allocations: 8.031 kB / 1.014 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003261/0.9662, allocations: 146.4 kB / 1.014 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.9678, allocations: 1.041 MB / 1.015 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/0.9679, allocations: 54 kB / 1.015 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.936e-05/0.968, allocations: 68 kB / 1.015 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.9694, allocations: 0.7944 MB / 1.016 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.9694, allocations: 11.91 kB / 1.016 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.15e-05/0.9695, allocations: 28 kB / 1.016 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.9695, allocations: 19.94 kB / 1.016 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.9706, allocations: 0.5906 MB / 1.017 GB, free: 208 kB / 0.7637 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.004122/0.9747, allocations: 3.559 MB / 1.02 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.9753, allocations: 266.6 kB / 1.02 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.9757, allocations: 181.8 kB / 1.021 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/0.9763, allocations: 0.661 MB / 1.021 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.9763, allocations: 38.56 kB / 1.021 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=31): time 3.447e-06/0.9763, allocations: 0 / 1.021 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31): time 0.001182/0.9775, allocations: 0.5553 MB / 1.022 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.9776, allocations: 55.41 kB / 1.022 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.9787, allocations: 0.926 MB / 1.023 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.9788, allocations: 33.7 kB / 1.023 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.9792, allocations: 499.6 kB / 1.023 GB, free: 9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.9794, allocations: 114.4 kB / 1.023 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.9794, allocations: 15.94 kB / 1.023 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.9795, allocations: 322 kB / 1.024 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.9799, allocations: 177 kB / 1.024 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.9804, allocations: 358.9 kB / 1.024 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.9808, allocations: 231.8 kB / 1.024 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.9808, allocations: 4 kB / 1.024 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001095/0.9819, allocations: 0.6289 MB / 1.025 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.982, allocations: 8 kB / 1.025 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.982, allocations: 4 kB / 1.025 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.982, allocations: 8 kB / 1.025 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.9825, allocations: 132.2 kB / 1.025 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.9825, allocations: 19.88 kB / 1.025 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/0.9833, allocations: 119.1 kB / 1.025 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.9833, allocations: 27.98 kB / 1.025 GB, free: 6.773 MB / 0.7794 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.0004392/0.9838, allocations: 273.6 kB / 1.026 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.9839, allocations: 98.78 kB / 1.026 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.985, allocations: 0.5003 MB / 1.026 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.985, allocations: 4 kB / 1.026 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.985, allocations: 3.984 kB / 1.026 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007708/0.9858, allocations: 477.4 kB / 1.027 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.988, allocations: 1.366 MB / 1.028 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.9881, allocations: 7.938 kB / 1.028 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.9884, allocations: 75.91 kB / 1.028 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.9884, allocations: 4 kB / 1.028 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.9885, allocations: 8 kB / 1.028 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.9885, allocations: 11.92 kB / 1.028 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9885, allocations: 0 / 1.028 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.9898, allocations: 0.7985 MB / 1.029 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.9902, allocations: 243.7 kB / 1.029 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.9904, allocations: 15.94 kB / 1.029 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005122/0.9909, allocations: 50.89 kB / 1.029 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.991, allocations: 23.97 kB / 1.029 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.991, allocations: 19.98 kB / 1.029 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009254/0.992, allocations: 0.6432 MB / 1.03 GB, free: 2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.992, allocations: 0 / 1.03 GB, free: 2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001049/0.993, allocations: 331.4 kB / 1.03 GB, free: 1.676 MB / 0.7794 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.0007656/0.9938, allocations: 364.2 kB / 1.03 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008911/0.9947, allocations: 444.3 kB / 1.031 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9947, allocations: 0 / 1.031 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.9951, allocations: 196.6 kB / 1.031 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.9976, allocations: 0.596 MB / 1.032 GB, free: 112 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/1, allocations: 1.994 MB / 1.034 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/1.001, allocations: 1.04 MB / 1.035 GB, free: 12.98 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/1.001, allocations: 79.42 kB / 1.035 GB, free: 12.91 MB / 0.795 GB Notification: Performance of SimCode: time 7.31e-07/1.001, allocations: 0 / 1.035 GB, free: 12.91 MB / 0.795 GB Notification: Performance of Templates: time 0.0263/1.027, allocations: 17.68 MB / 1.052 GB, free: 11.38 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile make -j1 -f Buildings_9_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/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.FourPortHeatMassExchangerCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o] Error 1