Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001019/0.001019, allocations: 96.14 kB / 15.87 MB, free: 16 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.001023/0.001023, allocations: 194 kB / 16.79 MB, free: 6.812 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7582/0.7582, allocations: 132.2 MB / 422.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 64.59 kB / 0.5017 GB, free: 9.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1723, allocations: 80.2 MB / 0.58 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5511/0.7234, allocations: 201.9 MB / 0.7772 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.7353, allocations: 6.438 MB / 0.7835 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.7372, allocations: 31.81 kB / 0.7835 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001971/0.7392, allocations: 0.6415 MB / 0.7842 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00677/0.746, allocations: 2.513 MB / 0.7866 GB, free: 15.79 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001866/0.7479, allocations: 0.6422 MB / 0.7873 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005411/0.7533, allocations: 4.836 MB / 0.792 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.755, allocations: 0.9564 MB / 0.7929 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.7573, allocations: 1.089 MB / 0.794 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.7596, allocations: 1.139 MB / 0.7951 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.7598, allocations: 72 kB / 0.7952 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00501/0.7648, allocations: 2.731 MB / 0.7978 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005979/0.7654, allocations: 466.7 kB / 0.7983 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.7665, allocations: 0.6805 MB / 0.7989 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.7693, allocations: 2.074 MB / 0.801 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7693, allocations: 0 / 0.801 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7693, allocations: 0 / 0.801 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.7694, allocations: 0 / 0.801 GB, free: 1.078 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.004092/0.7734, allocations: 1.768 MB / 0.8027 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.7735, allocations: 15.91 kB / 0.8027 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.7758, allocations: 350.1 kB / 0.803 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.7771, allocations: 0.8351 MB / 0.8038 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.703e-05/0.7771, allocations: 78 kB / 0.8039 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.7773, allocations: 107.8 kB / 0.804 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.7792, allocations: 1.199 MB / 0.8052 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.7792, allocations: 0 / 0.8052 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.7793, allocations: 41.5 kB / 0.8052 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.472e-05/0.7794, allocations: 62.06 kB / 0.8053 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.7813, allocations: 1.242 MB / 0.8065 GB, free: 11.25 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.007341/0.7887, allocations: 5.05 MB / 0.8114 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.7902, allocations: 1.152 MB / 0.8126 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007437/0.7909, allocations: 0.5012 MB / 0.8131 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.791, allocations: 12.64 kB / 0.8131 GB, free: 4 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007879/0.7918, allocations: 480.2 kB / 0.8135 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 3.085e-06/0.7918, allocations: 0 / 0.8135 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.001923/0.7937, allocations: 1.165 MB / 0.8147 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.7938, allocations: 60.06 kB / 0.8147 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/0.7944, allocations: 0.5706 MB / 0.8153 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.7945, allocations: 41.7 kB / 0.8153 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.7948, allocations: 467.8 kB / 0.8158 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.7951, allocations: 272 kB / 0.816 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.7952, allocations: 122.7 kB / 0.8161 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.7954, allocations: 390.8 kB / 0.8165 GB, free: 404 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.7959, allocations: 333.8 kB / 0.8168 GB, free: 72 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.7964, allocations: 454.6 kB / 0.8173 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.7975, allocations: 0.8272 MB / 0.8181 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7975, allocations: 0 / 0.8181 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001316/0.7989, allocations: 0.9297 MB / 0.819 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.7989, allocations: 4 kB / 0.819 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.7989, allocations: 7.938 kB / 0.819 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7989, allocations: 4 kB / 0.819 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/0.7996, allocations: 163.7 kB / 0.8192 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.7996, allocations: 4 kB / 0.8192 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009102/0.8005, allocations: 142.1 kB / 0.8193 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.8006, allocations: 24 kB / 0.8193 GB, free: 13.45 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.0004802/0.801, allocations: 334.5 kB / 0.8196 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.8012, allocations: 83.06 kB / 0.8197 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.8014, allocations: 111.7 kB / 0.8198 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.8014, allocations: 11.94 kB / 0.8198 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.8014, allocations: 0 / 0.8198 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001106/0.8025, allocations: 1.081 MB / 0.8209 GB, free: 11.73 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.003039/0.8056, allocations: 2.316 MB / 0.8231 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.8056, allocations: 0 / 0.8231 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008211/0.8064, allocations: 179.8 kB / 0.8233 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.8064, allocations: 7.938 kB / 0.8233 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.754e-05/0.8065, allocations: 15.98 kB / 0.8233 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.8065, allocations: 4 kB / 0.8233 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8065, allocations: 0 / 0.8233 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.8084, allocations: 1.487 MB / 0.8248 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.8088, allocations: 248 kB / 0.825 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.8089, allocations: 20 kB / 0.8251 GB, free: 7.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/0.8097, allocations: 97.47 kB / 0.8251 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.8098, allocations: 48.59 kB / 0.8252 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.8099, allocations: 27.92 kB / 0.8252 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004661/0.8103, allocations: 415.1 kB / 0.8256 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8103, allocations: 0 / 0.8256 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008951/0.8112, allocations: 371 kB / 0.826 GB, free: 6.406 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.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.0002876/0.8115, allocations: 183 kB / 0.8261 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.8127, allocations: 0.7942 MB / 0.8269 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.8127, allocations: 0 / 0.8269 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005306/0.8132, allocations: 427.5 kB / 0.8273 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.8156, allocations: 0.5698 MB / 0.8279 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.819, allocations: 2.685 MB / 0.8305 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/0.8197, allocations: 1.14 MB / 0.8316 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/0.82, allocations: 79.42 kB / 0.8317 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of SimCode: time 4.2e-07/0.82, allocations: 0 / 0.8317 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of Templates: time 0.02184/0.8418, allocations: 15.95 MB / 0.8473 GB, free: 0.6914 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.o OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.o] Error 1