Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.PressurizationData,tolerance=1e-08,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationData") translateModel(IDEAS.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-08,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009218/0.0009218, allocations: 92.16 kB / 16.02 MB, free: 80 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.001048/0.001048, allocations: 172.2 kB / 16.92 MB, free: 6.652 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.273/1.273, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8704/0.8704, allocations: 135.3 MB / 427.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002969/0.000297, allocations: 8.5 kB / 0.5082 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1307, allocations: 82.32 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.4073/0.5381, allocations: 181.5 MB / 0.7659 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.5584, allocations: 15.67 MB / 0.7812 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.5602, allocations: 35.81 kB / 0.7812 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.5622, allocations: 0.5749 MB / 0.7818 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005578/0.5678, allocations: 1.969 MB / 0.7837 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004081/0.5718, allocations: 1.583 MB / 0.7852 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004561/0.5764, allocations: 4.095 MB / 0.7892 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.5786, allocations: 1.662 MB / 0.7908 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.5818, allocations: 1.134 MB / 0.792 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.5835, allocations: 1.021 MB / 0.793 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.5837, allocations: 56 kB / 0.793 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.5873, allocations: 2.027 MB / 0.795 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.5877, allocations: 462.1 kB / 0.7954 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008909/0.5886, allocations: 0.8949 MB / 0.7963 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.5913, allocations: 2.447 MB / 0.7987 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5913, allocations: 0 / 0.7987 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5913, allocations: 4 kB / 0.7987 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.632e-05/0.5914, allocations: 0 / 0.7987 GB, free: 5.281 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: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.003268/0.5946, allocations: 2.012 MB / 0.8007 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5947, allocations: 8.031 kB / 0.8007 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.5978, allocations: 0.5205 MB / 0.8012 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.5996, allocations: 1.231 MB / 0.8024 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.185e-05/0.5997, allocations: 123.2 kB / 0.8025 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.5999, allocations: 156 kB / 0.8026 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/0.6027, allocations: 1.8 MB / 0.8044 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.6027, allocations: 0 / 0.8044 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.6029, allocations: 72 kB / 0.8045 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-05/0.603, allocations: 67.03 kB / 0.8045 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.6059, allocations: 1.823 MB / 0.8063 GB, free: 13.27 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.007885/0.6138, allocations: 6.165 MB / 0.8123 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.6162, allocations: 1.495 MB / 0.8138 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009945/0.6172, allocations: 0.6241 MB / 0.8144 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006886/0.6179, allocations: 0.6259 MB / 0.815 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/0.6192, allocations: 0.7944 MB / 0.8158 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=133): time 2.645e-06/0.6193, allocations: 0 / 0.8158 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133): time 0.005159/0.6244, allocations: 2.216 MB / 0.818 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.6245, allocations: 209.1 kB / 0.8182 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.6259, allocations: 1.055 MB / 0.8192 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.6261, allocations: 53.7 kB / 0.8192 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/0.6267, allocations: 0.6844 MB / 0.8199 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.627, allocations: 449.4 kB / 0.8203 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.6272, allocations: 109.7 kB / 0.8204 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6273, allocations: 353.9 kB / 0.8208 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008944/0.6282, allocations: 478.3 kB / 0.8212 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.6293, allocations: 0.638 MB / 0.8219 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/0.6312, allocations: 1.126 MB / 0.823 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.6312, allocations: 0 / 0.823 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00315/0.6344, allocations: 1.489 MB / 0.8244 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6344, allocations: 8 kB / 0.8244 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.6344, allocations: 0 / 0.8244 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007691/0.6352, allocations: 150.5 kB / 0.8246 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.6365, allocations: 291.6 kB / 0.8248 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.6403, allocations: 4.221 MB / 0.829 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.6418, allocations: 166.9 kB / 0.8291 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.6419, allocations: 55.97 kB / 0.8292 GB, free: 4.676 MB / 0.6387 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.0007456/0.6427, allocations: 401.4 kB / 0.8296 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.6429, allocations: 150.2 kB / 0.8297 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/0.6465, allocations: 1.716 MB / 0.8314 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.6465, allocations: 16 kB / 0.8314 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6466, allocations: 3.938 kB / 0.8314 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002657/0.6492, allocations: 1.396 MB / 0.8328 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005679/0.6549, allocations: 3.311 MB / 0.836 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.655, allocations: 3.984 kB / 0.836 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001296/0.6563, allocations: 299.6 kB / 0.8363 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006878/0.657, allocations: 142.5 kB / 0.8364 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.62e-05/0.6571, allocations: 43.91 kB / 0.8365 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/0.6608, allocations: 4.222 MB / 0.8406 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6608, allocations: 80 / 0.8406 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004522/0.6653, allocations: 2.331 MB / 0.8429 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008353/0.6662, allocations: 422.7 kB / 0.8433 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.6664, allocations: 28 kB / 0.8433 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.6676, allocations: 139.9 kB / 0.8434 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.6678, allocations: 97.36 kB / 0.8435 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.6679, allocations: 51.97 kB / 0.8436 GB, free: 5.352 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001034/0.669, allocations: 0.7214 MB / 0.8443 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.669, allocations: 0 / 0.8443 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001594/0.6706, allocations: 0.6195 MB / 0.8449 GB, free: 4.004 MB / 0.6544 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.001634/0.6722, allocations: 0.7379 MB / 0.8456 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002835/0.6751, allocations: 1.573 MB / 0.8471 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6751, allocations: 4.375 kB / 0.8471 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.6768, allocations: 1.031 MB / 0.8481 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/0.6799, allocations: 0.6466 MB / 0.8488 GB, free: 160 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006914/0.6869, allocations: 4.335 MB / 0.853 GB, free: 11.79 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008812/0.6878, allocations: 1.362 MB / 0.8543 GB, free: 10.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/0.6884, allocations: 171.3 kB / 0.8545 GB, free: 10.23 MB / 0.67 GB Notification: Performance of SimCode: time 5.41e-07/0.6884, allocations: 0 / 0.8545 GB, free: 10.23 MB / 0.67 GB Notification: Performance of Templates: time 0.2886/0.977, allocations: 47.62 MB / 0.901 GB, free: 204.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationData.makefile make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationData.makefile clang++ -std=c++14 -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-master/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-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Airflow.Multizone.Examples.PressurizationDataFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.o] Error 1