Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/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.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_9_Buildings.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.0009474/0.0009521, allocations: 100.5 kB / 15.71 MB, free: 452 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.001327/0.001327, allocations: 178.8 kB / 16.58 MB, free: 6.879 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.522/1.522, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.654/2.654, allocations: 390.5 MB / 0.6662 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003591, allocations: 11.98 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7916/0.792, allocations: 142.3 MB / 0.9544 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.197/0.9891, allocations: 185.9 MB / 1.136 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009381/0.9986, allocations: 5.977 MB / 1.142 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/1, allocations: 31.81 kB / 1.142 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/1.002, allocations: 485.1 kB / 1.142 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005232/1.007, allocations: 1.932 MB / 1.144 GB, free: 13.41 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.001508/1.008, allocations: 0.4917 MB / 1.145 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004445/1.013, allocations: 4.027 MB / 1.149 GB, free: 8.887 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/1.014, allocations: 0.8172 MB / 1.149 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/1.016, allocations: 1.062 MB / 1.15 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/1.017, allocations: 1.051 MB / 1.151 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/1.018, allocations: 56 kB / 1.152 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002948/1.02, allocations: 1.126 MB / 1.153 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004704/1.021, allocations: 446.7 kB / 1.153 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003874/1.021, allocations: 289.1 kB / 1.153 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/1.024, allocations: 1.839 MB / 1.155 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.024, allocations: 0 / 1.155 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.003e-06/1.024, allocations: 4 kB / 1.155 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.434e-05/1.024, allocations: 0 / 1.155 GB, free: 2.18 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003322/1.027, allocations: 1.533 MB / 1.157 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/1.027, allocations: 12.03 kB / 1.157 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/1.029, allocations: 350.1 kB / 1.157 GB, free: 244 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/1.03, allocations: 0.816 MB / 1.158 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/1.03, allocations: 78 kB / 1.158 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/1.031, allocations: 104 kB / 1.158 GB, free: 15.2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/1.033, allocations: 1.187 MB / 1.159 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/1.033, allocations: 0 / 1.159 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.597e-05/1.033, allocations: 40 kB / 1.159 GB, free: 13.94 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.91e-05/1.033, allocations: 58.08 kB / 1.159 GB, free: 13.88 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/1.035, allocations: 1.242 MB / 1.16 GB, free: 12.63 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.006099/1.041, allocations: 5.069 MB / 1.165 GB, free: 7.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/1.042, allocations: 1.161 MB / 1.166 GB, free: 5.867 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007846/1.043, allocations: 0.5051 MB / 1.167 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.205e-05/1.043, allocations: 12.64 kB / 1.167 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008082/1.044, allocations: 488.2 kB / 1.167 GB, free: 4.859 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 3.356e-06/1.044, allocations: 0 / 1.167 GB, free: 4.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.002285/1.046, allocations: 1.157 MB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/1.046, allocations: 64.02 kB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008037/1.047, allocations: 0.5667 MB / 1.169 GB, free: 3.047 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/1.047, allocations: 37.7 kB / 1.169 GB, free: 3.004 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/1.048, allocations: 463.5 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003317/1.048, allocations: 268.1 kB / 1.17 GB, free: 2.277 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/1.048, allocations: 16 kB / 1.17 GB, free: 2.262 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002377/1.048, allocations: 386.8 kB / 1.17 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005467/1.049, allocations: 329.8 kB / 1.171 GB, free: 1.551 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/1.05, allocations: 444.8 kB / 1.171 GB, free: 1.082 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/1.05, allocations: 403 kB / 1.171 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.05, allocations: 4 kB / 1.171 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001438/1.052, allocations: 0.9179 MB / 1.172 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/1.052, allocations: 8 kB / 1.172 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.052, allocations: 4 kB / 1.172 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/1.052, allocations: 4.344 kB / 1.172 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/1.052, allocations: 167.7 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/1.052, allocations: 7.953 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/1.054, allocations: 151.3 kB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-05/1.054, allocations: 27.94 kB / 1.173 GB, free: 15.39 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006075/1.054, allocations: 337.5 kB / 1.173 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/1.054, allocations: 83.05 kB / 1.173 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/1.055, allocations: 107.8 kB / 1.173 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.055, allocations: 8 kB / 1.173 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.055, allocations: 0 / 1.173 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/1.056, allocations: 1.093 MB / 1.174 GB, free: 13.68 MB / 0.9356 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.003303/1.059, allocations: 2.305 MB / 1.177 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.059, allocations: 11.89 kB / 1.177 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007907/1.06, allocations: 167.8 kB / 1.177 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/1.06, allocations: 4 kB / 1.177 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/1.06, allocations: 16 kB / 1.177 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/1.06, allocations: 7.938 kB / 1.177 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.06, allocations: 4.031 kB / 1.177 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/1.062, allocations: 1.35 MB / 1.178 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/1.062, allocations: 255.9 kB / 1.178 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.063, allocations: 16 kB / 1.178 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007444/1.063, allocations: 102 kB / 1.178 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/1.063, allocations: 40.59 kB / 1.178 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/1.063, allocations: 27.98 kB / 1.178 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004945/1.064, allocations: 415 kB / 1.179 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.903e-06/1.064, allocations: 0 / 1.179 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009456/1.065, allocations: 371 kB / 1.179 GB, free: 8.484 MB / 0.9356 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 (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.000292/1.065, allocations: 173.8 kB / 1.179 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001165/1.066, allocations: 0.798 MB / 1.18 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.066, allocations: 0 / 1.18 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005311/1.067, allocations: 428.1 kB / 1.181 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.069, allocations: 0.5646 MB / 1.181 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003781/1.073, allocations: 2.776 MB / 1.184 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/1.074, allocations: 1.14 MB / 1.185 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/1.074, allocations: 75.42 kB / 1.185 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of SimCode: time 1.022e-06/1.074, allocations: 4 kB / 1.185 GB, free: 2.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.02704/1.101, allocations: 15.62 MB / 1.2 GB, free: 2.965 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlowCalcHelperMain.o OMCppBuildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.o] Error 1