Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.0009052, allocations: 98.89 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.0009666/0.0009664, allocations: 179.8 kB / 16.58 MB, free: 6.879 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.537/1.537, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.801/2.801, allocations: 436.7 MB / 0.7113 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005275, allocations: 16.22 kB / 0.8717 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8056, allocations: 153.7 MB / 1.022 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.203/1.009, allocations: 173.3 MB / 1.191 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009745/1.018, allocations: 5.383 MB / 1.196 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/1.02, allocations: 35.75 kB / 1.196 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/1.021, allocations: 393.5 kB / 1.197 GB, free: 13.64 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003638/1.025, allocations: 1.213 MB / 1.198 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/1.028, allocations: 0.8854 MB / 1.199 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003983/1.032, allocations: 2.982 MB / 1.202 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/1.033, allocations: 0.738 MB / 1.202 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/1.035, allocations: 0.8635 MB / 1.203 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/1.036, allocations: 0.7939 MB / 1.204 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/1.036, allocations: 44 kB / 1.204 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/1.039, allocations: 0.9276 MB / 1.205 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005234/1.039, allocations: 434.8 kB / 1.205 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003433/1.039, allocations: 249.1 kB / 1.206 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/1.041, allocations: 1.52 MB / 1.207 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.041, allocations: 7.938 kB / 1.207 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.845e-06/1.041, allocations: 0 / 1.207 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.387e-05/1.041, allocations: 0 / 1.207 GB, free: 2.953 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002303/1.044, allocations: 1.301 MB / 1.208 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.044, allocations: 11.98 kB / 1.208 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/1.047, allocations: 0.4943 MB / 1.209 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/1.048, allocations: 0.7973 MB / 1.21 GB, free: 260 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/1.048, allocations: 129.9 kB / 1.21 GB, free: 128 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/1.048, allocations: 92 kB / 1.21 GB, free: 36 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/1.051, allocations: 1.187 MB / 1.211 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/1.051, allocations: 0 / 1.211 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-05/1.051, allocations: 43.98 kB / 1.211 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/1.051, allocations: 37.98 kB / 1.211 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/1.053, allocations: 1.105 MB / 1.212 GB, free: 13.64 MB / 0.9669 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.006772/1.06, allocations: 4.378 MB / 1.216 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/1.062, allocations: 0.7878 MB / 1.217 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008883/1.063, allocations: 422.2 kB / 1.218 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/1.063, allocations: 101.1 kB / 1.218 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.063, allocations: 46.56 kB / 1.218 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 1.943e-06/1.063, allocations: 0 / 1.218 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.005812/1.069, allocations: 2.281 MB / 1.22 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.069, allocations: 59.41 kB / 1.22 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/1.07, allocations: 0.8607 MB / 1.221 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.07e-05/1.07, allocations: 37.7 kB / 1.221 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/1.07, allocations: 499.3 kB / 1.221 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/1.071, allocations: 169.5 kB / 1.221 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/1.071, allocations: 12 kB / 1.222 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.071, allocations: 333.9 kB / 1.222 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008961/1.072, allocations: 385 kB / 1.222 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/1.073, allocations: 0.5247 MB / 1.223 GB, free: 2.348 MB / 0.9669 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004124/1.077, allocations: 1.562 MB / 1.224 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.077, allocations: 4 kB / 1.224 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002336/1.079, allocations: 1.021 MB / 1.225 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/1.079, allocations: 9.406 kB / 1.225 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.079, allocations: 7.938 kB / 1.225 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/1.079, allocations: 8 kB / 1.225 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009521/1.08, allocations: 211.8 kB / 1.225 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/1.08, allocations: 4 kB / 1.225 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/1.081, allocations: 119.7 kB / 1.226 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/1.082, allocations: 23.98 kB / 1.226 GB, free: 15.36 MB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * 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.0006036/1.082, allocations: 313.6 kB / 1.226 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/1.082, allocations: 90.97 kB / 1.226 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/1.083, allocations: 104.8 kB / 1.226 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.083, allocations: 4 kB / 1.226 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.083, allocations: 0 / 1.226 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001961/1.085, allocations: 1.077 MB / 1.227 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004864/1.09, allocations: 2.202 MB / 1.229 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.09, allocations: 4.406 kB / 1.229 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008689/1.09, allocations: 183.7 kB / 1.229 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/1.09, allocations: 4 kB / 1.229 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/1.091, allocations: 19.98 kB / 1.229 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/1.091, allocations: 4 kB / 1.229 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.091, allocations: 7.938 kB / 1.23 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003042/1.094, allocations: 1.491 MB / 1.231 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/1.094, allocations: 263.8 kB / 1.231 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/1.094, allocations: 12 kB / 1.231 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.095, allocations: 114.1 kB / 1.231 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/1.096, allocations: 35.86 kB / 1.231 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/1.096, allocations: 27.97 kB / 1.231 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000913/1.097, allocations: 0.6005 MB / 1.232 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.097, allocations: 0 / 1.232 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001032/1.098, allocations: 268 kB / 1.232 GB, free: 8.293 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * 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.0005562/1.098, allocations: 208.7 kB / 1.232 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002068/1.1, allocations: 0.843 MB / 1.233 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.1, allocations: 4 kB / 1.233 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0009164/1.101, allocations: 412.3 kB / 1.234 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/1.104, allocations: 0.5598 MB / 1.234 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/1.109, allocations: 2.635 MB / 1.237 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/1.11, allocations: 1.107 MB / 1.238 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/1.11, allocations: 75.42 kB / 1.238 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of SimCode: time 9.22e-07/1.11, allocations: 0 / 1.238 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of Templates: time 0.02772/1.138, allocations: 16.82 MB / 1.254 GB, free: 1.699 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRateCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRateCalcHelperMain.o] Error 1