Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.000787/0.0007869, allocations: 98.97 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.0007915/0.0007915, allocations: 175.2 kB / 16.58 MB, free: 6.418 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.22/1.22, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8769/0.8769, allocations: 135.3 MB / 427 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 8 kB / 0.5076 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1574, allocations: 82.31 MB / 0.588 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.477/0.6344, allocations: 185.9 MB / 0.7695 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008945/0.6433, allocations: 5.968 MB / 0.7753 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.6447, allocations: 31.81 kB / 0.7754 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.6462, allocations: 489.1 kB / 0.7758 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005331/0.6515, allocations: 1.932 MB / 0.7777 GB, free: 10.68 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.001502/0.653, allocations: 496 kB / 0.7782 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004403/0.6574, allocations: 4.034 MB / 0.7821 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.6587, allocations: 0.8174 MB / 0.7829 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.6608, allocations: 1.066 MB / 0.784 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.6623, allocations: 1.051 MB / 0.785 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.6624, allocations: 56 kB / 0.785 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003045/0.6655, allocations: 1.126 MB / 0.7861 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005019/0.666, allocations: 442.7 kB / 0.7866 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.6665, allocations: 293.1 kB / 0.7868 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.6688, allocations: 1.835 MB / 0.7886 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6688, allocations: 4 kB / 0.7886 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6688, allocations: 0 / 0.7886 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.6688, allocations: 0 / 0.7886 GB, free: 15.45 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.003295/0.6721, allocations: 1.539 MB / 0.7901 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.6722, allocations: 8.031 kB / 0.7902 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.6742, allocations: 350.1 kB / 0.7905 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.6754, allocations: 0.8082 MB / 0.7913 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.6755, allocations: 86 kB / 0.7914 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.6757, allocations: 100 kB / 0.7915 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.6775, allocations: 1.191 MB / 0.7926 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.6776, allocations: 7.922 kB / 0.7926 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/0.6777, allocations: 40 kB / 0.7927 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-05/0.6777, allocations: 58.08 kB / 0.7927 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.6795, allocations: 1.234 MB / 0.7939 GB, free: 9.906 MB / 0.6075 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.005596/0.6851, allocations: 5.054 MB / 0.7989 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.6864, allocations: 1.15 MB / 0.8 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006502/0.6871, allocations: 0.5051 MB / 0.8005 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/0.6871, allocations: 8.656 kB / 0.8005 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006984/0.6878, allocations: 484.2 kB / 0.8009 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.996e-06/0.6878, allocations: 4 kB / 0.801 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.00184/0.6897, allocations: 1.145 MB / 0.8021 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.6897, allocations: 60.06 kB / 0.8021 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/0.6903, allocations: 0.5706 MB / 0.8027 GB, free: 372 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.6904, allocations: 41.7 kB / 0.8027 GB, free: 324 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.6907, allocations: 467.7 kB / 0.8032 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.6909, allocations: 264.2 kB / 0.8034 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.691, allocations: 16 kB / 0.8034 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6911, allocations: 390.5 kB / 0.8038 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/0.6916, allocations: 321.8 kB / 0.8041 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.6921, allocations: 462.4 kB / 0.8046 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.6926, allocations: 395.1 kB / 0.8049 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6926, allocations: 4 kB / 0.8049 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001201/0.6938, allocations: 0.914 MB / 0.8058 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6938, allocations: 7.156 kB / 0.8058 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6939, allocations: 8 kB / 0.8058 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.6939, allocations: 8 kB / 0.8059 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.6945, allocations: 159.7 kB / 0.806 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.6945, allocations: 8 kB / 0.806 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/0.6953, allocations: 127.3 kB / 0.8061 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.6954, allocations: 24 kB / 0.8062 GB, free: 12.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004332/0.6958, allocations: 341.4 kB / 0.8065 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.6959, allocations: 83.05 kB / 0.8066 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.6961, allocations: 107.8 kB / 0.8067 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.6962, allocations: 12 kB / 0.8067 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6962, allocations: 1.25 kB / 0.8067 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/0.6973, allocations: 1.081 MB / 0.8077 GB, free: 11.02 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 postOpt removeSimpleEquations (simulation): time 0.002921/0.7002, allocations: 2.301 MB / 0.81 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.7002, allocations: 4 kB / 0.81 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/0.701, allocations: 183.8 kB / 0.8102 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.701, allocations: 0 / 0.8102 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.7011, allocations: 23.95 kB / 0.8102 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.7011, allocations: 7.938 kB / 0.8102 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7011, allocations: 0.875 kB / 0.8102 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.7028, allocations: 1.479 MB / 0.8116 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.7032, allocations: 256 kB / 0.8119 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.7033, allocations: 16 kB / 0.8119 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/0.704, allocations: 99.77 kB / 0.812 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.704, allocations: 44.59 kB / 0.812 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.7041, allocations: 25.42 kB / 0.8121 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004173/0.7045, allocations: 407.1 kB / 0.8124 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7045, allocations: 0 / 0.8124 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008197/0.7054, allocations: 367.1 kB / 0.8128 GB, free: 5.711 MB / 0.6231 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 (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.0002363/0.7056, allocations: 180.8 kB / 0.813 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.7067, allocations: 0.798 MB / 0.8137 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7067, allocations: 4 kB / 0.8137 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.7072, allocations: 423.5 kB / 0.8142 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.7093, allocations: 0.5642 MB / 0.8147 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.7124, allocations: 2.758 MB / 0.8174 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/0.713, allocations: 1.14 MB / 0.8185 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.7133, allocations: 83.42 kB / 0.8186 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of SimCode: time 6.32e-07/0.7133, allocations: 0 / 0.8186 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of Templates: time 0.01963/0.7329, allocations: 15.81 MB / 0.834 GB, free: 44 kB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile make -j1 -f IDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlowCalcHelperMain.o] Error 1