Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001483/0.001483, allocations: 100.1 kB / 15.88 MB, free: 12 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.001796/0.001796, allocations: 198.7 kB / 16.79 MB, free: 6.863 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.329/1.329, allocations: 222.9 MB / 240.5 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003478/0.003478, allocations: 286.5 kB / 290.9 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.193/1.193, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 93.44 kB / 0.5951 GB, free: 28.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1891, allocations: 86.98 MB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0675/0.2567, allocations: 41.33 MB / 0.7204 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01744/0.2742, allocations: 10.45 MB / 0.7306 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.2766, allocations: 51.69 kB / 0.7307 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.2786, allocations: 0.54 MB / 0.7312 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005199/0.2838, allocations: 1.739 MB / 0.7329 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.2869, allocations: 1.067 MB / 0.734 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006228/0.2932, allocations: 4.522 MB / 0.7384 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.2948, allocations: 0.8829 MB / 0.7392 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.2972, allocations: 1.038 MB / 0.7402 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.2987, allocations: 0.8943 MB / 0.7411 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.2988, allocations: 52 kB / 0.7412 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.301, allocations: 0.7755 MB / 0.7419 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.3013, allocations: 239 kB / 0.7422 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000767/0.3021, allocations: 0.5674 MB / 0.7427 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.304, allocations: 1.473 MB / 0.7441 GB, free: 15.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.304, allocations: 0 / 0.7441 GB, free: 15.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.01e-07/0.3041, allocations: 0 / 0.7441 GB, free: 15.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.3041, allocations: 0 / 0.7441 GB, free: 15.38 MB / 0.545 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.002518/0.3066, allocations: 1.518 MB / 0.7456 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3066, allocations: 8.031 kB / 0.7456 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003809/0.307, allocations: 139.4 kB / 0.7458 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.3089, allocations: 1.068 MB / 0.7468 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.779e-05/0.3089, allocations: 58 kB / 0.7469 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.309, allocations: 79.89 kB / 0.7469 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.3106, allocations: 0.7944 MB / 0.7477 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.3106, allocations: 7.922 kB / 0.7477 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/0.3107, allocations: 28 kB / 0.7478 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.3107, allocations: 23.94 kB / 0.7478 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.3119, allocations: 0.5711 MB / 0.7483 GB, free: 10.96 MB / 0.545 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.004344/0.3162, allocations: 3.54 MB / 0.7518 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.3168, allocations: 260.7 kB / 0.752 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.3172, allocations: 173.2 kB / 0.7522 GB, free: 6.754 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006313/0.3178, allocations: 0.6687 MB / 0.7529 GB, free: 5.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.3179, allocations: 38.56 kB / 0.7529 GB, free: 5.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.3179, allocations: 4 kB / 0.7529 GB, free: 5.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001181/0.3191, allocations: 0.5052 MB / 0.7534 GB, free: 5.375 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3192, allocations: 51.41 kB / 0.7534 GB, free: 5.312 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.3205, allocations: 0.9417 MB / 0.7544 GB, free: 4.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.998e-05/0.3206, allocations: 33.7 kB / 0.7544 GB, free: 4.312 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005337/0.3212, allocations: 499.5 kB / 0.7549 GB, free: 3.816 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.3213, allocations: 114.4 kB / 0.755 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.3216, allocations: 118 kB / 0.7551 GB, free: 3.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002257/0.3218, allocations: 329.9 kB / 0.7554 GB, free: 3.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.3222, allocations: 169 kB / 0.7556 GB, free: 3.086 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.3228, allocations: 347.6 kB / 0.7559 GB, free: 2.676 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.3237, allocations: 0.507 MB / 0.7564 GB, free: 2.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.3237, allocations: 3.984 kB / 0.7564 GB, free: 2.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001255/0.325, allocations: 0.6136 MB / 0.757 GB, free: 1.473 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.325, allocations: 6.438 kB / 0.757 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.325, allocations: 12 kB / 0.757 GB, free: 1.457 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.3251, allocations: 8 kB / 0.757 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.3255, allocations: 119.8 kB / 0.7571 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.3256, allocations: 15.92 kB / 0.7572 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.3264, allocations: 111.2 kB / 0.7573 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.3265, allocations: 27.98 kB / 0.7573 GB, free: 1.18 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005333/0.327, allocations: 271.3 kB / 0.7575 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.3272, allocations: 102.8 kB / 0.7576 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.3282, allocations: 496.5 kB / 0.7581 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3283, allocations: 4 kB / 0.7581 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3283, allocations: 0 / 0.7581 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007418/0.329, allocations: 457.4 kB / 0.7586 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.3312, allocations: 1.369 MB / 0.7599 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3312, allocations: 3.938 kB / 0.7599 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.3316, allocations: 67.95 kB / 0.76 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/0.3316, allocations: 8 kB / 0.76 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.3316, allocations: 12 kB / 0.76 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.3316, allocations: 7.938 kB / 0.76 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3317, allocations: 8.141 kB / 0.76 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.3329, allocations: 0.7543 MB / 0.7607 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.3333, allocations: 235.6 kB / 0.761 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.3334, allocations: 8 kB / 0.761 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.334, allocations: 48.02 kB / 0.761 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.3341, allocations: 27.95 kB / 0.761 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.3341, allocations: 19.97 kB / 0.7611 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008835/0.335, allocations: 0.6471 MB / 0.7617 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.335, allocations: 0 / 0.7617 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001062/0.3361, allocations: 339.4 kB / 0.762 GB, free: 12.16 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008046/0.3369, allocations: 375.6 kB / 0.7624 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009069/0.3378, allocations: 416 kB / 0.7628 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3378, allocations: 0 / 0.7628 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.3382, allocations: 185.5 kB / 0.7629 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/0.3409, allocations: 0.5971 MB / 0.7635 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.3438, allocations: 1.983 MB / 0.7655 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/0.3444, allocations: 1.036 MB / 0.7665 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.3446, allocations: 79.42 kB / 0.7666 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.3446, allocations: 0 / 0.7666 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of Templates: time 0.4431/0.7877, allocations: 17.84 MB / 0.784 GB, free: 89.78 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o] Error 1