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.001381/0.001381, allocations: 106.4 kB / 16.41 MB, free: 6.508 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.001359/0.001359, allocations: 188.2 kB / 17.34 MB, free: 5.734 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8337/0.8337, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 72.59 kB / 0.5863 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1706, allocations: 80.93 MB / 0.6654 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.6044/0.775, allocations: 186.8 MB / 0.8477 GB, free: 196 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02477/0.7998, allocations: 15.83 MB / 0.8632 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.802, allocations: 46.28 kB / 0.8632 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.8044, allocations: 0.7086 MB / 0.8639 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006898/0.8113, allocations: 2.227 MB / 0.8661 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00531/0.8166, allocations: 1.776 MB / 0.8679 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005709/0.8224, allocations: 3.365 MB / 0.8711 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003044/0.8254, allocations: 1.62 MB / 0.8727 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/0.8298, allocations: 1.48 MB / 0.8742 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.8319, allocations: 1.173 MB / 0.8753 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000364/0.8323, allocations: 200 kB / 0.8755 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/0.8365, allocations: 1.934 MB / 0.8774 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006833/0.8372, allocations: 0.6346 MB / 0.878 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.8385, allocations: 1.061 MB / 0.879 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006143/0.8446, allocations: 3.394 MB / 0.8824 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.8447, allocations: 0 / 0.8824 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8447, allocations: 0 / 0.8824 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.318e-05/0.8447, allocations: 0 / 0.8824 GB, free: 1.008 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.004828/0.8495, allocations: 2.492 MB / 0.8848 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.8496, allocations: 13.11 kB / 0.8848 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003498/0.8531, allocations: 0.5177 MB / 0.8853 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.8556, allocations: 1.287 MB / 0.8866 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.8557, allocations: 123.2 kB / 0.8867 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.8559, allocations: 160 kB / 0.8868 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003372/0.8593, allocations: 1.788 MB / 0.8886 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.062e-05/0.8593, allocations: 0 / 0.8886 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.8595, allocations: 72 kB / 0.8887 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.378e-05/0.8596, allocations: 66.97 kB / 0.8887 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003343/0.8629, allocations: 1.815 MB / 0.8905 GB, free: 8.477 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.009743/0.8727, allocations: 6.104 MB / 0.8964 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/0.8753, allocations: 1.406 MB / 0.8978 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.8764, allocations: 0.5695 MB / 0.8984 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007932/0.8772, allocations: 0.622 MB / 0.899 GB, free: 15.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/0.8788, allocations: 0.7943 MB / 0.8998 GB, free: 14.43 MB / 0.67 GB Notification: Performance of pre-optimization done (n=133): time 2.935e-06/0.8788, allocations: 0 / 0.8998 GB, free: 14.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=133): time 0.005813/0.8846, allocations: 2.209 MB / 0.9019 GB, free: 12.15 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.8848, allocations: 205.2 kB / 0.9021 GB, free: 11.91 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.8864, allocations: 1.047 MB / 0.9031 GB, free: 10.85 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.8866, allocations: 53.7 kB / 0.9032 GB, free: 10.79 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006976/0.8873, allocations: 0.7013 MB / 0.9039 GB, free: 10.08 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004961/0.8878, allocations: 479.9 kB / 0.9043 GB, free: 9.609 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/0.8882, allocations: 254.8 kB / 0.9046 GB, free: 9.355 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.8884, allocations: 353.9 kB / 0.9049 GB, free: 9.004 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009849/0.8894, allocations: 471.2 kB / 0.9054 GB, free: 8.543 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.8906, allocations: 0.6301 MB / 0.906 GB, free: 7.871 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.8928, allocations: 1.119 MB / 0.9071 GB, free: 6.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.8928, allocations: 0 / 0.9071 GB, free: 6.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003609/0.8964, allocations: 1.482 MB / 0.9085 GB, free: 5.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.8964, allocations: 4 kB / 0.9085 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.8965, allocations: 4 kB / 0.9085 GB, free: 5.223 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008033/0.8973, allocations: 146.5 kB / 0.9087 GB, free: 5.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.8986, allocations: 291.6 kB / 0.9089 GB, free: 4.785 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00489/0.9035, allocations: 4.547 MB / 0.9134 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.9051, allocations: 133 kB / 0.9135 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.9052, allocations: 59.91 kB / 0.9136 GB, free: 15.62 MB / 0.6856 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.0009729/0.9062, allocations: 409.4 kB / 0.914 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.9067, allocations: 155 kB / 0.9141 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/0.9107, allocations: 1.702 MB / 0.9158 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.9107, allocations: 12 kB / 0.9158 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9107, allocations: 4 kB / 0.9158 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002962/0.9136, allocations: 1.389 MB / 0.9171 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006452/0.9201, allocations: 3.3 MB / 0.9204 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9201, allocations: 4 kB / 0.9204 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/0.9215, allocations: 291.6 kB / 0.9206 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006396/0.9221, allocations: 134.4 kB / 0.9208 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.9222, allocations: 35.98 kB / 0.9208 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.9267, allocations: 4.549 MB / 0.9252 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9267, allocations: 0 / 0.9252 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004828/0.9315, allocations: 2.31 MB / 0.9275 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008756/0.9324, allocations: 419.7 kB / 0.9279 GB, free: 328 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.9326, allocations: 35.89 kB / 0.9279 GB, free: 292 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.9337, allocations: 75.92 kB / 0.928 GB, free: 216 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/0.9339, allocations: 101.1 kB / 0.9281 GB, free: 116 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.934, allocations: 59.91 kB / 0.9282 GB, free: 56 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001149/0.9352, allocations: 0.7253 MB / 0.9289 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9352, allocations: 0 / 0.9289 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00171/0.9369, allocations: 0.6117 MB / 0.9295 GB, free: 14.71 MB / 0.7012 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.002341/0.9392, allocations: 0.7423 MB / 0.9302 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003139/0.9424, allocations: 1.519 MB / 0.9317 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9424, allocations: 448 / 0.9317 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.9441, allocations: 0.9837 MB / 0.9326 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/0.9473, allocations: 0.6906 MB / 0.9333 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007225/0.9545, allocations: 3.45 MB / 0.9367 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.9557, allocations: 1.366 MB / 0.938 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007009/0.9564, allocations: 175.4 kB / 0.9382 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of SimCode: time 1.172e-06/0.9564, allocations: 0 / 0.9382 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of Templates: time 0.06463/1.021, allocations: 48.16 MB / 0.9852 GB, free: 5.793 MB / 0.7481 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++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-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