Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009379/0.000938, allocations: 102.6 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.001099/0.0011, allocations: 176.7 kB / 16.58 MB, free: 6.402 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.767/1.767, allocations: 205.4 MB / 222.8 MB, free: 5.879 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.798/1.798, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005737/0.0005739, allocations: 12.12 kB / 0.6743 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3283, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.1193/0.4477, allocations: 106.7 MB / 0.8922 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.6941/1.142, allocations: 24.69 MB / 0.9163 GB, free: 28.63 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006385/1.148, allocations: 118.1 kB / 0.9164 GB, free: 28.63 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004403/1.153, allocations: 0.8513 MB / 0.9172 GB, free: 28.63 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01481/1.168, allocations: 2.754 MB / 0.9199 GB, free: 28.55 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009705/1.177, allocations: 2.204 MB / 0.9221 GB, free: 28.49 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01671/1.194, allocations: 8.099 MB / 0.93 GB, free: 28.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007538/1.202, allocations: 2.034 MB / 0.9319 GB, free: 28.22 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009581/1.211, allocations: 2.379 MB / 0.9343 GB, free: 28.21 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006926/1.218, allocations: 1.933 MB / 0.9362 GB, free: 27.81 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00145/1.22, allocations: 106.4 kB / 0.9363 GB, free: 27.81 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006496/1.226, allocations: 1.027 MB / 0.9373 GB, free: 27.71 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001995/1.228, allocations: 476.6 kB / 0.9377 GB, free: 27.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00299/1.231, allocations: 0.6239 MB / 0.9383 GB, free: 27.46 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008741/1.24, allocations: 3.889 MB / 0.9421 GB, free: 27.2 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.24, allocations: 1.094 kB / 0.9421 GB, free: 27.2 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.176e-06/1.24, allocations: 0 / 0.9421 GB, free: 27.2 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002476/1.24, allocations: 0 / 0.9421 GB, free: 27.2 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.01227/1.253, allocations: 2.867 MB / 0.9449 GB, free: 25.74 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/1.253, allocations: 10.39 kB / 0.9449 GB, free: 25.74 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00655/1.259, allocations: 1.099 MB / 0.946 GB, free: 25.54 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00833/1.268, allocations: 2.384 MB / 0.9483 GB, free: 24.99 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/1.268, allocations: 149.2 kB / 0.9485 GB, free: 24.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/1.269, allocations: 192.2 kB / 0.9487 GB, free: 24.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009952/1.279, allocations: 2.518 MB / 0.9511 GB, free: 24.65 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/1.279, allocations: 1.406 kB / 0.9511 GB, free: 24.65 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005798/1.28, allocations: 77.28 kB / 0.9512 GB, free: 24.65 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/1.28, allocations: 48.97 kB / 0.9512 GB, free: 24.65 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007817/1.288, allocations: 2.371 MB / 0.9536 GB, free: 24.58 MB / 0.7169 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.02149/1.309, allocations: 12.13 MB / 0.9654 GB, free: 16.99 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006371/1.316, allocations: 2.105 MB / 0.9675 GB, free: 16.54 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/1.318, allocations: 0.9436 MB / 0.9684 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/1.319, allocations: 1.378 MB / 0.9697 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.319, allocations: 46.19 kB / 0.9698 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002176/1.322, allocations: 224.9 kB / 0.97 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=105): time 1.185e-05/1.322, allocations: 3.938 kB / 0.97 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.03595/1.358, allocations: 9.155 MB / 0.9789 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/1.358, allocations: 170.8 kB / 0.9791 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004822/1.363, allocations: 2.06 MB / 0.9811 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003441/1.363, allocations: 49.8 kB / 0.9812 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/1.364, allocations: 1.197 MB / 0.9823 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005192/1.365, allocations: 385.2 kB / 0.9827 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/1.365, allocations: 30.94 kB / 0.9827 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.365, allocations: 358.9 kB / 0.9831 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/1.367, allocations: 0.8973 MB / 0.9839 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/1.37, allocations: 1.306 MB / 0.9852 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/1.372, allocations: 0.9913 MB / 0.9862 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.372, allocations: 3.594 kB / 0.9862 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008344/1.381, allocations: 3.001 MB / 0.9891 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002569/1.381, allocations: 376.1 kB / 0.9895 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/1.381, allocations: 11.17 kB / 0.9895 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005534/1.387, allocations: 1.44 MB / 0.9909 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/1.388, allocations: 332 kB / 0.9912 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/1.402, allocations: 6.078 MB / 0.9971 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/1.407, allocations: 383.5 kB / 0.9975 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005035/1.407, allocations: 75.45 kB / 0.9976 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.407, allocations: 4 kB / 0.9976 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00542/1.413, allocations: 2.365 MB / 0.9999 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/1.413, allocations: 10.62 kB / 0.9999 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002359/1.415, allocations: 0.6815 MB / 1.001 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.417, allocations: 394.5 kB / 1.001 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/1.429, allocations: 6.784 MB / 1.008 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003655/1.433, allocations: 331.4 kB / 1.008 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/1.433, allocations: 75.92 kB / 1.008 GB, free: 9.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (127): * Single equations (assignments): 125 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 16,3 36} Notification: Performance of prepare postOptimizeDAE: time 0.001803/1.435, allocations: 0.6187 MB / 1.009 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006628/1.436, allocations: 229.1 kB / 1.009 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006292/1.442, allocations: 2.511 MB / 1.011 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/1.442, allocations: 15.98 kB / 1.011 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.442, allocations: 6.578 kB / 1.011 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004838/1.447, allocations: 2.345 MB / 1.014 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/1.459, allocations: 5.128 MB / 1.019 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.459, allocations: 0 / 1.019 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/1.461, allocations: 267.8 kB / 1.019 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/1.464, allocations: 0.816 MB / 1.02 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/1.464, allocations: 42.81 kB / 1.02 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/1.466, allocations: 1.492 MB / 1.021 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.467, allocations: 0 / 1.021 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008508/1.475, allocations: 3.546 MB / 1.025 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.477, allocations: 0.5291 MB / 1.025 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004385/1.477, allocations: 24 kB / 1.025 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/1.48, allocations: 311.4 kB / 1.025 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.48, allocations: 76.84 kB / 1.025 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.48, allocations: 43.97 kB / 1.026 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002635/1.483, allocations: 1.399 MB / 1.027 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.283e-06/1.483, allocations: 0 / 1.027 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004668/1.487, allocations: 1.144 MB / 1.028 GB, free: 5.051 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.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 (86): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.00125/1.488, allocations: 0.5081 MB / 1.029 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009245/1.498, allocations: 3.827 MB / 1.032 GB, free: 0.7305 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.498, allocations: 4.062 kB / 1.032 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/1.5, allocations: 0.987 MB / 1.033 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006239/1.506, allocations: 1.156 MB / 1.034 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/1.52, allocations: 5.82 MB / 1.04 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.521, allocations: 1.622 MB / 1.042 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009938/1.522, allocations: 191.3 kB / 1.042 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of SimCode: time 1.112e-06/1.522, allocations: 0 / 1.042 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of Templates: time 0.09172/1.614, allocations: 61.59 MB / 1.102 GB, free: 9.793 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_CoolingCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_CoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_CoolingCalcHelperMain.o] Error 1