Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008451/0.0008451, allocations: 100.1 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.0009553/0.0009555, allocations: 176.5 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.502/1.502, allocations: 223.3 MB / 240.6 MB, free: 5.422 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.612/2.612, allocations: 390.5 MB / 0.6662 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003857, allocations: 15.98 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.864/0.8644, allocations: 142.3 MB / 0.9544 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2079/1.072, allocations: 172.6 MB / 1.123 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00768/1.08, allocations: 4.078 MB / 1.127 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/1.081, allocations: 23.81 kB / 1.127 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/1.083, allocations: 333.7 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003985/1.087, allocations: 1.127 MB / 1.128 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/1.09, allocations: 1.016 MB / 1.129 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004065/1.095, allocations: 2.396 MB / 1.132 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/1.096, allocations: 0.8478 MB / 1.133 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/1.098, allocations: 0.8171 MB / 1.133 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/1.099, allocations: 0.786 MB / 1.134 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/1.1, allocations: 60 kB / 1.134 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/1.102, allocations: 0.7951 MB / 1.135 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004129/1.102, allocations: 330.8 kB / 1.135 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003743/1.102, allocations: 221.1 kB / 1.135 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00186/1.104, allocations: 1.465 MB / 1.137 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.104, allocations: 0 / 1.137 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.304e-06/1.104, allocations: 0 / 1.137 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.838e-05/1.104, allocations: 4 kB / 1.137 GB, free: 4.816 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003909/1.108, allocations: 1.499 MB / 1.138 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.828e-05/1.108, allocations: 15.97 kB / 1.138 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009841/1.109, allocations: 186.5 kB / 1.139 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/1.111, allocations: 1.003 MB / 1.139 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/1.112, allocations: 48.98 kB / 1.14 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/1.112, allocations: 60 kB / 1.14 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/1.113, allocations: 0.6232 MB / 1.14 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/1.113, allocations: 0 / 1.14 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/1.113, allocations: 16 kB / 1.14 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/1.113, allocations: 21 kB / 1.14 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/1.114, allocations: 0.648 MB / 1.141 GB, free: 0.5859 MB / 0.8887 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.004412/1.119, allocations: 2.67 MB / 1.143 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/1.12, allocations: 0.5554 MB / 1.144 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/1.121, allocations: 364.6 kB / 1.144 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000421/1.121, allocations: 287.3 kB / 1.145 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.121, allocations: 43.28 kB / 1.145 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008046/1.122, allocations: 163.5 kB / 1.145 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 3.125e-06/1.122, allocations: 0 / 1.145 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.002287/1.124, allocations: 1.058 MB / 1.146 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/1.124, allocations: 55.41 kB / 1.146 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/1.126, allocations: 1.263 MB / 1.147 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.663e-05/1.126, allocations: 37.7 kB / 1.147 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/1.127, allocations: 441.7 kB / 1.148 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/1.127, allocations: 153.8 kB / 1.148 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/1.127, allocations: 12 kB / 1.148 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.127, allocations: 318 kB / 1.148 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/1.128, allocations: 272.6 kB / 1.148 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/1.129, allocations: 483.1 kB / 1.149 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/1.129, allocations: 323.7 kB / 1.149 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.129, allocations: 7.891 kB / 1.149 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001615/1.131, allocations: 0.7495 MB / 1.15 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.793e-05/1.131, allocations: 97.48 kB / 1.15 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.131, allocations: 3.984 kB / 1.15 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/1.131, allocations: 4 kB / 1.15 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/1.132, allocations: 123.8 kB / 1.15 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.132, allocations: 4 kB / 1.15 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/1.133, allocations: 121.7 kB / 1.15 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/1.133, allocations: 27.97 kB / 1.15 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/1.133, allocations: 5.875 kB / 1.15 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001306/1.134, allocations: 0.6281 MB / 1.151 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.134, allocations: 7.891 kB / 1.151 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/1.134, allocations: 4 kB / 1.151 GB, free: 6.023 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/1.135, allocations: 123.8 kB / 1.151 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/1.135, allocations: 0 / 1.151 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/1.136, allocations: 127.7 kB / 1.151 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/1.136, allocations: 23.92 kB / 1.151 GB, free: 5.754 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 0.0006249/1.137, allocations: 325 kB / 1.151 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/1.137, allocations: 98.78 kB / 1.152 GB, free: 5.328 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/1.139, allocations: 0.8382 MB / 1.152 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.139, allocations: 7.984 kB / 1.152 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.139, allocations: 4 kB / 1.152 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.139, allocations: 7.984 kB / 1.152 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/1.142, allocations: 1.96 MB / 1.154 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.142, allocations: 4 kB / 1.154 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/1.143, allocations: 120.1 kB / 1.154 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.435e-05/1.143, allocations: 8 kB / 1.154 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/1.143, allocations: 12 kB / 1.154 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/1.143, allocations: 4 kB / 1.154 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.143, allocations: 4 kB / 1.154 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/1.145, allocations: 1.269 MB / 1.156 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/1.146, allocations: 299.6 kB / 1.156 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1.146, allocations: 8.062 kB / 1.156 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/1.147, allocations: 83.81 kB / 1.156 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.147, allocations: 51.83 kB / 1.156 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/1.147, allocations: 23.94 kB / 1.156 GB, free: 496 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001446/1.148, allocations: 0.9207 MB / 1.157 GB, free: 15.55 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.148, allocations: 0 / 1.157 GB, free: 15.55 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00134/1.15, allocations: 399.4 kB / 1.157 GB, free: 15.16 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006243/1.15, allocations: 216 kB / 1.158 GB, free: 14.95 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002123/1.152, allocations: 0.9589 MB / 1.159 GB, free: 13.99 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.153, allocations: 0 / 1.159 GB, free: 13.99 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006782/1.153, allocations: 352.1 kB / 1.159 GB, free: 13.64 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.156, allocations: 461.8 kB / 1.159 GB, free: 13.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/1.16, allocations: 1.984 MB / 1.161 GB, free: 11.14 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.161, allocations: 1.049 MB / 1.162 GB, free: 10.07 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007062/1.162, allocations: 99.38 kB / 1.162 GB, free: 9.969 MB / 0.92 GB Notification: Performance of SimCode: time 3.757e-06/1.162, allocations: 0 / 1.162 GB, free: 9.969 MB / 0.92 GB Notification: Performance of Templates: time 0.03201/1.194, allocations: 16.27 MB / 1.178 GB, free: 9.852 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o] Error 1