Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOAMin.m_flow|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009965/0.0009966, allocations: 103 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.0009276/0.0009278, allocations: 175.7 kB / 16.58 MB, free: 6.402 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.587/1.587, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.925/2.925, allocations: 436.7 MB / 0.7113 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004721, allocations: 12 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8468/0.8473, allocations: 153.6 MB / 1.022 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2125/1.06, allocations: 180.5 MB / 1.198 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009214/1.069, allocations: 4.91 MB / 1.203 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/1.071, allocations: 27.75 kB / 1.203 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/1.072, allocations: 405.2 kB / 1.203 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004459/1.077, allocations: 1.356 MB / 1.205 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004092/1.081, allocations: 1.229 MB / 1.206 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004454/1.085, allocations: 3.028 MB / 1.209 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/1.087, allocations: 1.118 MB / 1.21 GB, free: 152 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/1.09, allocations: 1.047 MB / 1.211 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/1.091, allocations: 1.023 MB / 1.212 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002029/1.091, allocations: 80 kB / 1.212 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/1.094, allocations: 0.8652 MB / 1.213 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005049/1.094, allocations: 430.4 kB / 1.213 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004331/1.094, allocations: 277 kB / 1.213 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/1.097, allocations: 1.882 MB / 1.215 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.097, allocations: 0 / 1.215 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.245e-06/1.097, allocations: 0 / 1.215 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.515e-05/1.097, allocations: 0 / 1.215 GB, free: 10.54 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004664/1.101, allocations: 1.843 MB / 1.217 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.101, allocations: 12.03 kB / 1.217 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000964/1.102, allocations: 222 kB / 1.217 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/1.105, allocations: 1.256 MB / 1.219 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/1.105, allocations: 77.61 kB / 1.219 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.105, allocations: 72 kB / 1.219 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/1.107, allocations: 0.8105 MB / 1.219 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.107, allocations: 4 kB / 1.219 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/1.107, allocations: 27.94 kB / 1.219 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/1.107, allocations: 29.3 kB / 1.219 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/1.108, allocations: 0.8562 MB / 1.22 GB, free: 5.223 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.005247/1.114, allocations: 3.482 MB / 1.224 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/1.115, allocations: 0.7408 MB / 1.224 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007564/1.116, allocations: 463.8 kB / 1.225 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/1.116, allocations: 295.7 kB / 1.225 GB, free: 12 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/1.116, allocations: 39 kB / 1.225 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009968/1.117, allocations: 231.4 kB / 1.225 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 2.986e-06/1.117, allocations: 0 / 1.225 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53): time 0.002722/1.12, allocations: 1.333 MB / 1.227 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/1.12, allocations: 67.8 kB / 1.227 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/1.123, allocations: 1.617 MB / 1.228 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-05/1.123, allocations: 41.7 kB / 1.228 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/1.123, allocations: 0.5345 MB / 1.229 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/1.123, allocations: 181.3 kB / 1.229 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/1.124, allocations: 16 kB / 1.229 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.124, allocations: 326 kB / 1.229 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006496/1.124, allocations: 352.9 kB / 1.23 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009665/1.125, allocations: 0.6201 MB / 1.23 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007575/1.126, allocations: 421.9 kB / 1.231 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.126, allocations: 3.938 kB / 1.231 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001797/1.128, allocations: 0.9737 MB / 1.232 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.107e-05/1.128, allocations: 101.2 kB / 1.232 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.128, allocations: 4 kB / 1.232 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/1.128, allocations: 0 / 1.232 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/1.129, allocations: 171.8 kB / 1.232 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/1.129, allocations: 4 kB / 1.232 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/1.13, allocations: 165.4 kB / 1.232 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.542e-05/1.13, allocations: 31.97 kB / 1.232 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/1.13, allocations: 4 kB / 1.232 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001578/1.132, allocations: 0.8212 MB / 1.233 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.132, allocations: 4 kB / 1.233 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/1.132, allocations: 4 kB / 1.233 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007628/1.133, allocations: 167.8 kB / 1.233 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/1.133, allocations: 4 kB / 1.233 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.134, allocations: 156.6 kB / 1.233 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-05/1.134, allocations: 31.91 kB / 1.233 GB, free: 7.473 MB / 0.9825 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 (57): * Single equations (assignments): 57 * 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.0006497/1.135, allocations: 369 kB / 1.234 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/1.135, allocations: 130.3 kB / 1.234 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/1.138, allocations: 1.055 MB / 1.235 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.138, allocations: 11.98 kB / 1.235 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.138, allocations: 0 / 1.235 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/1.138, allocations: 3.984 kB / 1.235 GB, free: 5.895 MB / 0.9825 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.004388/1.142, allocations: 2.497 MB / 1.237 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.142, allocations: 4 kB / 1.237 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/1.143, allocations: 131.8 kB / 1.237 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/1.143, allocations: 15.92 kB / 1.237 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/1.143, allocations: 16 kB / 1.237 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.143, allocations: 4.25 kB / 1.237 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.143, allocations: 11.94 kB / 1.237 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/1.146, allocations: 1.551 MB / 1.239 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000629/1.146, allocations: 355.3 kB / 1.239 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/1.146, allocations: 15.98 kB / 1.239 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/1.148, allocations: 103.7 kB / 1.239 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.148, allocations: 44.5 kB / 1.24 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/1.148, allocations: 27.94 kB / 1.24 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001988/1.15, allocations: 1.17 MB / 1.241 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.643e-06/1.15, allocations: 0 / 1.241 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001738/1.152, allocations: 0.507 MB / 1.241 GB, free: 15.28 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.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 (64): * Single equations (assignments): 64 * 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.0006113/1.152, allocations: 225.4 kB / 1.241 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002563/1.155, allocations: 1.248 MB / 1.243 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.155, allocations: 7.984 kB / 1.243 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007834/1.156, allocations: 431.5 kB / 1.243 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/1.159, allocations: 0.5705 MB / 1.244 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/1.163, allocations: 2.529 MB / 1.246 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008615/1.164, allocations: 1.145 MB / 1.247 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/1.164, allocations: 123.4 kB / 1.247 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of SimCode: time 1.001e-06/1.164, allocations: 0 / 1.247 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of Templates: time 0.6149/1.779, allocations: 20.79 MB / 1.268 GB, free: 226.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.o] Error 1