Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.01244/0.01244, allocations: 100.2 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 189.4 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.1 MB / 222.6 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.868/1.868, allocations: 292.3 MB / 0.5491 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001515, allocations: 76.55 kB / 0.6715 GB, free: 26.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3015, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04423/0.3458, allocations: 41.35 MB / 0.8237 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.3639, allocations: 10.36 MB / 0.8338 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.3668, allocations: 51.62 kB / 0.8339 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.3689, allocations: 0.5362 MB / 0.8344 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008452/0.3774, allocations: 1.723 MB / 0.8361 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00462/0.382, allocations: 1.082 MB / 0.8371 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006915/0.389, allocations: 4.516 MB / 0.8415 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.3913, allocations: 0.8751 MB / 0.8424 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003031/0.3944, allocations: 1.046 MB / 0.8434 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002318/0.3967, allocations: 0.8943 MB / 0.8443 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003783/0.3971, allocations: 51.98 kB / 0.8443 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.4001, allocations: 0.7794 MB / 0.8451 GB, free: 14.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005766/0.4007, allocations: 223 kB / 0.8453 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.4023, allocations: 0.5752 MB / 0.8459 GB, free: 13.71 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00285/0.4051, allocations: 1.466 MB / 0.8473 GB, free: 12.24 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4052, allocations: 3.938 kB / 0.8473 GB, free: 12.23 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4052, allocations: 0 / 0.8473 GB, free: 12.23 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.55e-05/0.4053, allocations: 0 / 0.8473 GB, free: 12.23 MB / 0.67 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.004303/0.4096, allocations: 1.507 MB / 0.8488 GB, free: 10.67 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.4096, allocations: 8.031 kB / 0.8488 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000473/0.4101, allocations: 131.4 kB / 0.8489 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.412, allocations: 1.076 MB / 0.85 GB, free: 9.418 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.4121, allocations: 61.98 kB / 0.85 GB, free: 9.355 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4122, allocations: 72 kB / 0.8501 GB, free: 9.285 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.4137, allocations: 0.7944 MB / 0.8509 GB, free: 8.457 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.4137, allocations: 0 / 0.8509 GB, free: 8.457 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.4138, allocations: 32 kB / 0.8509 GB, free: 8.426 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.4138, allocations: 19.94 kB / 0.8509 GB, free: 8.406 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.415, allocations: 0.5711 MB / 0.8515 GB, free: 7.832 MB / 0.67 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.004383/0.4194, allocations: 3.536 MB / 0.8549 GB, free: 4.066 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/0.42, allocations: 258.4 kB / 0.8552 GB, free: 3.805 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.4204, allocations: 177.7 kB / 0.8554 GB, free: 3.629 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/0.4211, allocations: 0.657 MB / 0.856 GB, free: 2.824 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.4211, allocations: 42.56 kB / 0.856 GB, free: 2.773 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.4211, allocations: 0 / 0.856 GB, free: 2.773 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001374/0.4225, allocations: 0.5098 MB / 0.8565 GB, free: 2.258 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.4226, allocations: 59.39 kB / 0.8566 GB, free: 2.188 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.4239, allocations: 0.9254 MB / 0.8575 GB, free: 1.242 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.4239, allocations: 37.7 kB / 0.8575 GB, free: 1.199 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.4244, allocations: 495.6 kB / 0.858 GB, free: 0.707 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.4246, allocations: 114.4 kB / 0.8581 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.4248, allocations: 118 kB / 0.8582 GB, free: 480 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.425, allocations: 329.9 kB / 0.8585 GB, free: 144 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.4254, allocations: 165 kB / 0.8587 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.4259, allocations: 355.5 kB / 0.859 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008755/0.4268, allocations: 0.5147 MB / 0.8595 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.4268, allocations: 4 kB / 0.8595 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001187/0.428, allocations: 0.6137 MB / 0.8601 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.4281, allocations: 8 kB / 0.8601 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4281, allocations: 8.031 kB / 0.8602 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.4281, allocations: 8 kB / 0.8602 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.4286, allocations: 123.8 kB / 0.8603 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.4286, allocations: 11.98 kB / 0.8603 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/0.4295, allocations: 107.1 kB / 0.8604 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.4295, allocations: 35.92 kB / 0.8604 GB, free: 14.05 MB / 0.6856 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.000423/0.43, allocations: 274.6 kB / 0.8607 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.4301, allocations: 106.8 kB / 0.8608 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.4312, allocations: 484.3 kB / 0.8613 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.4312, allocations: 4 kB / 0.8613 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4312, allocations: 0 / 0.8613 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007797/0.432, allocations: 456.8 kB / 0.8617 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.4342, allocations: 1.346 MB / 0.863 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4342, allocations: 4.062 kB / 0.863 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.4345, allocations: 79.88 kB / 0.8631 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4345, allocations: 3.938 kB / 0.8631 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.4346, allocations: 16 kB / 0.8631 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4346, allocations: 0 / 0.8631 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.4346, allocations: 7.938 kB / 0.8631 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.4359, allocations: 0.7657 MB / 0.8639 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.4362, allocations: 219.7 kB / 0.8641 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.4364, allocations: 15.98 kB / 0.8641 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005542/0.4369, allocations: 51.92 kB / 0.8641 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.437, allocations: 27.91 kB / 0.8642 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.4371, allocations: 19.98 kB / 0.8642 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008669/0.4379, allocations: 0.6391 MB / 0.8648 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4379, allocations: 0 / 0.8648 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001053/0.439, allocations: 343.4 kB / 0.8651 GB, free: 9.055 MB / 0.6856 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.000836/0.4399, allocations: 378.9 kB / 0.8655 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008848/0.4407, allocations: 420.5 kB / 0.8659 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4408, allocations: 4.125 kB / 0.8659 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.4411, allocations: 183.7 kB / 0.8661 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/0.4438, allocations: 0.601 MB / 0.8667 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.4466, allocations: 1.963 MB / 0.8686 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.4472, allocations: 1.032 MB / 0.8696 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.4475, allocations: 83.42 kB / 0.8697 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of SimCode: time 4.11e-07/0.4475, allocations: 4 kB / 0.8697 GB, free: 4.332 MB / 0.6856 GB Notification: Performance of Templates: time 0.02983/0.4773, allocations: 17.79 MB / 0.887 GB, free: 2.695 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile make -j1 -f Buildings_8_Buildings.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchangerCalcHelperMain.o] Error 1