Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,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.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,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.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008456/0.0008457, allocations: 100.5 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.00107/0.00107, allocations: 178.8 kB / 16.58 MB, free: 6.422 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.544/1.544, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 436.7 MB / 0.7113 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 12 kB / 0.8717 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8718/0.8722, allocations: 153.7 MB / 1.022 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2121/1.084, allocations: 173.3 MB / 1.191 GB, free: 3.273 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009732/1.094, allocations: 5.384 MB / 1.196 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/1.096, allocations: 31.81 kB / 1.196 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/1.097, allocations: 401.5 kB / 1.197 GB, free: 13.45 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.003967/1.101, allocations: 1.363 MB / 1.198 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/1.103, allocations: 0.842 MB / 1.199 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004297/1.108, allocations: 3.45 MB / 1.202 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/1.109, allocations: 0.8057 MB / 1.203 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/1.111, allocations: 0.879 MB / 1.204 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/1.112, allocations: 0.9108 MB / 1.205 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/1.113, allocations: 44 kB / 1.205 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/1.115, allocations: 0.7132 MB / 1.205 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005268/1.115, allocations: 498.6 kB / 1.206 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003737/1.116, allocations: 277.1 kB / 1.206 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/1.118, allocations: 1.633 MB / 1.208 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/1.118, allocations: 3.984 kB / 1.208 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.973e-06/1.118, allocations: 3.938 kB / 1.208 GB, free: 2 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.491e-05/1.118, allocations: 4 kB / 1.208 GB, free: 1.996 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002273/1.12, allocations: 1.371 MB / 1.209 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.12, allocations: 8.031 kB / 1.209 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/1.122, allocations: 326.2 kB / 1.209 GB, free: 252 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/1.123, allocations: 0.8479 MB / 1.21 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/1.123, allocations: 89.88 kB / 1.21 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/1.123, allocations: 96 kB / 1.21 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/1.125, allocations: 1.077 MB / 1.212 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.125, allocations: 0 / 1.212 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/1.125, allocations: 44 kB / 1.212 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/1.125, allocations: 41.98 kB / 1.212 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/1.127, allocations: 0.9954 MB / 1.213 GB, free: 13.01 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.005929/1.133, allocations: 4.251 MB / 1.217 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/1.134, allocations: 0.5942 MB / 1.217 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/1.135, allocations: 358.4 kB / 1.218 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/1.135, allocations: 105.5 kB / 1.218 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.135, allocations: 42.95 kB / 1.218 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=53): time 2.615e-06/1.135, allocations: 4 kB / 1.218 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=55): time 0.004077/1.139, allocations: 2.22 MB / 1.22 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/1.139, allocations: 59.97 kB / 1.22 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/1.14, allocations: 0.8765 MB / 1.221 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/1.14, allocations: 37.7 kB / 1.221 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/1.14, allocations: 0.5146 MB / 1.221 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/1.141, allocations: 197.1 kB / 1.222 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/1.141, allocations: 15.94 kB / 1.222 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.141, allocations: 334 kB / 1.222 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/1.141, allocations: 293.8 kB / 1.222 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/1.142, allocations: 436.9 kB / 1.223 GB, free: 2.16 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.002815/1.145, allocations: 1.1 MB / 1.224 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.145, allocations: 0 / 1.224 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001555/1.146, allocations: 0.9299 MB / 1.225 GB, free: 104 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.146, allocations: 9.562 kB / 1.225 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.146, allocations: 7.938 kB / 1.225 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/1.147, allocations: 98.56 kB / 1.225 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/1.147, allocations: 175.8 kB / 1.225 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/1.151, allocations: 4.278 MB / 1.229 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.152, allocations: 79.95 kB / 1.229 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/1.152, allocations: 24 kB / 1.229 GB, free: 11.03 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006401/1.153, allocations: 347.5 kB / 1.229 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.153, allocations: 98.88 kB / 1.23 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/1.153, allocations: 109.2 kB / 1.23 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.153, allocations: 4 kB / 1.23 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.153, allocations: 3.984 kB / 1.23 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/1.154, allocations: 0.7809 MB / 1.23 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/1.158, allocations: 1.999 MB / 1.232 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.158, allocations: 4.406 kB / 1.232 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/1.159, allocations: 159.8 kB / 1.233 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/1.159, allocations: 44.81 kB / 1.233 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/1.159, allocations: 16 kB / 1.233 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/1.16, allocations: 1.48 MB / 1.234 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.16, allocations: 3.938 kB / 1.234 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/1.162, allocations: 1.234 MB / 1.235 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/1.162, allocations: 247.9 kB / 1.236 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/1.162, allocations: 19.98 kB / 1.236 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007325/1.163, allocations: 79.72 kB / 1.236 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.163, allocations: 51.83 kB / 1.236 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.548e-05/1.163, allocations: 31.92 kB / 1.236 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008285/1.164, allocations: 0.6083 MB / 1.236 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.164, allocations: 0 / 1.236 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009914/1.165, allocations: 304 kB / 1.237 GB, free: 3.055 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 (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004416/1.166, allocations: 191.3 kB / 1.237 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001491/1.167, allocations: 1.006 MB / 1.238 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.167, allocations: 0 / 1.238 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/1.168, allocations: 452.1 kB / 1.238 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/1.17, allocations: 0.617 MB / 1.239 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/1.174, allocations: 2.599 MB / 1.241 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/1.175, allocations: 1.17 MB / 1.242 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/1.175, allocations: 79.44 kB / 1.243 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.175, allocations: 0 / 1.243 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.6337/1.809, allocations: 26.82 MB / 1.269 GB, free: 226.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o] Error 1