Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.MixingBox,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixBox.damOA.m_flow|mixBox.damExh.m_flow|mixBox.damRec.m_flow",fileNamePrefix="Buildings_latest_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_latest_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.0009009/0.0009009, allocations: 100.4 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.0009084/0.0009089, allocations: 175.1 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.484/1.484, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 436.7 MB / 0.7113 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003477, allocations: 8.219 kB / 0.8717 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9259/0.9262, allocations: 153.7 MB / 1.022 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2057/1.132, allocations: 172.6 MB / 1.19 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007681/1.14, allocations: 4.074 MB / 1.194 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/1.141, allocations: 23.81 kB / 1.194 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/1.142, allocations: 329.8 kB / 1.195 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003578/1.146, allocations: 1.143 MB / 1.196 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003312/1.149, allocations: 1.016 MB / 1.197 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003524/1.153, allocations: 2.385 MB / 1.199 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/1.154, allocations: 0.8557 MB / 1.2 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/1.156, allocations: 0.8094 MB / 1.201 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/1.157, allocations: 0.786 MB / 1.201 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/1.157, allocations: 56 kB / 1.201 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/1.159, allocations: 0.7951 MB / 1.202 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003826/1.16, allocations: 334.8 kB / 1.203 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003222/1.16, allocations: 221.1 kB / 1.203 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/1.162, allocations: 1.469 MB / 1.204 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.162, allocations: 0 / 1.204 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.095e-06/1.162, allocations: 7.938 kB / 1.204 GB, free: 5.926 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.39e-05/1.162, allocations: 0 / 1.204 GB, free: 5.926 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003768/1.166, allocations: 1.499 MB / 1.206 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.166, allocations: 15.92 kB / 1.206 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008149/1.167, allocations: 186.4 kB / 1.206 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/1.168, allocations: 0.9954 MB / 1.207 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/1.169, allocations: 48.98 kB / 1.207 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/1.169, allocations: 63.95 kB / 1.207 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/1.17, allocations: 0.6232 MB / 1.208 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/1.17, allocations: 0 / 1.208 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/1.17, allocations: 20 kB / 1.208 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/1.17, allocations: 21 kB / 1.208 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/1.171, allocations: 0.6441 MB / 1.208 GB, free: 1.703 MB / 0.9512 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.004119/1.175, allocations: 2.681 MB / 1.211 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/1.176, allocations: 0.5457 MB / 1.211 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006204/1.177, allocations: 359.7 kB / 1.212 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004238/1.178, allocations: 288 kB / 1.212 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/1.178, allocations: 46.55 kB / 1.212 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007174/1.178, allocations: 159.5 kB / 1.212 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=43): time 3.727e-06/1.178, allocations: 0 / 1.212 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=43): time 0.002238/1.181, allocations: 1.052 MB / 1.213 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/1.181, allocations: 59.36 kB / 1.213 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/1.183, allocations: 1.263 MB / 1.214 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/1.183, allocations: 37.7 kB / 1.215 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000394/1.183, allocations: 445.5 kB / 1.215 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/1.183, allocations: 149.8 kB / 1.215 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/1.183, allocations: 4 kB / 1.215 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.183, allocations: 326 kB / 1.215 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/1.184, allocations: 272.6 kB / 1.216 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/1.185, allocations: 491 kB / 1.216 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006042/1.185, allocations: 327.7 kB / 1.216 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.185, allocations: 0 / 1.216 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001416/1.187, allocations: 0.7534 MB / 1.217 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.113e-05/1.187, allocations: 93.48 kB / 1.217 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.187, allocations: 3.938 kB / 1.217 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.187, allocations: 3.953 kB / 1.217 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/1.188, allocations: 131.8 kB / 1.217 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.188, allocations: 4 kB / 1.217 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.189, allocations: 121.2 kB / 1.218 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/1.189, allocations: 23.97 kB / 1.218 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/1.189, allocations: 8 kB / 1.218 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001203/1.19, allocations: 0.6281 MB / 1.218 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-06/1.19, allocations: 0 / 1.218 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/1.19, allocations: 0 / 1.218 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/1.191, allocations: 127.8 kB / 1.218 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.191, allocations: 4 kB / 1.218 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.192, allocations: 124.3 kB / 1.218 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/1.192, allocations: 27.97 kB / 1.218 GB, free: 6.867 MB / 0.9669 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.0004977/1.192, allocations: 333 kB / 1.219 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/1.193, allocations: 102.7 kB / 1.219 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/1.194, allocations: 0.8266 MB / 1.22 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.194, allocations: 8 kB / 1.22 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.194, allocations: 0 / 1.22 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/1.194, allocations: 3.984 kB / 1.22 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/1.197, allocations: 1.972 MB / 1.222 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.197, allocations: 8.016 kB / 1.222 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/1.198, allocations: 119.8 kB / 1.222 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/1.198, allocations: 4 kB / 1.222 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/1.198, allocations: 15.94 kB / 1.222 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.198, allocations: 7.953 kB / 1.222 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.198, allocations: 0 / 1.222 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/1.2, allocations: 1.271 MB / 1.223 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/1.2, allocations: 295.6 kB / 1.223 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/1.201, allocations: 12 kB / 1.223 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009079/1.202, allocations: 83.88 kB / 1.223 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.202, allocations: 43.83 kB / 1.223 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/1.202, allocations: 24 kB / 1.223 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001452/1.203, allocations: 0.913 MB / 1.224 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.203, allocations: 0 / 1.224 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00128/1.204, allocations: 407.4 kB / 1.225 GB, free: 272 kB / 0.9669 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.0005707/1.205, allocations: 217.3 kB / 1.225 GB, free: 56 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002006/1.207, allocations: 0.9667 MB / 1.226 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.207, allocations: 0 / 1.226 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/1.208, allocations: 352.1 kB / 1.226 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.21, allocations: 461.3 kB / 1.227 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/1.213, allocations: 1.988 MB / 1.229 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/1.214, allocations: 1.042 MB / 1.23 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/1.214, allocations: 99.38 kB / 1.23 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of SimCode: time 1.212e-06/1.214, allocations: 15.81 kB / 1.23 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of Templates: time 0.02816/1.242, allocations: 16.25 MB / 1.246 GB, free: 10.96 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxCalcHelperMain.o] Error 1