Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008378/0.000838, allocations: 102.8 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.0008951/0.0008952, allocations: 179.4 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.569/1.569, allocations: 223.2 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.69/2.69, allocations: 390.4 MB / 0.6662 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004298, allocations: 15.98 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.075, allocations: 142.3 MB / 0.9544 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2561/1.331, allocations: 183.9 MB / 1.134 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01258/1.344, allocations: 6.928 MB / 1.141 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/1.345, allocations: 35.75 kB / 1.141 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/1.347, allocations: 461.2 kB / 1.141 GB, free: 344 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006161/1.354, allocations: 1.76 MB / 1.143 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003287/1.357, allocations: 0.8464 MB / 1.144 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005368/1.362, allocations: 3.501 MB / 1.147 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/1.364, allocations: 0.6772 MB / 1.148 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/1.366, allocations: 0.8715 MB / 1.149 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/1.368, allocations: 0.9223 MB / 1.15 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/1.369, allocations: 48 kB / 1.15 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/1.373, allocations: 1.048 MB / 1.151 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005466/1.373, allocations: 378.8 kB / 1.151 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005385/1.374, allocations: 273.1 kB / 1.151 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/1.377, allocations: 1.594 MB / 1.153 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.377, allocations: 0 / 1.153 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.134e-06/1.377, allocations: 0 / 1.153 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.212e-05/1.377, allocations: 0 / 1.153 GB, free: 4.383 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003158/1.38, allocations: 1.425 MB / 1.154 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.38, allocations: 8.031 kB / 1.154 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/1.382, allocations: 378.2 kB / 1.155 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/1.384, allocations: 0.7855 MB / 1.155 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/1.384, allocations: 62 kB / 1.155 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/1.384, allocations: 87.98 kB / 1.156 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/1.386, allocations: 1.038 MB / 1.157 GB, free: 492 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.386, allocations: 7.906 kB / 1.157 GB, free: 484 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/1.386, allocations: 39.98 kB / 1.157 GB, free: 444 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.719e-05/1.386, allocations: 49.92 kB / 1.157 GB, free: 392 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/1.388, allocations: 0.8783 MB / 1.157 GB, free: 15.5 MB / 0.92 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.005857/1.394, allocations: 4.292 MB / 1.162 GB, free: 10.86 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.395, allocations: 0.6873 MB / 1.162 GB, free: 10.16 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007306/1.395, allocations: 447.9 kB / 1.163 GB, free: 9.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/1.396, allocations: 0.6771 MB / 1.163 GB, free: 8.902 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/1.396, allocations: 47.12 kB / 1.163 GB, free: 8.848 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 3.386e-06/1.396, allocations: 0 / 1.163 GB, free: 8.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.00201/1.398, allocations: 0.9938 MB / 1.164 GB, free: 7.848 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/1.398, allocations: 59.97 kB / 1.164 GB, free: 7.777 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008141/1.399, allocations: 0.6255 MB / 1.165 GB, free: 7.145 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/1.399, allocations: 45.7 kB / 1.165 GB, free: 7.094 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/1.4, allocations: 436 kB / 1.166 GB, free: 6.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/1.4, allocations: 248.3 kB / 1.166 GB, free: 6.414 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/1.4, allocations: 12 kB / 1.166 GB, free: 6.402 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002172/1.4, allocations: 390.7 kB / 1.166 GB, free: 6.012 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/1.401, allocations: 277.2 kB / 1.166 GB, free: 5.742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/1.401, allocations: 357.1 kB / 1.167 GB, free: 5.371 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/1.402, allocations: 331 kB / 1.167 GB, free: 5.047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.402, allocations: 0 / 1.167 GB, free: 5.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001297/1.403, allocations: 0.7969 MB / 1.168 GB, free: 4.242 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.403, allocations: 4 kB / 1.168 GB, free: 4.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.403, allocations: 7.984 kB / 1.168 GB, free: 4.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.403, allocations: 4 kB / 1.168 GB, free: 4.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/1.404, allocations: 148 kB / 1.168 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.404, allocations: 4 kB / 1.168 GB, free: 4.078 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009295/1.405, allocations: 115.4 kB / 1.168 GB, free: 3.965 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/1.405, allocations: 24 kB / 1.168 GB, free: 3.941 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0004905/1.405, allocations: 293.3 kB / 1.168 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.405, allocations: 83.05 kB / 1.169 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/1.407, allocations: 0.8036 MB / 1.169 GB, free: 2.746 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.407, allocations: 8 kB / 1.169 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.407, allocations: 0 / 1.169 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/1.408, allocations: 0.8152 MB / 1.17 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/1.411, allocations: 1.856 MB / 1.172 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.411, allocations: 0 / 1.172 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007922/1.411, allocations: 171.8 kB / 1.172 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/1.411, allocations: 4 kB / 1.172 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/1.412, allocations: 12 kB / 1.172 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/1.412, allocations: 7.984 kB / 1.172 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.412, allocations: 3.938 kB / 1.172 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/1.413, allocations: 1.205 MB / 1.173 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/1.414, allocations: 240 kB / 1.174 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.414, allocations: 19.94 kB / 1.174 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006864/1.415, allocations: 79.78 kB / 1.174 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/1.415, allocations: 44.48 kB / 1.174 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/1.415, allocations: 24 kB / 1.174 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005934/1.415, allocations: 443 kB / 1.174 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.415, allocations: 0 / 1.174 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001047/1.416, allocations: 339.2 kB / 1.174 GB, free: 13.36 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.0003975/1.417, allocations: 195 kB / 1.175 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001175/1.418, allocations: 0.6718 MB / 1.175 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.418, allocations: 0 / 1.175 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005597/1.419, allocations: 375.3 kB / 1.176 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/1.421, allocations: 0.5284 MB / 1.176 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/1.425, allocations: 2.732 MB / 1.179 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/1.426, allocations: 1.092 MB / 1.18 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/1.426, allocations: 79.42 kB / 1.18 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of SimCode: time 1.022e-06/1.426, allocations: 0 / 1.18 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of Templates: time 0.0277/1.454, allocations: 15.07 MB / 1.195 GB, free: 8.676 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilationCalcHelperMain.o OMCppBuildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Airflow.Multizone.Examples.NaturalVentilationCalcHelperMain.o] Error 1