Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationData.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.PressurizationData,tolerance=1e-08,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationData") translateModel(IDEAS.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-08,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 107.3 kB / 16.41 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7806/0.7806, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 65.56 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1411, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.5275/0.6685, allocations: 186.3 MB / 0.8422 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.6901, allocations: 15.81 MB / 0.8577 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.6923, allocations: 43.03 kB / 0.8577 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.6947, allocations: 0.7051 MB / 0.8584 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006732/0.7015, allocations: 2.217 MB / 0.8606 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00493/0.7064, allocations: 1.779 MB / 0.8623 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004832/0.7113, allocations: 3.38 MB / 0.8656 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.7144, allocations: 1.943 MB / 0.8675 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003865/0.7183, allocations: 1.465 MB / 0.8689 GB, free: 264 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.7207, allocations: 1.179 MB / 0.8701 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004855/0.7212, allocations: 204 kB / 0.8703 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003998/0.7252, allocations: 1.938 MB / 0.8722 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.7259, allocations: 0.6153 MB / 0.8728 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.7272, allocations: 1.065 MB / 0.8738 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005383/0.7326, allocations: 3.38 MB / 0.8771 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.7326, allocations: 0 / 0.8771 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7326, allocations: 4 kB / 0.8771 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.621e-05/0.7327, allocations: 0 / 0.8771 GB, free: 7.852 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.004442/0.7371, allocations: 2.425 MB / 0.8795 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.7372, allocations: 8.031 kB / 0.8795 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003401/0.7406, allocations: 0.5058 MB / 0.88 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.743, allocations: 1.27 MB / 0.8812 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.7432, allocations: 127.2 kB / 0.8813 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002614/0.7434, allocations: 156 kB / 0.8815 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/0.7467, allocations: 1.788 MB / 0.8832 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.7467, allocations: 0 / 0.8832 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.7469, allocations: 71.94 kB / 0.8833 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.724e-05/0.747, allocations: 70.97 kB / 0.8834 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.7501, allocations: 1.815 MB / 0.8851 GB, free: 15.42 MB / 0.6544 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.008335/0.7584, allocations: 6.102 MB / 0.8911 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.7609, allocations: 1.488 MB / 0.8926 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009964/0.7619, allocations: 0.6202 MB / 0.8932 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007045/0.7626, allocations: 0.6298 MB / 0.8938 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/0.764, allocations: 0.7866 MB / 0.8945 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=133): time 3.367e-06/0.764, allocations: 0 / 0.8945 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=133): time 0.005205/0.7692, allocations: 2.208 MB / 0.8967 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.7694, allocations: 193.2 kB / 0.8969 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.7708, allocations: 1.055 MB / 0.8979 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.7709, allocations: 53.7 kB / 0.898 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000553/0.7715, allocations: 0.6922 MB / 0.8986 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003771/0.7719, allocations: 453.3 kB / 0.8991 GB, free: 472 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003584/0.7722, allocations: 242.8 kB / 0.8993 GB, free: 224 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7724, allocations: 357.9 kB / 0.8997 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008916/0.7733, allocations: 470.4 kB / 0.9001 GB, free: 15.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.7743, allocations: 0.6301 MB / 0.9007 GB, free: 14.73 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.7763, allocations: 1.119 MB / 0.9018 GB, free: 13.59 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.7763, allocations: 0 / 0.9018 GB, free: 13.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003218/0.7795, allocations: 1.486 MB / 0.9033 GB, free: 12.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.7796, allocations: 6.031 kB / 0.9033 GB, free: 12.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.7796, allocations: 7.984 kB / 0.9033 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/0.7803, allocations: 142.5 kB / 0.9034 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.7816, allocations: 287.6 kB / 0.9037 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/0.7855, allocations: 4.553 MB / 0.9081 GB, free: 6.668 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.7869, allocations: 127 kB / 0.9083 GB, free: 6.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.787, allocations: 51.97 kB / 0.9083 GB, free: 6.492 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007843/0.7878, allocations: 409.4 kB / 0.9087 GB, free: 6.082 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.7881, allocations: 146.2 kB / 0.9088 GB, free: 5.938 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/0.7917, allocations: 1.702 MB / 0.9105 GB, free: 4.215 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.7917, allocations: 16 kB / 0.9105 GB, free: 4.199 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7918, allocations: 0 / 0.9105 GB, free: 4.199 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002655/0.7944, allocations: 1.392 MB / 0.9119 GB, free: 2.766 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.8001, allocations: 3.3 MB / 0.9151 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.8002, allocations: 0 / 0.9151 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.8015, allocations: 291.6 kB / 0.9154 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006069/0.8021, allocations: 130.5 kB / 0.9155 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.8022, allocations: 39.98 kB / 0.9155 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/0.806, allocations: 4.557 MB / 0.92 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8061, allocations: 0 / 0.92 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004448/0.8105, allocations: 2.313 MB / 0.9222 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/0.8113, allocations: 406.8 kB / 0.9226 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.8115, allocations: 31.94 kB / 0.9227 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.8125, allocations: 79.86 kB / 0.9227 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.8127, allocations: 97.17 kB / 0.9228 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.8129, allocations: 55.97 kB / 0.9229 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009763/0.8138, allocations: 0.7253 MB / 0.9236 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8138, allocations: 0 / 0.9236 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001482/0.8153, allocations: 0.6079 MB / 0.9242 GB, free: 5.602 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.U,room.dynBal.m,room.dynBal.mXi[1],pow_1dat.mExc,pow_1dat1.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001685/0.817, allocations: 0.7414 MB / 0.9249 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002839/0.8199, allocations: 1.573 MB / 0.9264 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.8199, allocations: 448 / 0.9264 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.8216, allocations: 1.027 MB / 0.9274 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/0.8247, allocations: 0.6961 MB / 0.9281 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006534/0.8312, allocations: 3.396 MB / 0.9314 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009175/0.8322, allocations: 1.362 MB / 0.9328 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/0.8328, allocations: 171.4 kB / 0.9329 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/0.8328, allocations: 0 / 0.9329 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of Templates: time 0.05454/0.8874, allocations: 48.05 MB / 0.9799 GB, free: 12.79 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationData.makefile make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationData.makefile clang++ -std=c++17 -fopenmp=libomp -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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.o OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationDataFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.o] Error 1