Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009992/0.0009994, 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.001313/0.001313, allocations: 175.7 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.537/1.537, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.159/1.159, allocations: 143.4 MB / 435.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 12 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2427, allocations: 83.41 MB / 0.5981 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.663/0.9058, allocations: 186 MB / 0.7797 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.9174, allocations: 5.994 MB / 0.7855 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.9193, allocations: 27.81 kB / 0.7856 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.9212, allocations: 489.1 kB / 0.786 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007131/0.9284, allocations: 1.94 MB / 0.7879 GB, free: 9.734 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/IBPSA/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.002037/0.9304, allocations: 499.8 kB / 0.7884 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006182/0.9366, allocations: 4.026 MB / 0.7923 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.9385, allocations: 0.8056 MB / 0.7931 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003182/0.9417, allocations: 1.066 MB / 0.7942 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.9443, allocations: 1.051 MB / 0.7952 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.9445, allocations: 60 kB / 0.7952 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/0.949, allocations: 1.126 MB / 0.7963 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007729/0.9498, allocations: 450.7 kB / 0.7968 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006316/0.9504, allocations: 289.1 kB / 0.797 GB, free: 360 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.9535, allocations: 1.917 MB / 0.7989 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.9535, allocations: 0 / 0.7989 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9535, allocations: 0 / 0.7989 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.9536, allocations: 0 / 0.7989 GB, free: 14.43 MB / 0.6231 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.003814/0.9574, allocations: 1.547 MB / 0.8004 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.9574, allocations: 8.031 kB / 0.8004 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.9596, allocations: 350.1 kB / 0.8008 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.9611, allocations: 0.816 MB / 0.8016 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/0.9612, allocations: 74 kB / 0.8016 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.9614, allocations: 103.9 kB / 0.8017 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.9635, allocations: 1.183 MB / 0.8029 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.9636, allocations: 4 kB / 0.8029 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.9637, allocations: 47.95 kB / 0.8029 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.138e-05/0.9638, allocations: 58.06 kB / 0.803 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.9657, allocations: 1.238 MB / 0.8042 GB, free: 8.875 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.007032/0.9728, allocations: 5.085 MB / 0.8092 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.9745, allocations: 1.156 MB / 0.8103 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007609/0.9753, allocations: 0.4934 MB / 0.8108 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 6.854e-05/0.9753, allocations: 20.64 kB / 0.8108 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007942/0.9761, allocations: 476.8 kB / 0.8113 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.417e-06/0.9762, allocations: 4 kB / 0.8113 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.002218/0.9784, allocations: 1.157 MB / 0.8124 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.9784, allocations: 60.06 kB / 0.8124 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/0.9792, allocations: 0.5628 MB / 0.813 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.9793, allocations: 41.7 kB / 0.813 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.9797, allocations: 467.8 kB / 0.8135 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002805/0.98, allocations: 268 kB / 0.8137 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.9801, allocations: 20 kB / 0.8138 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002246/0.9803, allocations: 386.7 kB / 0.8141 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.9809, allocations: 329.8 kB / 0.8144 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.9815, allocations: 444.7 kB / 0.8149 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/0.9821, allocations: 399 kB / 0.8152 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9821, allocations: 0 / 0.8152 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001437/0.9836, allocations: 0.9258 MB / 0.8162 GB, free: 12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.9836, allocations: 4 kB / 0.8162 GB, free: 12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.9836, allocations: 4 kB / 0.8162 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.9836, allocations: 8 kB / 0.8162 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.9843, allocations: 156.2 kB / 0.8163 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.9844, allocations: 8.344 kB / 0.8163 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.9855, allocations: 167.1 kB / 0.8165 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.9856, allocations: 24 kB / 0.8165 GB, free: 11.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007265/0.9863, allocations: 337.5 kB / 0.8168 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.9864, allocations: 79.06 kB / 0.8169 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.9868, allocations: 112.2 kB / 0.817 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.9868, allocations: 8 kB / 0.817 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.9868, allocations: 0 / 0.817 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/0.9882, allocations: 1.085 MB / 0.8181 GB, free: 9.926 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.003838/0.992, allocations: 2.317 MB / 0.8203 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.992, allocations: 4 kB / 0.8203 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007716/0.9928, allocations: 171.8 kB / 0.8205 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.9928, allocations: 0 / 0.8205 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.9929, allocations: 23.94 kB / 0.8205 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.9929, allocations: 8.453 kB / 0.8205 GB, free: 7.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.9929, allocations: 3.984 kB / 0.8205 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.9949, allocations: 1.342 MB / 0.8219 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004858/0.9954, allocations: 256.5 kB / 0.8221 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.9955, allocations: 20 kB / 0.8221 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.9962, allocations: 91.91 kB / 0.8222 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.9963, allocations: 52.48 kB / 0.8223 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/0.9963, allocations: 24.61 kB / 0.8223 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005265/0.9969, allocations: 407.1 kB / 0.8227 GB, free: 5.102 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9969, allocations: 4 kB / 0.8227 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001028/0.9979, allocations: 371 kB / 0.823 GB, free: 4.734 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 (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.0003517/0.9983, allocations: 184.8 kB / 0.8232 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.9995, allocations: 0.7864 MB / 0.824 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9995, allocations: 0.6875 kB / 0.824 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005447/1, allocations: 423.5 kB / 0.8244 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/1.002, allocations: 0.5622 MB / 0.8249 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/1.007, allocations: 2.776 MB / 0.8276 GB, free: 8 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009065/1.008, allocations: 1.14 MB / 0.8287 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/1.008, allocations: 83.42 kB / 0.8288 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of SimCode: time 1.413e-06/1.008, allocations: 0 / 0.8288 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.02765/1.036, allocations: 15.65 MB / 0.8441 GB, free: 15.26 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.o] Error 1