Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ntu.1.|ntu.2.|ntu.3.|ntu.4.|ntu.5.|ntu.6.",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009486/0.0009488, allocations: 100.5 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.001647/0.001647, allocations: 176 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.54/1.54, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.959/2.959, allocations: 436.7 MB / 0.7113 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005285/0.0005287, allocations: 16.22 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9905/0.9911, allocations: 153.6 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001037/0.9922, allocations: 328.4 kB / 1.022 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.9951, allocations: 1.659 MB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.9951, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.9952, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.9952, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.9961, allocations: 248.9 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.9964, allocations: 111.8 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.959e-05/0.9964, allocations: 3.984 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.9965, allocations: 51.91 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.9967, allocations: 59.92 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.9967, allocations: 4 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.9972, allocations: 267.7 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.9973, allocations: 39.89 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.9974, allocations: 37.64 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.9977, allocations: 175.7 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.9977, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9977, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.9977, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007135/0.9984, allocations: 429.1 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.9985, allocations: 11.98 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.9985, allocations: 7.906 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.9987, allocations: 171 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.9988, allocations: 11.95 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.9988, allocations: 16 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.9992, allocations: 214.6 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.9992, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.9992, allocations: 7.984 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.9993, allocations: 4 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.9996, allocations: 179.7 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/1, allocations: 278.1 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009056/1.001, allocations: 415.8 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/1.001, allocations: 181.1 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/1.002, allocations: 199.2 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/1.002, allocations: 38.56 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 3.277e-06/1.002, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.0007173/1.002, allocations: 393.1 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/1.003, allocations: 187.9 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/1.003, allocations: 93.86 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/1.003, allocations: 33.64 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/1.003, allocations: 80.7 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.003, allocations: 110.5 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/1.003, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.003, allocations: 322.8 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/1.003, allocations: 83.92 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/1.003, allocations: 138.2 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/1.004, allocations: 117.4 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.004, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004355/1.004, allocations: 285.3 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.004, allocations: 4 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.004, allocations: 4 kB / 1.028 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.004, allocations: 4 kB / 1.028 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/1.004, allocations: 59.89 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.004, allocations: 4 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/1.004, allocations: 19.78 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/1.005, allocations: 15.98 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001241/1.005, allocations: 129.8 kB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/1.005, allocations: 15.86 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006084/1.005, allocations: 365.1 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/1.005, allocations: 8 kB / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.005, allocations: 0 / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.005, allocations: 4 kB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/1.006, allocations: 257.3 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.006, allocations: 3.984 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/1.006, allocations: 55.91 kB / 1.029 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.006, allocations: 3.938 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/1.006, allocations: 19.94 kB / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.006, allocations: 0 / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.006, allocations: 7.938 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/1.006, allocations: 342.2 kB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/1.007, allocations: 124.8 kB / 1.03 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/1.007, allocations: 8 kB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/1.007, allocations: 3.953 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/1.007, allocations: 31.91 kB / 1.03 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/1.007, allocations: 16.3 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.845e-05/1.007, allocations: 75.28 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/1.007, allocations: 0 / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004029/1.007, allocations: 95.98 kB / 1.03 GB, free: 8.031 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (30): * Single equations (assignments): 30 * 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 Backend phase and start with SimCode phase: time 0.0005365/1.008, allocations: 211.9 kB / 1.03 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004065/1.008, allocations: 239.7 kB / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.008, allocations: 0 / 1.03 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/1.008, allocations: 139.8 kB / 1.031 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/1.009, allocations: 15.98 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/1.009, allocations: 423.9 kB / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/1.01, allocations: 0.718 MB / 1.032 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/1.01, allocations: 43.41 kB / 1.032 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/1.01, allocations: 4 kB / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of Templates: time 0.005125/1.015, allocations: 2.875 MB / 1.035 GB, free: 3.312 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZCalcHelperMain.o] Error 1