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.0008171/0.0008169, allocations: 97.78 kB / 16.02 MB, free: 76 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.0009296/0.0009293, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.352/1.352, allocations: 223.2 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 271.2 kB / 292.3 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9392/0.9392, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005206/0.0005206, allocations: 12.88 kB / 0.5993 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1906, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03595/0.2266, allocations: 40.47 MB / 0.7253 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01388/0.2406, allocations: 10.34 MB / 0.7354 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.2426, allocations: 47.69 kB / 0.7354 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.2441, allocations: 0.5322 MB / 0.736 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004715/0.2489, allocations: 1.741 MB / 0.7377 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.2516, allocations: 1.072 MB / 0.7387 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005151/0.2568, allocations: 4.529 MB / 0.7431 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.2583, allocations: 0.8539 MB / 0.744 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.2607, allocations: 1.011 MB / 0.7449 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.2625, allocations: 0.8709 MB / 0.7458 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.2627, allocations: 36 kB / 0.7458 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.2649, allocations: 0.7638 MB / 0.7466 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.2653, allocations: 215 kB / 0.7468 GB, free: 432 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.2663, allocations: 0.5769 MB / 0.7473 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.2684, allocations: 1.442 MB / 0.7487 GB, free: 14.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2684, allocations: 0 / 0.7487 GB, free: 14.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2684, allocations: 0 / 0.7487 GB, free: 14.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.532e-05/0.2685, allocations: 0 / 0.7487 GB, free: 14.39 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.002658/0.2711, allocations: 1.305 MB / 0.75 GB, free: 13.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2712, allocations: 8.031 kB / 0.75 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004594/0.2716, allocations: 139.4 kB / 0.7502 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.2735, allocations: 1.084 MB / 0.7512 GB, free: 11.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.2736, allocations: 50 kB / 0.7513 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.2737, allocations: 72 kB / 0.7513 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.2752, allocations: 0.8022 MB / 0.7521 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.2753, allocations: 3.938 kB / 0.7521 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/0.2754, allocations: 32 kB / 0.7522 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.2754, allocations: 23.94 kB / 0.7522 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.2766, allocations: 0.5906 MB / 0.7528 GB, free: 10.16 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.004137/0.2807, allocations: 3.548 MB / 0.7562 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.2813, allocations: 276.5 kB / 0.7565 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.2816, allocations: 188.8 kB / 0.7567 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004905/0.2821, allocations: 0.6537 MB / 0.7573 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.2822, allocations: 38.5 kB / 0.7573 GB, free: 5.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.2822, allocations: 0 / 0.7573 GB, free: 5.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001183/0.2834, allocations: 0.5481 MB / 0.7579 GB, free: 4.516 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.2834, allocations: 55.41 kB / 0.7579 GB, free: 4.449 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.2845, allocations: 0.9338 MB / 0.7588 GB, free: 3.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.2845, allocations: 29.7 kB / 0.7589 GB, free: 3.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/0.2849, allocations: 0.4918 MB / 0.7593 GB, free: 2.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.285, allocations: 110.4 kB / 0.7595 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.2851, allocations: 49.69 kB / 0.7595 GB, free: 2.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2852, allocations: 337.8 kB / 0.7598 GB, free: 2.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.2856, allocations: 177 kB / 0.76 GB, free: 2.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.2861, allocations: 359.6 kB / 0.7603 GB, free: 1.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.2869, allocations: 0.5344 MB / 0.7609 GB, free: 1.258 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2869, allocations: 0 / 0.7609 GB, free: 1.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001047/0.288, allocations: 0.6407 MB / 0.7615 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.288, allocations: 4 kB / 0.7615 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.288, allocations: 8 kB / 0.7615 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.288, allocations: 8 kB / 0.7615 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.2884, allocations: 131.8 kB / 0.7616 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.2885, allocations: 12.25 kB / 0.7616 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.2892, allocations: 119.2 kB / 0.7618 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.2892, allocations: 31.94 kB / 0.7618 GB, free: 308 kB / 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.0003242/0.2895, allocations: 267.4 kB / 0.762 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.2897, allocations: 102.9 kB / 0.7621 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009508/0.2906, allocations: 0.5004 MB / 0.7626 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.2907, allocations: 11.98 kB / 0.7626 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2907, allocations: 0 / 0.7626 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000701/0.2914, allocations: 473.4 kB / 0.7631 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.2933, allocations: 1.381 MB / 0.7644 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.2933, allocations: 4 kB / 0.7644 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.2936, allocations: 83.98 kB / 0.7645 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.2936, allocations: 4 kB / 0.7645 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.2937, allocations: 11.98 kB / 0.7645 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.2937, allocations: 7.938 kB / 0.7645 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.2937, allocations: 3.984 kB / 0.7645 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.2949, allocations: 0.7933 MB / 0.7653 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.2952, allocations: 259.7 kB / 0.7656 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.2953, allocations: 4 kB / 0.7656 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.2959, allocations: 51.95 kB / 0.7656 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.2959, allocations: 31.89 kB / 0.7657 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.296, allocations: 19.98 kB / 0.7657 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007742/0.2968, allocations: 0.6471 MB / 0.7663 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2968, allocations: 0 / 0.7663 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009222/0.2977, allocations: 327.5 kB / 0.7666 GB, free: 11.17 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.0007327/0.2984, allocations: 377.5 kB / 0.767 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008433/0.2993, allocations: 440.7 kB / 0.7674 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2993, allocations: 0 / 0.7674 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.2997, allocations: 197.2 kB / 0.7676 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.3026, allocations: 0.6097 MB / 0.7682 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.3051, allocations: 2.018 MB / 0.7702 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.3057, allocations: 1.032 MB / 0.7712 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.3059, allocations: 91.34 kB / 0.7712 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.3059, allocations: 0 / 0.7712 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of Templates: time 0.3571/0.663, allocations: 17.7 MB / 0.7885 GB, free: 88.47 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