Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0007893/0.0007893, allocations: 99.75 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.0009885/0.0009888, allocations: 175 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.488/1.488, allocations: 223.2 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.101/1.101, allocations: 143.4 MB / 435.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000389/0.0003893, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2013, allocations: 83.41 MB / 0.5981 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4559/0.6572, allocations: 38.31 MB / 0.6355 GB, free: 21.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.6716, allocations: 9.748 MB / 0.645 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/0.6743, allocations: 45.75 kB / 0.645 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.6764, allocations: 470.5 kB / 0.6455 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005628/0.6821, allocations: 1.47 MB / 0.6469 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.6856, allocations: 0.8613 MB / 0.6477 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006535/0.6922, allocations: 3.852 MB / 0.6515 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.6938, allocations: 0.7363 MB / 0.6522 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.6967, allocations: 0.9881 MB / 0.6532 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.6988, allocations: 0.8066 MB / 0.654 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.699, allocations: 38.16 kB / 0.654 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.7013, allocations: 498.9 kB / 0.6545 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.7016, allocations: 197.5 kB / 0.6547 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.7022, allocations: 264.1 kB / 0.6549 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.7046, allocations: 1.449 MB / 0.6564 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.7047, allocations: 1.375 kB / 0.6564 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.517e-06/0.7047, allocations: 0 / 0.6564 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.318e-05/0.7047, allocations: 0 / 0.6564 GB, free: 9.465 MB / 0.4981 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.003507/0.7082, allocations: 1.321 MB / 0.6576 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.3e-05/0.7083, allocations: 9.969 kB / 0.6577 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004904/0.7088, allocations: 140.7 kB / 0.6578 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.7112, allocations: 1.045 MB / 0.6588 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.7113, allocations: 52.28 kB / 0.6589 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.7114, allocations: 72.94 kB / 0.6589 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.7132, allocations: 0.7915 MB / 0.6597 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.7133, allocations: 5.766 kB / 0.6597 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.7133, allocations: 31.72 kB / 0.6597 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/0.7134, allocations: 22.61 kB / 0.6598 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.7148, allocations: 0.5844 MB / 0.6603 GB, free: 7.219 MB / 0.4981 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.005126/0.7199, allocations: 3.554 MB / 0.6638 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.7206, allocations: 275.4 kB / 0.6641 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.721, allocations: 188 kB / 0.6642 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/0.7215, allocations: 0.6636 MB / 0.6649 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.7215, allocations: 41.47 kB / 0.6649 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 3.176e-06/0.7215, allocations: 0 / 0.6649 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001402/0.723, allocations: 0.5437 MB / 0.6655 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.723, allocations: 54.81 kB / 0.6655 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.7245, allocations: 0.9244 MB / 0.6664 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.7246, allocations: 32.17 kB / 0.6664 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004331/0.725, allocations: 0.4887 MB / 0.6669 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.7251, allocations: 112.5 kB / 0.667 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.7252, allocations: 9.625 kB / 0.667 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.7253, allocations: 330.1 kB / 0.6674 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.7257, allocations: 172.9 kB / 0.6675 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.7262, allocations: 363.4 kB / 0.6679 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.7267, allocations: 228.6 kB / 0.6681 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.7267, allocations: 2.281 kB / 0.6681 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001267/0.728, allocations: 0.6436 MB / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.728, allocations: 8.875 kB / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.7281, allocations: 4.938 kB / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.7281, allocations: 8.188 kB / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/0.7286, allocations: 132.3 kB / 0.6689 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/0.7286, allocations: 8.438 kB / 0.6689 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/0.7295, allocations: 114.5 kB / 0.669 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.7296, allocations: 25.83 kB / 0.669 GB, free: 1.398 MB / 0.4981 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.0004928/0.7301, allocations: 280.7 kB / 0.6693 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.7303, allocations: 103.9 kB / 0.6694 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.7314, allocations: 0.4973 MB / 0.6699 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.7314, allocations: 3.812 kB / 0.6699 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7314, allocations: 1.062 kB / 0.6699 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007828/0.7322, allocations: 479 kB / 0.6703 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/0.7352, allocations: 1.378 MB / 0.6717 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.7352, allocations: 2.469 kB / 0.6717 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.7356, allocations: 81.61 kB / 0.6717 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.7356, allocations: 3.828 kB / 0.6717 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.7357, allocations: 9.75 kB / 0.6718 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.7357, allocations: 2.719 kB / 0.6718 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.7357, allocations: 10.06 kB / 0.6718 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.7373, allocations: 0.7949 MB / 0.6725 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/0.738, allocations: 250.4 kB / 0.6728 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.7381, allocations: 15.17 kB / 0.6728 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/0.7388, allocations: 53.95 kB / 0.6728 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.7389, allocations: 28.44 kB / 0.6729 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.7389, allocations: 21.84 kB / 0.6729 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001203/0.7402, allocations: 0.6381 MB / 0.6735 GB, free: 15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4e-07/0.7402, allocations: 0 / 0.6735 GB, free: 15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001398/0.7416, allocations: 338.4 kB / 0.6738 GB, free: 14.92 MB / 0.5137 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.0008916/0.7425, allocations: 369.8 kB / 0.6742 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.7436, allocations: 436.8 kB / 0.6746 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7437, allocations: 3.938 kB / 0.6746 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.7441, allocations: 192.2 kB / 0.6748 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/0.7471, allocations: 0.594 MB / 0.6754 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.7507, allocations: 2.004 MB / 0.6773 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/0.7516, allocations: 1.037 MB / 0.6783 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.7519, allocations: 79.02 kB / 0.6784 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of SimCode: time 1.353e-06/0.7519, allocations: 4 kB / 0.6784 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of Templates: time 0.04412/0.796, allocations: 17.93 MB / 0.6959 GB, free: 5.637 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile make -j1 -f BuildSysPro_BuildSysPro.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o] Error 1