Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|ECoo.y|EHea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|ECoo.y|EHea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 102.2 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.001456/0.001456, allocations: 170.6 kB / 16.58 MB, free: 6.402 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.449/1.449, allocations: 223.2 MB / 240.6 MB, free: 5.391 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.616/2.616, allocations: 390.4 MB / 0.6662 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003678, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8893/0.8897, allocations: 142.3 MB / 0.9544 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.06088/0.9506, allocations: 57.83 MB / 1.011 GB, free: 6.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02486/0.9756, allocations: 15.59 MB / 1.026 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004071/0.9797, allocations: 79.44 kB / 1.026 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.9831, allocations: 0.788 MB / 1.027 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007922/0.9911, allocations: 2.202 MB / 1.029 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005778/0.9968, allocations: 1.68 MB / 1.031 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00937/1.006, allocations: 5.717 MB / 1.036 GB, free: 12.04 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/1.009, allocations: 1.341 MB / 1.038 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004614/1.014, allocations: 1.715 MB / 1.039 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002618/1.016, allocations: 1.353 MB / 1.041 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/1.017, allocations: 76 kB / 1.041 GB, free: 7.516 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003886/1.021, allocations: 1.47 MB / 1.042 GB, free: 6.043 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005478/1.021, allocations: 418.2 kB / 1.043 GB, free: 5.633 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008605/1.022, allocations: 444.6 kB / 1.043 GB, free: 5.191 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004125/1.026, allocations: 2.665 MB / 1.046 GB, free: 2.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/1.026, allocations: 0 / 1.046 GB, free: 2.52 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.228e-06/1.026, allocations: 0 / 1.046 GB, free: 2.52 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.672e-05/1.026, allocations: 3.938 kB / 1.046 GB, free: 2.516 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.004851/1.031, allocations: 2.233 MB / 1.048 GB, free: 220 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.031, allocations: 8.031 kB / 1.048 GB, free: 212 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003936/1.035, allocations: 0.8559 MB / 1.049 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/1.039, allocations: 1.815 MB / 1.05 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/1.039, allocations: 174.2 kB / 1.051 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/1.039, allocations: 128 kB / 1.051 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/1.043, allocations: 1.681 MB / 1.052 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/1.043, allocations: 7.938 kB / 1.052 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/1.043, allocations: 48 kB / 1.052 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/1.043, allocations: 42.14 kB / 1.052 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/1.047, allocations: 1.613 MB / 1.054 GB, free: 9.676 MB / 0.8106 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.01242/1.059, allocations: 8.924 MB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/1.064, allocations: 1.506 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/1.066, allocations: 0.631 MB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006202/1.072, allocations: 2.896 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/1.074, allocations: 0.6901 MB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001017/1.075, allocations: 183 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=66): time 4.308e-06/1.075, allocations: 0 / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=66): time 0.004757/1.08, allocations: 1.762 MB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/1.08, allocations: 55.97 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/1.083, allocations: 1.551 MB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.762e-05/1.083, allocations: 45.69 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000863/1.084, allocations: 0.8805 MB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/1.084, allocations: 240.6 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/1.084, allocations: 20 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001956/1.084, allocations: 353.9 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/1.086, allocations: 0.5725 MB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001909/1.087, allocations: 1.018 MB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/1.089, allocations: 0.6645 MB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.089, allocations: 8 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.004222/1.093, allocations: 1.727 MB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000486/1.094, allocations: 487.2 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/1.094, allocations: 12 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-05/1.094, allocations: 24 kB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.095, allocations: 351.5 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-05/1.095, allocations: 23.94 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/1.097, allocations: 212.3 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/1.098, allocations: 67.92 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.098, allocations: 4 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00363/1.101, allocations: 1.548 MB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/1.101, allocations: 16.03 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.101, allocations: 20 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.103, allocations: 351.4 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/1.103, allocations: 23.92 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.104, allocations: 218.2 kB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/1.105, allocations: 59.92 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * 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.001034/1.106, allocations: 492.7 kB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/1.106, allocations: 177.8 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/1.11, allocations: 1.572 MB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/1.11, allocations: 8 kB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.11, allocations: 0 / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003107/1.113, allocations: 1.457 MB / 1.084 GB, free: 9.395 MB / 0.8419 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 postOpt removeSimpleEquations (simulation): time 0.006983/1.12, allocations: 3.191 MB / 1.087 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.12, allocations: 0 / 1.087 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/1.121, allocations: 239.7 kB / 1.087 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/1.121, allocations: 3.984 kB / 1.087 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/1.121, allocations: 31.94 kB / 1.087 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/1.121, allocations: 4 kB / 1.087 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.121, allocations: 4 kB / 1.087 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/1.126, allocations: 2.268 MB / 1.09 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008841/1.127, allocations: 374.6 kB / 1.09 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/1.127, allocations: 20 kB / 1.09 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.129, allocations: 196.6 kB / 1.09 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.129, allocations: 56.52 kB / 1.09 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.812e-05/1.129, allocations: 31.97 kB / 1.09 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001718/1.131, allocations: 1.034 MB / 1.091 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.131, allocations: 4 kB / 1.091 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003151/1.134, allocations: 0.9473 MB / 1.092 GB, free: 0.8477 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.001167/1.135, allocations: 0.4969 MB / 1.093 GB, free: 364 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005449/1.14, allocations: 2.298 MB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.14, allocations: 4.125 kB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/1.142, allocations: 0.6596 MB / 1.096 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/1.146, allocations: 0.7672 MB / 1.096 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.156, allocations: 4.619 MB / 1.101 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.157, allocations: 1.365 MB / 1.102 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/1.158, allocations: 167.3 kB / 1.102 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of SimCode: time 1.062e-06/1.158, allocations: 0 / 1.102 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of Templates: time 0.05557/1.213, allocations: 31.8 MB / 1.133 GB, free: 6.891 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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_T_ClosedLoopCalcHelperMain.o OMCppBuildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoopCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoopCalcHelperMain.o] Error 1