Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 100.1 kB / 15.88 MB, free: 4 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.001346/0.001346, allocations: 200.9 kB / 16.8 MB, free: 6.82 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.483/1.483, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002401/0.002401, allocations: 299 kB / 290.9 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.119/1.119, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 96.91 kB / 0.5951 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2468, allocations: 86.99 MB / 0.6801 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8178/1.065, allocations: 312 MB / 0.9848 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03271/1.097, allocations: 18.67 MB / 1.003 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007128/1.105, allocations: 75.56 kB / 1.003 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009608/1.114, allocations: 1.882 MB / 1.005 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.03225/1.147, allocations: 6.908 MB / 1.012 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01207/1.159, allocations: 2.915 MB / 1.014 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02099/1.18, allocations: 13.14 MB / 1.027 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005958/1.186, allocations: 2.65 MB / 1.03 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008595/1.194, allocations: 2.88 MB / 1.033 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009068/1.204, allocations: 3.354 MB / 1.036 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001402/1.205, allocations: 228 kB / 1.036 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02131/1.226, allocations: 8.139 MB / 1.044 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003816/1.23, allocations: 1.523 MB / 1.046 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005942/1.236, allocations: 2.115 MB / 1.048 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01415/1.25, allocations: 6.007 MB / 1.054 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.24e-05/1.25, allocations: 0 / 1.054 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.488e-06/1.25, allocations: 4 kB / 1.054 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0003557/1.251, allocations: 0 / 1.054 GB, free: 9.121 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.02103/1.272, allocations: 4.99 MB / 1.058 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.272, allocations: 8.031 kB / 1.058 GB, free: 4.055 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008516/1.28, allocations: 1.006 MB / 1.059 GB, free: 3.043 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006503/1.287, allocations: 2.166 MB / 1.062 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/1.287, allocations: 242.4 kB / 1.062 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/1.289, allocations: 327.9 kB / 1.062 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.509/1.798, allocations: 4.243 MB / 1.066 GB, free: 292.6 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.563e-05/1.798, allocations: 10.09 kB / 1.066 GB, free: 292.6 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/1.798, allocations: 136.3 kB / 1.066 GB, free: 292.4 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002637/1.799, allocations: 168.6 kB / 1.067 GB, free: 292.4 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/1.809, allocations: 4.777 MB / 1.071 GB, free: 291 MB / 0.7637 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.02469/1.834, allocations: 14.38 MB / 1.085 GB, free: 281.9 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008311/1.842, allocations: 4.544 MB / 1.09 GB, free: 280 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004918/1.847, allocations: 2.45 MB / 1.092 GB, free: 279 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/1.849, allocations: 1.612 MB / 1.094 GB, free: 277.2 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.655e-05/1.849, allocations: 75.58 kB / 1.094 GB, free: 277.2 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 5.541e-06/1.849, allocations: 0 / 1.094 GB, free: 277.2 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.0116/1.86, allocations: 5.547 MB / 1.099 GB, free: 274.5 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.953e-05/1.86, allocations: 91.3 kB / 1.099 GB, free: 274.4 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/1.863, allocations: 1.682 MB / 1.101 GB, free: 273.5 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003692/1.864, allocations: 93.58 kB / 1.101 GB, free: 273.4 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000695/1.864, allocations: 1.134 MB / 1.102 GB, free: 272.4 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/1.866, allocations: 1.321 MB / 1.103 GB, free: 271.3 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008266/1.866, allocations: 0.5522 MB / 1.104 GB, free: 271 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 6.763e-05/1.867, allocations: 301.1 kB / 1.104 GB, free: 270.7 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/1.869, allocations: 1.568 MB / 1.106 GB, free: 269.9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/1.871, allocations: 1.916 MB / 1.108 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004957/1.876, allocations: 3.762 MB / 1.111 GB, free: 266.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/1.876, allocations: 3.938 kB / 1.111 GB, free: 266.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006632/1.883, allocations: 4.179 MB / 1.115 GB, free: 264.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/1.883, allocations: 8.344 kB / 1.115 GB, free: 264.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/1.883, allocations: 3.781 kB / 1.115 GB, free: 264.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.13e-05/1.883, allocations: 18.66 kB / 1.115 GB, free: 264.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/1.886, allocations: 0.6958 MB / 1.116 GB, free: 264.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.031e-05/1.886, allocations: 20 kB / 1.116 GB, free: 264.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/1.89, allocations: 484.4 kB / 1.117 GB, free: 263.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/1.89, allocations: 120 kB / 1.117 GB, free: 263.8 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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 prepare postOptimizeDAE: time 0.001687/1.892, allocations: 0.7872 MB / 1.117 GB, free: 263 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008366/1.893, allocations: 296.5 kB / 1.118 GB, free: 262.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006178/1.899, allocations: 4.436 MB / 1.122 GB, free: 258.2 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/1.899, allocations: 36 kB / 1.122 GB, free: 258.2 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.899, allocations: 7.984 kB / 1.122 GB, free: 258.2 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00454/1.903, allocations: 3.784 MB / 1.126 GB, free: 254.3 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.917, allocations: 8.642 MB / 1.134 GB, free: 245.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.917, allocations: 4 kB / 1.134 GB, free: 245.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/1.92, allocations: 0.7217 MB / 1.135 GB, free: 244.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.961e-05/1.92, allocations: 16 kB / 1.135 GB, free: 244.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/1.92, allocations: 95.75 kB / 1.135 GB, free: 244.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.011e-05/1.92, allocations: 19.75 kB / 1.135 GB, free: 244.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.92, allocations: 4 kB / 1.135 GB, free: 244.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008609/1.929, allocations: 6.567 MB / 1.141 GB, free: 238.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/1.931, allocations: 0.8011 MB / 1.142 GB, free: 237.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000669/1.932, allocations: 71.94 kB / 1.142 GB, free: 237.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/1.935, allocations: 265.8 kB / 1.143 GB, free: 237 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004521/1.936, allocations: 238.6 kB / 1.143 GB, free: 236.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/1.936, allocations: 115.8 kB / 1.143 GB, free: 236.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001624/1.937, allocations: 1.153 MB / 1.144 GB, free: 235.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.937, allocations: 0 / 1.144 GB, free: 235.5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003473/1.941, allocations: 1.232 MB / 1.145 GB, free: 234.3 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.001056/1.942, allocations: 467.4 kB / 1.146 GB, free: 233.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005821/1.948, allocations: 3.927 MB / 1.15 GB, free: 229.9 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/1.948, allocations: 1.438 kB / 1.15 GB, free: 229.9 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/1.951, allocations: 2.15 MB / 1.152 GB, free: 227.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008147/1.959, allocations: 1.534 MB / 1.153 GB, free: 226.4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.973, allocations: 9.344 MB / 1.162 GB, free: 217.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/1.974, allocations: 2.197 MB / 1.164 GB, free: 214.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/1.976, allocations: 311.4 kB / 1.165 GB, free: 214.6 MB / 0.7637 GB Notification: Performance of SimCode: time 1.433e-06/1.976, allocations: 3.938 kB / 1.165 GB, free: 214.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.08383/2.06, allocations: 54.41 MB / 1.218 GB, free: 160.4 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.makefile make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.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/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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancyCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancyCalcHelperMain.o] Error 1