Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001335, allocations: 98.88 kB / 16.02 MB, free: 76 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.002609/0.002609, allocations: 188.2 kB / 16.92 MB, free: 6.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.841/2.841, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004028/0.004028, allocations: 274.9 kB / 292.3 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.776/1.776, allocations: 169.5 MB / 0.501 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009748/0.000975, allocations: 14.69 kB / 0.5993 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4465, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 1.514/1.96, allocations: 199.2 MB / 0.8803 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02397/1.985, allocations: 6.383 MB / 0.8866 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/1.988, allocations: 30.94 kB / 0.8866 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003822/1.992, allocations: 0.6405 MB / 0.8872 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01453/2.007, allocations: 2.524 MB / 0.8897 GB, free: 14.54 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.003668/2.011, allocations: 0.6315 MB / 0.8903 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01072/2.021, allocations: 4.841 MB / 0.895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/2.024, allocations: 0.9125 MB / 0.8959 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00455/2.029, allocations: 1.05 MB / 0.8969 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005107/2.034, allocations: 1.099 MB / 0.898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003493/2.034, allocations: 56 kB / 0.8981 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008751/2.043, allocations: 2.7 MB / 0.9007 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001393/2.045, allocations: 450.6 kB / 0.9011 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002417/2.047, allocations: 0.6667 MB / 0.9018 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008257/2.055, allocations: 2.05 MB / 0.9038 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/2.055, allocations: 0 / 0.9038 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.811e-06/2.055, allocations: 0 / 0.9038 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001042/2.056, allocations: 0 / 0.9038 GB, free: 0.6211 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00976/2.065, allocations: 1.524 MB / 0.9053 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 8.162e-05/2.065, allocations: 8.031 kB / 0.9053 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005431/2.071, allocations: 350.2 kB / 0.9056 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/2.075, allocations: 0.8427 MB / 0.9064 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/2.076, allocations: 78 kB / 0.9065 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007233/2.076, allocations: 103.9 kB / 0.9066 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005997/2.082, allocations: 1.191 MB / 0.9078 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.992e-05/2.082, allocations: 0 / 0.9078 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004012/2.083, allocations: 47.98 kB / 0.9078 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/2.083, allocations: 58.06 kB / 0.9079 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00572/2.089, allocations: 1.246 MB / 0.9091 GB, free: 11.04 MB / 0.6231 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.01883/2.108, allocations: 5.081 MB / 0.9141 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/2.112, allocations: 1.158 MB / 0.9152 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/2.114, allocations: 0.4973 MB / 0.9157 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/2.114, allocations: 24.78 kB / 0.9157 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/2.115, allocations: 492.2 kB / 0.9162 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 9.398e-06/2.115, allocations: 0 / 0.9162 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.003289/2.118, allocations: 1.153 MB / 0.9173 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/2.119, allocations: 64 kB / 0.9174 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/2.12, allocations: 0.5744 MB / 0.9179 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/2.12, allocations: 41.7 kB / 0.918 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006904/2.121, allocations: 463.6 kB / 0.9184 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005364/2.121, allocations: 276 kB / 0.9187 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/2.122, allocations: 65.69 kB / 0.9187 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0005376/2.122, allocations: 386.8 kB / 0.9191 GB, free: 200 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007917/2.123, allocations: 329.8 kB / 0.9194 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/2.125, allocations: 448.8 kB / 0.9198 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/2.126, allocations: 0.8232 MB / 0.9206 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/2.126, allocations: 0 / 0.9206 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002845/2.129, allocations: 0.9296 MB / 0.9216 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/2.129, allocations: 8 kB / 0.9216 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/2.129, allocations: 7.938 kB / 0.9216 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/2.129, allocations: 4 kB / 0.9216 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008447/2.13, allocations: 159.7 kB / 0.9217 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.623e-05/2.13, allocations: 7.938 kB / 0.9217 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/2.132, allocations: 159.5 kB / 0.9219 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/2.132, allocations: 28 kB / 0.9219 GB, free: 13.23 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.001062/2.133, allocations: 333.2 kB / 0.9222 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/2.134, allocations: 79.16 kB / 0.9223 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/2.134, allocations: 107.7 kB / 0.9224 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/2.134, allocations: 11.94 kB / 0.9224 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/2.134, allocations: 0 / 0.9224 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001919/2.136, allocations: 1.093 MB / 0.9235 GB, free: 11.52 MB / 0.6387 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.006549/2.143, allocations: 2.316 MB / 0.9257 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/2.143, allocations: 0 / 0.9257 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/2.144, allocations: 175.8 kB / 0.9259 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.475e-05/2.144, allocations: 4 kB / 0.9259 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/2.144, allocations: 15.98 kB / 0.9259 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.127e-05/2.144, allocations: 4 kB / 0.9259 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.144, allocations: 0 / 0.9259 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005886/2.15, allocations: 1.358 MB / 0.9273 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/2.152, allocations: 260 kB / 0.9275 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/2.152, allocations: 16 kB / 0.9275 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/2.154, allocations: 99.27 kB / 0.9276 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/2.155, allocations: 48.59 kB / 0.9277 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-05/2.155, allocations: 20 kB / 0.9277 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001196/2.156, allocations: 415 kB / 0.9281 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/2.156, allocations: 0 / 0.9281 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002666/2.159, allocations: 371.1 kB / 0.9284 GB, free: 6.328 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0007031/2.159, allocations: 183 kB / 0.9286 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003198/2.162, allocations: 0.8019 MB / 0.9294 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/2.163, allocations: 0 / 0.9294 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/2.164, allocations: 423.5 kB / 0.9298 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/2.17, allocations: 0.568 MB / 0.9304 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007936/2.178, allocations: 2.806 MB / 0.9331 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/2.179, allocations: 1.144 MB / 0.9342 GB, free: 364 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/2.18, allocations: 79.44 kB / 0.9343 GB, free: 284 kB / 0.6387 GB Notification: Performance of SimCode: time 2.014e-06/2.18, allocations: 0 / 0.9343 GB, free: 284 kB / 0.6387 GB Notification: Performance of Templates: time 0.05176/2.232, allocations: 15.59 MB / 0.9495 GB, free: 0.8086 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.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 OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.o] Error 1