Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|subSta.Q_flow|subSta.m_flow|subSta.sta_a.T|subSta.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|subSta.Q_flow|subSta.m_flow|subSta.sta_a.T|subSta.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008457/0.0008455, allocations: 102.7 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.0009652/0.0009652, allocations: 173.8 kB / 16.58 MB, free: 6.406 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.488/1.488, allocations: 223.2 MB / 240.6 MB, free: 5.406 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.562/2.562, allocations: 390.4 MB / 0.6662 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003717, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9162/0.9166, allocations: 142.3 MB / 0.9544 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.05562/0.9723, allocations: 52.67 MB / 1.006 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.9943, allocations: 13.86 MB / 1.019 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002729/0.9971, allocations: 63.56 kB / 1.019 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.9999, allocations: 0.6873 MB / 1.02 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005734/1.006, allocations: 1.717 MB / 1.022 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004441/1.01, allocations: 1.385 MB / 1.023 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00693/1.017, allocations: 4.341 MB / 1.027 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/1.019, allocations: 1.004 MB / 1.028 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003697/1.023, allocations: 1.272 MB / 1.03 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/1.025, allocations: 0.9721 MB / 1.031 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002407/1.026, allocations: 52 kB / 1.031 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/1.029, allocations: 1.053 MB / 1.032 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000481/1.029, allocations: 326.6 kB / 1.032 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006975/1.03, allocations: 364.8 kB / 1.032 GB, free: 196 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003544/1.034, allocations: 2.307 MB / 1.035 GB, free: 13.88 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.034, allocations: 0 / 1.035 GB, free: 13.88 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.935e-06/1.034, allocations: 0 / 1.035 GB, free: 13.88 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.526e-05/1.034, allocations: 4 kB / 1.035 GB, free: 13.88 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003899/1.038, allocations: 1.838 MB / 1.036 GB, free: 11.97 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/1.038, allocations: 15.97 kB / 1.036 GB, free: 11.96 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/1.04, allocations: 485.5 kB / 1.037 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003658/1.044, allocations: 1.589 MB / 1.038 GB, free: 9.84 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005904/1.044, allocations: 201.9 kB / 1.039 GB, free: 9.645 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/1.044, allocations: 91.95 kB / 1.039 GB, free: 9.555 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002603/1.047, allocations: 1.158 MB / 1.04 GB, free: 8.348 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/1.047, allocations: 7.938 kB / 1.04 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/1.047, allocations: 35.98 kB / 1.04 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/1.047, allocations: 20 kB / 1.04 GB, free: 8.285 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/1.05, allocations: 1.05 MB / 1.041 GB, free: 7.238 MB / 0.795 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.008005/1.058, allocations: 5.161 MB / 1.046 GB, free: 1.793 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/1.06, allocations: 0.7415 MB / 1.047 GB, free: 1.043 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/1.061, allocations: 412.9 kB / 1.047 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003084/1.064, allocations: 1.881 MB / 1.049 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/1.065, allocations: 0.5375 MB / 1.049 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000442/1.066, allocations: 71.41 kB / 1.049 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.165e-06/1.066, allocations: 0 / 1.049 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.003444/1.069, allocations: 1.282 MB / 1.051 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.069, allocations: 122.8 kB / 1.051 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/1.071, allocations: 1.293 MB / 1.052 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.293e-05/1.072, allocations: 37.7 kB / 1.052 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/1.072, allocations: 0.6493 MB / 1.053 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/1.072, allocations: 145.9 kB / 1.053 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/1.072, allocations: 12 kB / 1.053 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.073, allocations: 337.9 kB / 1.053 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/1.074, allocations: 397.1 kB / 1.054 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/1.075, allocations: 0.6551 MB / 1.054 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/1.076, allocations: 474.1 kB / 1.055 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.076, allocations: 0 / 1.055 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003008/1.079, allocations: 1.212 MB / 1.056 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000285/1.079, allocations: 331 kB / 1.056 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.079, allocations: 4 kB / 1.056 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/1.08, allocations: 12 kB / 1.056 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008474/1.08, allocations: 223.6 kB / 1.056 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/1.08, allocations: 15.98 kB / 1.056 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/1.082, allocations: 133.2 kB / 1.057 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/1.082, allocations: 39.98 kB / 1.057 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.082, allocations: 8 kB / 1.057 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002284/1.084, allocations: 1.032 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.084, allocations: 11.94 kB / 1.058 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/1.084, allocations: 12 kB / 1.058 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/1.085, allocations: 192.2 kB / 1.058 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/1.085, allocations: 23.91 kB / 1.058 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.086, allocations: 124.5 kB / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/1.086, allocations: 35.98 kB / 1.058 GB, free: 4.875 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * 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.0009924/1.087, allocations: 0.4898 MB / 1.058 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/1.087, allocations: 142.3 kB / 1.059 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/1.09, allocations: 1.144 MB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.09, allocations: 7.984 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.09, allocations: 0 / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.091, allocations: 0 / 1.06 GB, free: 3.074 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 postOpt removeSimpleEquations (simulation): time 0.004791/1.095, allocations: 2.399 MB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.095, allocations: 4 kB / 1.062 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006768/1.096, allocations: 151.9 kB / 1.062 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/1.096, allocations: 4 kB / 1.062 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.869e-05/1.096, allocations: 19.98 kB / 1.062 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/1.096, allocations: 4 kB / 1.062 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/1.096, allocations: 4.266 kB / 1.062 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/1.099, allocations: 1.236 MB / 1.063 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007348/1.1, allocations: 331.1 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/1.1, allocations: 15.95 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.101, allocations: 131.9 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.101, allocations: 35.89 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/1.101, allocations: 31.97 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001736/1.103, allocations: 0.8833 MB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/1.103, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00266/1.106, allocations: 0.7056 MB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.001235/1.107, allocations: 436.6 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003832/1.111, allocations: 1.578 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.111, allocations: 0.5625 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.112, allocations: 0.527 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/1.116, allocations: 0.6176 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005878/1.121, allocations: 2.872 MB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.123, allocations: 1.202 MB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/1.123, allocations: 115.3 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of SimCode: time 9.91e-07/1.123, allocations: 0 / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of Templates: time 0.04647/1.17, allocations: 24.87 MB / 1.097 GB, free: 12.9 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.SubStations.Validation.HeatingSubstationCalcHelperMain.o OMCppBuildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstationCalcHelperMain.o] Error 1