Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, 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.001498/0.001498, allocations: 172.5 kB / 16.58 MB, free: 6.398 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.477/1.477, allocations: 223.3 MB / 240.6 MB, free: 5.32 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.635/2.635, allocations: 390.5 MB / 0.6662 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 8 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.887/0.8873, allocations: 142.3 MB / 0.9544 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2016/1.089, allocations: 161 MB / 1.112 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007673/1.097, allocations: 4.12 MB / 1.116 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008737/1.098, allocations: 23.81 kB / 1.116 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/1.099, allocations: 246.4 kB / 1.116 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/1.102, allocations: 0.9136 MB / 1.117 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/1.104, allocations: 0.5449 MB / 1.117 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002394/1.106, allocations: 1.875 MB / 1.119 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006566/1.107, allocations: 384.3 kB / 1.12 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/1.108, allocations: 0.5601 MB / 1.12 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007225/1.109, allocations: 462.2 kB / 1.121 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/1.109, allocations: 27.94 kB / 1.121 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/1.111, allocations: 0.8106 MB / 1.121 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002648/1.111, allocations: 203.4 kB / 1.122 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/1.111, allocations: 145.4 kB / 1.122 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/1.112, allocations: 0.8729 MB / 1.123 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.112, allocations: 0 / 1.123 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.367e-06/1.112, allocations: 0 / 1.123 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.047e-06/1.112, allocations: 0 / 1.123 GB, free: 3.477 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001849/1.114, allocations: 0.8919 MB / 1.123 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.114, allocations: 8.031 kB / 1.123 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.116, allocations: 179 kB / 1.124 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008747/1.116, allocations: 0.5093 MB / 1.124 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/1.117, allocations: 32.94 kB / 1.124 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/1.117, allocations: 51.95 kB / 1.124 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008818/1.118, allocations: 466.4 kB / 1.125 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/1.118, allocations: 0 / 1.125 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/1.118, allocations: 16 kB / 1.125 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/1.118, allocations: 17 kB / 1.125 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/1.118, allocations: 423.7 kB / 1.125 GB, free: 0.8086 MB / 0.8731 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.002779/1.121, allocations: 2.039 MB / 1.127 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/1.122, allocations: 290.8 kB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/1.122, allocations: 194.6 kB / 1.128 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/1.122, allocations: 198.2 kB / 1.128 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/1.122, allocations: 34.56 kB / 1.128 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/1.122, allocations: 0 / 1.128 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30): time 0.001588/1.124, allocations: 0.6516 MB / 1.128 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/1.124, allocations: 63.39 kB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/1.125, allocations: 441.9 kB / 1.129 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/1.125, allocations: 37.7 kB / 1.129 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/1.125, allocations: 280.2 kB / 1.129 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.125, allocations: 98.5 kB / 1.129 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/1.125, allocations: 4 kB / 1.129 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.125, allocations: 362.7 kB / 1.13 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/1.125, allocations: 135.9 kB / 1.13 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/1.126, allocations: 202.5 kB / 1.13 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/1.126, allocations: 159.9 kB / 1.13 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.126, allocations: 0 / 1.13 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006996/1.127, allocations: 412.8 kB / 1.13 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.127, allocations: 137.4 kB / 1.131 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.127, allocations: 4 kB / 1.131 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.127, allocations: 3.938 kB / 1.131 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/1.127, allocations: 67.91 kB / 1.131 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.127, allocations: 7.938 kB / 1.131 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/1.128, allocations: 63.73 kB / 1.131 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/1.128, allocations: 12.06 kB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/1.128, allocations: 4 kB / 1.131 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005866/1.128, allocations: 347.9 kB / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/1.128, allocations: 3.984 kB / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/1.128, allocations: 4 kB / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/1.129, allocations: 76.06 kB / 1.131 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.129, allocations: 7.984 kB / 1.131 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/1.129, allocations: 51.72 kB / 1.131 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/1.129, allocations: 16 kB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.0003036/1.129, allocations: 285 kB / 1.132 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/1.13, allocations: 55.33 kB / 1.132 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008345/1.13, allocations: 428.6 kB / 1.132 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/1.13, allocations: 4 kB / 1.132 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.13, allocations: 3.953 kB / 1.132 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006983/1.131, allocations: 461.4 kB / 1.132 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/1.133, allocations: 1.138 MB / 1.134 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.133, allocations: 0 / 1.134 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/1.133, allocations: 68.17 kB / 1.134 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/1.134, allocations: 44.77 kB / 1.134 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/1.134, allocations: 8 kB / 1.134 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/1.135, allocations: 1.437 MB / 1.135 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.135, allocations: 4.031 kB / 1.135 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/1.136, allocations: 0.7084 MB / 1.136 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/1.136, allocations: 160.4 kB / 1.136 GB, free: 5.012 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/1.136, allocations: 11.95 kB / 1.136 GB, free: 5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/1.137, allocations: 39.94 kB / 1.136 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/1.137, allocations: 23.97 kB / 1.136 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/1.137, allocations: 19.98 kB / 1.136 GB, free: 4.918 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004337/1.137, allocations: 310.9 kB / 1.136 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/1.137, allocations: 4 kB / 1.136 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009022/1.138, allocations: 307.2 kB / 1.137 GB, free: 4.312 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],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 (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004811/1.139, allocations: 192.8 kB / 1.137 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0009279/1.14, allocations: 499.9 kB / 1.137 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.14, allocations: 0 / 1.137 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004992/1.14, allocations: 300.2 kB / 1.138 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.142, allocations: 306.9 kB / 1.138 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/1.143, allocations: 1.393 MB / 1.139 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/1.144, allocations: 0.9017 MB / 1.14 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/1.144, allocations: 39.44 kB / 1.14 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of SimCode: time 9.72e-07/1.144, allocations: 3.938 kB / 1.14 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of Templates: time 0.01463/1.159, allocations: 9.63 MB / 1.15 GB, free: 7.062 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMassCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMassCalcHelperMain.o] Error 1