Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.m_flow|pla.m_flow_nominal|pla.sta_a.T|pla.sta_b.T|Q_flow_nominal|pla.QHea_flow|pla.QCoo_flow|pla.dp|pla.dp_nominal",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.m_flow|pla.m_flow_nominal|pla.sta_a.T|pla.sta_b.T|Q_flow_nominal|pla.QHea_flow|pla.QCoo_flow|pla.dp|pla.dp_nominal",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 103 kB / 15.71 MB, free: 460 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.001993/0.001994, allocations: 174.2 kB / 16.58 MB, free: 6.039 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.477/1.477, allocations: 223.2 MB / 240.6 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.499/2.499, allocations: 390.5 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004119, allocations: 8 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8307/0.8311, allocations: 142.3 MB / 0.9544 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T): time 0.03573/0.8669, allocations: 32.47 MB / 0.9861 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.8789, allocations: 6.446 MB / 0.9924 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.8808, allocations: 36.81 kB / 0.9924 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.8822, allocations: 330.3 kB / 0.9928 GB, free: 8.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003878/0.8861, allocations: 1.009 MB / 0.9937 GB, free: 7.828 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.8888, allocations: 0.7005 MB / 0.9944 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005951/0.8947, allocations: 2.524 MB / 0.9969 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.8964, allocations: 0.5711 MB / 0.9975 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.8994, allocations: 0.7853 MB / 0.9982 GB, free: 3.227 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.9009, allocations: 0.5755 MB / 0.9988 GB, free: 2.648 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.901, allocations: 32 kB / 0.9988 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.9035, allocations: 0.7056 MB / 0.9995 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.9037, allocations: 147.2 kB / 0.9996 GB, free: 1.766 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.9041, allocations: 221.2 kB / 0.9999 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.9061, allocations: 1.171 MB / 1.001 GB, free: 380 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.9061, allocations: 0 / 1.001 GB, free: 380 kB / 0.7481 GB Notification: Performance of FrontEnd: time 6.041e-06/0.9061, allocations: 4 kB / 1.001 GB, free: 376 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.9061, allocations: 0 / 1.001 GB, free: 376 kB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002614/0.9087, allocations: 1.187 MB / 1.002 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.9088, allocations: 8.031 kB / 1.002 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.9112, allocations: 0.5021 MB / 1.003 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.913, allocations: 0.8306 MB / 1.003 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.157e-05/0.9131, allocations: 49.25 kB / 1.004 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.9133, allocations: 56 kB / 1.004 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.9153, allocations: 0.8671 MB / 1.004 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.9153, allocations: 0 / 1.004 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/0.9154, allocations: 28 kB / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.9154, allocations: 15.95 kB / 1.004 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.9177, allocations: 0.8599 MB / 1.005 GB, free: 11.82 MB / 0.7637 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.006972/0.9246, allocations: 4.68 MB / 1.01 GB, free: 6.746 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/0.9283, allocations: 0.9632 MB / 1.011 GB, free: 5.773 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.9294, allocations: 404.7 kB / 1.011 GB, free: 5.375 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009843/0.9304, allocations: 0.9454 MB / 1.012 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.9304, allocations: 34.56 kB / 1.012 GB, free: 4.184 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=35): time 2.835e-06/0.9304, allocations: 4 kB / 1.012 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of matching and sorting (n=35): time 0.003176/0.9336, allocations: 1.148 MB / 1.013 GB, free: 3.023 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.9337, allocations: 55.41 kB / 1.013 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009271/0.9346, allocations: 0.7043 MB / 1.014 GB, free: 2.242 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.9347, allocations: 33.7 kB / 1.014 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.9351, allocations: 443.9 kB / 1.014 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.9352, allocations: 130.1 kB / 1.015 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.9353, allocations: 12 kB / 1.015 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9354, allocations: 321.9 kB / 1.015 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009879/0.9364, allocations: 360.9 kB / 1.015 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.9376, allocations: 0.5331 MB / 1.016 GB, free: 356 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.9386, allocations: 379.5 kB / 1.016 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9386, allocations: 0 / 1.016 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002355/0.941, allocations: 0.9295 MB / 1.017 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.9412, allocations: 220.2 kB / 1.017 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.9412, allocations: 4 kB / 1.017 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.9412, allocations: 11.98 kB / 1.017 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008909/0.9421, allocations: 207.8 kB / 1.017 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.9421, allocations: 11.92 kB / 1.017 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.9431, allocations: 159.4 kB / 1.018 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.9432, allocations: 23.98 kB / 1.018 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.9432, allocations: 7.953 kB / 1.018 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002147/0.9454, allocations: 0.8348 MB / 1.018 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.9454, allocations: 7.938 kB / 1.018 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.9454, allocations: 8 kB / 1.018 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008331/0.9462, allocations: 216.2 kB / 1.019 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.9463, allocations: 8 kB / 1.019 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/0.9472, allocations: 155.5 kB / 1.019 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.9472, allocations: 23.98 kB / 1.019 GB, free: 13.1 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (55): * Single equations (assignments): 55 * 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.0005005/0.9477, allocations: 316.9 kB / 1.019 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.9479, allocations: 86.92 kB / 1.019 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.9507, allocations: 1.006 MB / 1.02 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.9507, allocations: 11.98 kB / 1.02 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.9507, allocations: 0 / 1.02 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.9508, allocations: 0 / 1.02 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.9546, allocations: 1.91 MB / 1.022 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.9546, allocations: 7.984 kB / 1.022 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009102/0.9555, allocations: 179.9 kB / 1.022 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.9555, allocations: 0 / 1.022 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.9556, allocations: 11.98 kB / 1.022 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.9556, allocations: 7.984 kB / 1.022 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9556, allocations: 0 / 1.022 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00354/0.9591, allocations: 1.518 MB / 1.024 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.9595, allocations: 235.8 kB / 1.024 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-05/0.9596, allocations: 8.062 kB / 1.024 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000713/0.9604, allocations: 123.9 kB / 1.024 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.9605, allocations: 35.89 kB / 1.024 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.9605, allocations: 15.98 kB / 1.024 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006796/0.9612, allocations: 0.4912 MB / 1.025 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9612, allocations: 0 / 1.025 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001423/0.9626, allocations: 427 kB / 1.025 GB, free: 6.613 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0008191/0.9635, allocations: 314.4 kB / 1.025 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003447/0.9669, allocations: 1.291 MB / 1.027 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9669, allocations: 0 / 1.027 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.9681, allocations: 447.8 kB / 1.027 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.9697, allocations: 328.5 kB / 1.027 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006543/0.9763, allocations: 2.415 MB / 1.03 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/0.977, allocations: 0.9624 MB / 1.031 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.9774, allocations: 83.39 kB / 1.031 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of SimCode: time 3.577e-06/0.9774, allocations: 0 / 1.031 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of Templates: time 0.02689/1.004, allocations: 15.04 MB / 1.045 GB, free: 1.836 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_TCalcHelperMain.o OMCppBuildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_TCalcHelperMain.o] Error 1