Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(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_latest_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_latest_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.0009689/0.000969, allocations: 102.9 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.001223/0.001223, allocations: 171.4 kB / 16.58 MB, free: 6.402 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.512/1.512, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 436.7 MB / 0.7113 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 12 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8076/0.8079, allocations: 153.7 MB / 1.022 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03643/0.8444, allocations: 38.33 MB / 1.059 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.8584, allocations: 9.755 MB / 1.069 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.8602, allocations: 47.69 kB / 1.069 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.8618, allocations: 453 kB / 1.069 GB, free: 380 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0044/0.8662, allocations: 1.477 MB / 1.071 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.8693, allocations: 0.857 MB / 1.071 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0056/0.8749, allocations: 3.862 MB / 1.075 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.8762, allocations: 0.7299 MB / 1.076 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.8781, allocations: 0.9954 MB / 1.077 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.8791, allocations: 0.801 MB / 1.078 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.211e-05/0.8792, allocations: 36 kB / 1.078 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.8808, allocations: 0.491 MB / 1.078 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.8811, allocations: 199.1 kB / 1.078 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.8813, allocations: 261.1 kB / 1.079 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.8828, allocations: 1.373 MB / 1.08 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.8828, allocations: 0 / 1.08 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.677e-06/0.8828, allocations: 0 / 1.08 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.8829, allocations: 3.938 kB / 1.08 GB, free: 5.258 MB / 0.8262 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.002159/0.885, allocations: 1.308 MB / 1.081 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.8851, allocations: 15.98 kB / 1.081 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.8854, allocations: 130.5 kB / 1.081 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.8869, allocations: 1.033 MB / 1.082 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.887, allocations: 61.94 kB / 1.082 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.8871, allocations: 79.84 kB / 1.083 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/0.8884, allocations: 0.7944 MB / 1.083 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.8884, allocations: 3.938 kB / 1.083 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.238e-05/0.8885, allocations: 35.95 kB / 1.083 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/0.8886, allocations: 20 kB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.8896, allocations: 0.5906 MB / 1.084 GB, free: 1.062 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.00388/0.8935, allocations: 3.54 MB / 1.087 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.894, allocations: 273.5 kB / 1.088 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.8944, allocations: 187.2 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000564/0.895, allocations: 0.6609 MB / 1.088 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.551e-05/0.895, allocations: 42.55 kB / 1.089 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 4.939e-06/0.895, allocations: 3.984 kB / 1.089 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=31): time 0.001107/0.8962, allocations: 0.5361 MB / 1.089 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.8962, allocations: 55.41 kB / 1.089 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.8974, allocations: 0.9299 MB / 1.09 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.8974, allocations: 29.7 kB / 1.09 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.8978, allocations: 0.4918 MB / 1.091 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.898, allocations: 110.4 kB / 1.091 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.898, allocations: 12 kB / 1.091 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8982, allocations: 326 kB / 1.091 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.8985, allocations: 177 kB / 1.091 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004785/0.899, allocations: 355 kB / 1.091 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.8994, allocations: 231.8 kB / 1.092 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8994, allocations: 0 / 1.092 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001047/0.9005, allocations: 0.6366 MB / 1.092 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.9005, allocations: 8 kB / 1.092 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.9005, allocations: 8.062 kB / 1.092 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.9006, allocations: 12 kB / 1.092 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.901, allocations: 132.2 kB / 1.092 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.901, allocations: 12 kB / 1.092 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.9017, allocations: 119.2 kB / 1.093 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.9018, allocations: 27.98 kB / 1.093 GB, free: 7.656 MB / 0.8419 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.0004026/0.9022, allocations: 269.6 kB / 1.093 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.9023, allocations: 106.7 kB / 1.093 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009738/0.9033, allocations: 0.4966 MB / 1.093 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.9033, allocations: 4 kB / 1.093 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9034, allocations: 0 / 1.093 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007214/0.9041, allocations: 470.1 kB / 1.094 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.9062, allocations: 1.378 MB / 1.095 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9062, allocations: 4.156 kB / 1.095 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.9066, allocations: 83.88 kB / 1.095 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.9066, allocations: 3.938 kB / 1.095 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.9066, allocations: 8 kB / 1.095 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.9066, allocations: 4 kB / 1.095 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.9066, allocations: 4 kB / 1.095 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.9079, allocations: 0.8092 MB / 1.096 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.9082, allocations: 239.8 kB / 1.096 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.9083, allocations: 8 kB / 1.096 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.9088, allocations: 62.69 kB / 1.096 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.9089, allocations: 23.97 kB / 1.096 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.909, allocations: 19.98 kB / 1.096 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000812/0.9098, allocations: 0.6432 MB / 1.097 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9098, allocations: 0 / 1.097 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009622/0.9108, allocations: 331.4 kB / 1.097 GB, free: 2.547 MB / 0.8419 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.0006862/0.9115, allocations: 353 kB / 1.098 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008401/0.9123, allocations: 444 kB / 1.098 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9123, allocations: 0 / 1.098 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.9127, allocations: 204.5 kB / 1.098 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.9152, allocations: 0.5969 MB / 1.099 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.9182, allocations: 1.996 MB / 1.101 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.9189, allocations: 1.04 MB / 1.102 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.9191, allocations: 87.42 kB / 1.102 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of SimCode: time 7.41e-07/0.9191, allocations: 0 / 1.102 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of Templates: time 0.02812/0.9472, allocations: 17.66 MB / 1.119 GB, free: 12.26 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o] Error 1