Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001103/0.001102, allocations: 92.62 kB / 16.02 MB, free: 80 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.001626/0.001626, allocations: 181.4 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 223.1 MB, free: 5.473 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.7 MB / 0.5509 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006815/0.0006815, allocations: 19.56 kB / 0.675 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3812, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 1.053/1.434, allocations: 193.9 MB / 0.9779 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01742/1.451, allocations: 9.01 MB / 0.9867 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/1.454, allocations: 39.44 kB / 0.9867 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/1.457, allocations: 0.5711 MB / 0.9873 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005655/1.462, allocations: 1.733 MB / 0.989 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009295/1.472, allocations: 2.732 MB / 0.9916 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005834/1.477, allocations: 3.588 MB / 0.9951 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/1.48, allocations: 1.251 MB / 0.9964 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/1.482, allocations: 1.061 MB / 0.9974 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/1.483, allocations: 1.07 MB / 0.9984 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/1.484, allocations: 84 kB / 0.9985 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/1.488, allocations: 1.624 MB / 1 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006098/1.488, allocations: 456 kB / 1.001 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009552/1.489, allocations: 0.757 MB / 1.001 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/1.492, allocations: 2.01 MB / 1.003 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.492, allocations: 0 / 1.003 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.875e-06/1.492, allocations: 4 kB / 1.003 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.275e-05/1.492, allocations: 2.969 kB / 1.003 GB, free: 3.645 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.005076/1.497, allocations: 1.873 MB / 1.005 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/1.497, allocations: 10.91 kB / 1.005 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.498, allocations: 231.4 kB / 1.005 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/1.5, allocations: 1.333 MB / 1.007 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/1.5, allocations: 70.67 kB / 1.007 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/1.501, allocations: 85.16 kB / 1.007 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.502, allocations: 0.9375 MB / 1.008 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/1.502, allocations: 0 / 1.008 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/1.502, allocations: 28.47 kB / 1.008 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/1.503, allocations: 13.78 kB / 1.008 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/1.504, allocations: 0.8511 MB / 1.009 GB, free: 184 kB / 0.7325 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.006148/1.51, allocations: 3.506 MB / 1.012 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/1.512, allocations: 0.785 MB / 1.013 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/1.513, allocations: 456.7 kB / 1.013 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/1.513, allocations: 289.5 kB / 1.013 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/1.513, allocations: 42.02 kB / 1.013 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001135/1.514, allocations: 236 kB / 1.014 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=52): time 6.322e-06/1.514, allocations: 4 kB / 1.014 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=52): time 0.003146/1.517, allocations: 1.351 MB / 1.015 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/1.518, allocations: 211.4 kB / 1.015 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/1.521, allocations: 1.686 MB / 1.017 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/1.521, allocations: 38.95 kB / 1.017 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006992/1.522, allocations: 0.5737 MB / 1.017 GB, free: 10 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/1.522, allocations: 179.9 kB / 1.018 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/1.522, allocations: 48.64 kB / 1.018 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.522, allocations: 331.8 kB / 1.018 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000864/1.523, allocations: 395.6 kB / 1.018 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/1.525, allocations: 0.707 MB / 1.019 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/1.526, allocations: 0.8449 MB / 1.02 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.526, allocations: 3.281 kB / 1.02 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002833/1.529, allocations: 1.08 MB / 1.021 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/1.529, allocations: 92.56 kB / 1.021 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/1.529, allocations: 6.953 kB / 1.021 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/1.529, allocations: 2.812 kB / 1.021 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008823/1.53, allocations: 161.7 kB / 1.021 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/1.53, allocations: 6.781 kB / 1.021 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/1.533, allocations: 151.5 kB / 1.021 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.165e-05/1.533, allocations: 36.92 kB / 1.021 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.533, allocations: 6.219 kB / 1.021 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001733/1.534, allocations: 0.8981 MB / 1.022 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.534, allocations: 0 / 1.022 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/1.534, allocations: 6.844 kB / 1.022 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/1.535, allocations: 157.7 kB / 1.022 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.535, allocations: 2.906 kB / 1.022 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/1.537, allocations: 167 kB / 1.023 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/1.537, allocations: 32.69 kB / 1.023 GB, free: 6.98 MB / 0.7481 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006987/1.538, allocations: 390 kB / 1.023 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/1.538, allocations: 139.8 kB / 1.023 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/1.541, allocations: 1.052 MB / 1.024 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/1.541, allocations: 5.562 kB / 1.024 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/1.541, allocations: 4 kB / 1.024 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/1.541, allocations: 10.55 kB / 1.024 GB, free: 5.996 MB / 0.7481 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.004122/1.545, allocations: 2.484 MB / 1.027 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.545, allocations: 0 / 1.027 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007187/1.546, allocations: 140.9 kB / 1.027 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/1.546, allocations: 6.219 kB / 1.027 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/1.546, allocations: 27.48 kB / 1.027 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/1.546, allocations: 5.719 kB / 1.027 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.546, allocations: 2.531 kB / 1.027 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/1.548, allocations: 1.565 MB / 1.028 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000743/1.549, allocations: 360 kB / 1.029 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/1.549, allocations: 20.02 kB / 1.029 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.551, allocations: 96.39 kB / 1.029 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.551, allocations: 50.03 kB / 1.029 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.003e-05/1.551, allocations: 25.8 kB / 1.029 GB, free: 2.902 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001956/1.553, allocations: 1.201 MB / 1.03 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.553, allocations: 0 / 1.03 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001724/1.555, allocations: 0.5495 MB / 1.031 GB, free: 2.172 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[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 (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007023/1.555, allocations: 281 kB / 1.031 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002937/1.558, allocations: 1.455 MB / 1.032 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.558, allocations: 4 kB / 1.032 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008177/1.559, allocations: 438.7 kB / 1.033 GB, free: 284 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003899/1.563, allocations: 0.5978 MB / 1.033 GB, free: 15.69 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/1.567, allocations: 2.701 MB / 1.036 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007972/1.568, allocations: 1.165 MB / 1.037 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006961/1.569, allocations: 127.4 kB / 1.037 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of SimCode: time 9.82e-07/1.569, allocations: 0 / 1.037 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.04004/1.609, allocations: 22.4 MB / 1.059 GB, free: 5.402 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlowCalcHelperMain.o] Error 1