Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008654/0.0008654, allocations: 99.67 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.0009771/0.000977, allocations: 175.1 kB / 16.58 MB, free: 6.422 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.471/1.471, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.257/1.257, allocations: 143.4 MB / 435.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 8 kB / 0.5166 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2064, allocations: 83.41 MB / 0.5981 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.6281/0.8345, allocations: 175.4 MB / 0.7693 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007875/0.8425, allocations: 3.785 MB / 0.773 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.8438, allocations: 15.94 kB / 0.773 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.8454, allocations: 313.9 kB / 0.7733 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.8498, allocations: 1.139 MB / 0.7744 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.8539, allocations: 0.9642 MB / 0.7754 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00319/0.8571, allocations: 1.985 MB / 0.7773 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.8582, allocations: 0.823 MB / 0.7781 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.8598, allocations: 0.8487 MB / 0.779 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.8608, allocations: 0.8411 MB / 0.7798 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.861, allocations: 72 kB / 0.7798 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.8631, allocations: 0.7054 MB / 0.7805 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003534/0.8634, allocations: 335 kB / 0.7809 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.8637, allocations: 181.2 kB / 0.781 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.865, allocations: 1.118 MB / 0.7821 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.865, allocations: 0 / 0.7821 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8651, allocations: 0 / 0.7821 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.8651, allocations: 0 / 0.7821 GB, free: 15.63 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002567/0.8676, allocations: 1.187 MB / 0.7833 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.8677, allocations: 12.03 kB / 0.7833 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.8691, allocations: 242.7 kB / 0.7835 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.87, allocations: 0.557 MB / 0.7841 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.8701, allocations: 40.98 kB / 0.7841 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.8702, allocations: 48 kB / 0.7842 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.8716, allocations: 0.9725 MB / 0.7851 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.8716, allocations: 4 kB / 0.7851 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.8717, allocations: 20 kB / 0.7851 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.8718, allocations: 27.98 kB / 0.7852 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.8733, allocations: 0.9484 MB / 0.7861 GB, free: 11.42 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.005429/0.8787, allocations: 4.186 MB / 0.7902 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.8797, allocations: 0.6025 MB / 0.7908 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008234/0.8805, allocations: 0.5214 MB / 0.7913 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.8817, allocations: 0.89 MB / 0.7921 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.8817, allocations: 39.5 kB / 0.7922 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001391/0.8831, allocations: 351.2 kB / 0.7925 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 2.515e-06/0.8832, allocations: 0 / 0.7925 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01514/0.8983, allocations: 3.689 MB / 0.7961 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.8984, allocations: 55.84 kB / 0.7962 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009978/0.8994, allocations: 0.7038 MB / 0.7969 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.925e-05/0.8995, allocations: 37.7 kB / 0.7969 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.8998, allocations: 320.7 kB / 0.7972 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.9, allocations: 173.4 kB / 0.7974 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.9, allocations: 12 kB / 0.7974 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9002, allocations: 326 kB / 0.7977 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006372/0.9008, allocations: 400.9 kB / 0.7981 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007115/0.9015, allocations: 493.5 kB / 0.7985 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.9023, allocations: 444.7 kB / 0.799 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.9023, allocations: 4 kB / 0.799 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.009933/0.9122, allocations: 2.482 MB / 0.8014 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.9123, allocations: 11.94 kB / 0.8014 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.9123, allocations: 0 / 0.8014 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008152/0.9205, allocations: 1.553 MB / 0.8029 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.921, allocations: 100.3 kB / 0.803 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.932, allocations: 6.531 MB / 0.8094 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.933, allocations: 35.97 kB / 0.8094 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/0.9331, allocations: 48.11 kB / 0.8095 GB, free: 2.684 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004004/0.9335, allocations: 205.7 kB / 0.8097 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.9337, allocations: 86.36 kB / 0.8097 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/0.9384, allocations: 1.675 MB / 0.8114 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.9384, allocations: 4 kB / 0.8114 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9384, allocations: 4 kB / 0.8114 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.9385, allocations: 0 / 0.8114 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005302/0.9438, allocations: 2.493 MB / 0.8138 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.9438, allocations: 4 kB / 0.8138 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.9442, allocations: 91.83 kB / 0.8139 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/0.9471, allocations: 0.6538 MB / 0.8146 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.9472, allocations: 16 kB / 0.8146 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006286/0.9535, allocations: 4.406 MB / 0.8189 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9535, allocations: 0 / 0.8189 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/0.9586, allocations: 2.089 MB / 0.8209 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.9591, allocations: 236 kB / 0.8211 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.9592, allocations: 12 kB / 0.8211 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.9598, allocations: 31.89 kB / 0.8212 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.96, allocations: 56.62 kB / 0.8212 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.96, allocations: 31.88 kB / 0.8213 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007045/0.9607, allocations: 0.4912 MB / 0.8217 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9607, allocations: 0 / 0.8217 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001134/0.9619, allocations: 287.8 kB / 0.822 GB, free: 5.398 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005937/0.9625, allocations: 222.3 kB / 0.8222 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002925/0.9654, allocations: 1.379 MB / 0.8236 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9654, allocations: 0 / 0.8236 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.9671, allocations: 0.899 MB / 0.8245 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.9691, allocations: 447.1 kB / 0.8249 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.9724, allocations: 2.022 MB / 0.8269 GB, free: 388 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/0.9731, allocations: 0.9789 MB / 0.8278 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.9733, allocations: 67.41 kB / 0.8279 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of SimCode: time 7.22e-07/0.9733, allocations: 4 kB / 0.8279 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.02897/1.002, allocations: 19.24 MB / 0.8467 GB, free: 12.2 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLaw.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLawCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLawCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.PowerLawCalcHelperMain.o] Error 1