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.01312/0.01312, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0025/0.002501, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.555/1.555, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002496/0.002496, allocations: 282.3 kB / 290.9 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.135/1.135, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 90.06 kB / 0.5951 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2423, allocations: 86.98 MB / 0.6801 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.7251/0.9674, allocations: 201.9 MB / 0.8773 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.9811, allocations: 6.44 MB / 0.8836 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.9843, allocations: 34.75 kB / 0.8836 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.987, allocations: 0.6409 MB / 0.8842 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/0.9974, allocations: 2.529 MB / 0.8867 GB, free: 15.55 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.002602/1, allocations: 0.6334 MB / 0.8873 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007273/1.007, allocations: 4.844 MB / 0.892 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/1.01, allocations: 0.9562 MB / 0.893 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003433/1.013, allocations: 1.08 MB / 0.894 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00375/1.017, allocations: 1.153 MB / 0.8952 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006219/1.017, allocations: 70.53 kB / 0.8952 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007168/1.025, allocations: 2.719 MB / 0.8979 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001117/1.026, allocations: 466.7 kB / 0.8983 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002533/1.028, allocations: 0.6844 MB / 0.899 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005107/1.033, allocations: 2.07 MB / 0.901 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/1.033, allocations: 0 / 0.901 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/1.033, allocations: 0 / 0.901 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.828e-05/1.034, allocations: 0 / 0.901 GB, free: 5.703 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.006683/1.04, allocations: 1.769 MB / 0.9027 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/1.04, allocations: 15.97 kB / 0.9028 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/1.043, allocations: 342.2 kB / 0.9031 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/1.045, allocations: 0.8544 MB / 0.9039 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/1.046, allocations: 70.02 kB / 0.904 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/1.046, allocations: 104 kB / 0.9041 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003486/1.049, allocations: 1.191 MB / 0.9052 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/1.049, allocations: 3.938 kB / 0.9052 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/1.05, allocations: 47.98 kB / 0.9053 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/1.05, allocations: 58.06 kB / 0.9053 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/1.053, allocations: 1.246 MB / 0.9066 GB, free: 15.87 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.01077/1.063, allocations: 5.069 MB / 0.9115 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001918/1.065, allocations: 1.154 MB / 0.9126 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009357/1.066, allocations: 0.4973 MB / 0.9131 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.635e-05/1.067, allocations: 32.77 kB / 0.9132 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/1.068, allocations: 484.2 kB / 0.9136 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 4.96e-06/1.068, allocations: 0 / 0.9136 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.002567/1.07, allocations: 1.153 MB / 0.9147 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.07, allocations: 64 kB / 0.9148 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009832/1.071, allocations: 0.5744 MB / 0.9154 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.071, allocations: 49.64 kB / 0.9154 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/1.072, allocations: 463.5 kB / 0.9159 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/1.072, allocations: 272.1 kB / 0.9161 GB, free: 5.488 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/1.073, allocations: 126.7 kB / 0.9162 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000203/1.073, allocations: 390.8 kB / 0.9166 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/1.073, allocations: 329.8 kB / 0.9169 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/1.074, allocations: 444.8 kB / 0.9173 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/1.075, allocations: 0.8271 MB / 0.9182 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/1.075, allocations: 0 / 0.9182 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001712/1.077, allocations: 0.9296 MB / 0.9191 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/1.077, allocations: 6.188 kB / 0.9191 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.077, allocations: 7.984 kB / 0.9191 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/1.077, allocations: 8 kB / 0.9191 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/1.078, allocations: 156.1 kB / 0.9192 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/1.078, allocations: 16.95 kB / 0.9192 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/1.079, allocations: 155.2 kB / 0.9194 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/1.079, allocations: 27.98 kB / 0.9194 GB, free: 2.008 MB / 0.6231 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.0007062/1.08, allocations: 333.2 kB / 0.9197 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/1.08, allocations: 79.06 kB / 0.9198 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/1.08, allocations: 115.7 kB / 0.9199 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.08, allocations: 11.94 kB / 0.9199 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.08, allocations: 0 / 0.9199 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001443/1.082, allocations: 1.093 MB / 0.921 GB, free: 296 kB / 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 postOpt removeSimpleEquations (simulation): time 0.00478/1.087, allocations: 2.312 MB / 0.9233 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.087, allocations: 0 / 0.9233 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009123/1.088, allocations: 175.8 kB / 0.9234 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/1.088, allocations: 4 kB / 0.9234 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-05/1.088, allocations: 20 kB / 0.9235 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/1.088, allocations: 4 kB / 0.9235 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.088, allocations: 0 / 0.9235 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/1.09, allocations: 1.358 MB / 0.9248 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006964/1.091, allocations: 248 kB / 0.925 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/1.091, allocations: 16 kB / 0.925 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.092, allocations: 105.1 kB / 0.9251 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.092, allocations: 40.59 kB / 0.9252 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/1.092, allocations: 23.98 kB / 0.9252 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007229/1.093, allocations: 419.1 kB / 0.9256 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/1.093, allocations: 0 / 0.9256 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001526/1.095, allocations: 367 kB / 0.9259 GB, free: 11.1 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.0004844/1.095, allocations: 191.8 kB / 0.9261 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001544/1.097, allocations: 0.7941 MB / 0.9269 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.097, allocations: 0 / 0.9269 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006828/1.097, allocations: 424.2 kB / 0.9273 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.1, allocations: 0.5664 MB / 0.9279 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005342/1.106, allocations: 2.699 MB / 0.9305 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/1.107, allocations: 1.136 MB / 0.9316 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/1.108, allocations: 83.42 kB / 0.9317 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of SimCode: time 1.974e-06/1.108, allocations: 0 / 0.9317 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of Templates: time 0.03425/1.142, allocations: 15.76 MB / 0.9471 GB, free: 5.535 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