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.001155/0.001155, allocations: 106.1 kB / 16.41 MB, free: 6.445 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.001181/0.001181, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.188/1.188, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7112/0.7112, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 71.19 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1225, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.4505/0.5731, allocations: 186.3 MB / 0.8472 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01755/0.5907, allocations: 15.81 MB / 0.8626 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.5919, allocations: 43.22 kB / 0.8627 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.5934, allocations: 0.6788 MB / 0.8633 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004401/0.5978, allocations: 2.163 MB / 0.8655 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.6015, allocations: 1.766 MB / 0.8672 GB, free: 236 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003553/0.6051, allocations: 3.371 MB / 0.8705 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.6072, allocations: 1.947 MB / 0.8724 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.6099, allocations: 1.432 MB / 0.8738 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.6114, allocations: 1.177 MB / 0.8749 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.6117, allocations: 204 kB / 0.8751 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003296/0.615, allocations: 1.922 MB / 0.877 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004751/0.6155, allocations: 0.6231 MB / 0.8776 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008582/0.6163, allocations: 1.061 MB / 0.8786 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.6197, allocations: 3.38 MB / 0.8819 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6197, allocations: 0 / 0.8819 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6197, allocations: 4 kB / 0.8819 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.6198, allocations: 0 / 0.8819 GB, free: 1.223 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.003378/0.6231, allocations: 2.417 MB / 0.8843 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.6232, allocations: 13.11 kB / 0.8843 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.6262, allocations: 0.5049 MB / 0.8848 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.628, allocations: 1.27 MB / 0.8861 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.662e-05/0.6281, allocations: 127.2 kB / 0.8862 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.6282, allocations: 156 kB / 0.8863 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.6309, allocations: 1.788 MB / 0.8881 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.6309, allocations: 4 kB / 0.8881 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.6311, allocations: 68 kB / 0.8881 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/0.6311, allocations: 71.03 kB / 0.8882 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.6339, allocations: 1.819 MB / 0.89 GB, free: 8.789 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.006943/0.6408, allocations: 6.1 MB / 0.8959 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.6431, allocations: 1.484 MB / 0.8974 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009217/0.6441, allocations: 0.6202 MB / 0.898 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006173/0.6447, allocations: 0.6259 MB / 0.8986 GB, free: 15.44 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.646, allocations: 0.7962 MB / 0.8994 GB, free: 14.62 MB / 0.67 GB Notification: Performance of pre-optimization done (n=133): time 3.186e-06/0.646, allocations: 0 / 0.8994 GB, free: 14.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=133): time 0.004926/0.6509, allocations: 2.2 MB / 0.9015 GB, free: 12.35 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.651, allocations: 201.2 kB / 0.9017 GB, free: 12.11 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.6522, allocations: 1.054 MB / 0.9028 GB, free: 11.05 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-05/0.6523, allocations: 53.7 kB / 0.9028 GB, free: 10.99 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.6528, allocations: 0.6883 MB / 0.9035 GB, free: 10.29 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.6532, allocations: 449.4 kB / 0.9039 GB, free: 9.844 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.6535, allocations: 246.7 kB / 0.9041 GB, free: 9.598 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6537, allocations: 357.9 kB / 0.9045 GB, free: 9.242 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008578/0.6545, allocations: 474.4 kB / 0.9049 GB, free: 8.777 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.6555, allocations: 0.6301 MB / 0.9055 GB, free: 8.105 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.6574, allocations: 1.115 MB / 0.9066 GB, free: 6.965 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.6574, allocations: 12 kB / 0.9066 GB, free: 6.953 MB / 0.67 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003008/0.6605, allocations: 1.474 MB / 0.9081 GB, free: 5.461 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6605, allocations: 12.16 kB / 0.9081 GB, free: 5.449 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6605, allocations: 3.984 kB / 0.9081 GB, free: 5.445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007234/0.6612, allocations: 146.5 kB / 0.9082 GB, free: 5.293 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.6624, allocations: 283.6 kB / 0.9085 GB, free: 5.016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/0.6662, allocations: 4.549 MB / 0.913 GB, free: 40 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.6674, allocations: 127.1 kB / 0.9131 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/0.6675, allocations: 51.97 kB / 0.9131 GB, free: 15.86 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.0006871/0.6682, allocations: 411.6 kB / 0.9135 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.6685, allocations: 150.2 kB / 0.9137 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/0.6719, allocations: 1.704 MB / 0.9153 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.672, allocations: 20 kB / 0.9153 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.672, allocations: 0 / 0.9153 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002649/0.6746, allocations: 1.385 MB / 0.9167 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005294/0.6799, allocations: 3.303 MB / 0.9199 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.68, allocations: 0 / 0.9199 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.6812, allocations: 287.7 kB / 0.9202 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/0.6818, allocations: 142.3 kB / 0.9203 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.112e-05/0.6819, allocations: 39.98 kB / 0.9204 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00368/0.6856, allocations: 4.545 MB / 0.9248 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6856, allocations: 0 / 0.9248 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004139/0.6898, allocations: 2.309 MB / 0.9271 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006668/0.6904, allocations: 406.8 kB / 0.9275 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.6907, allocations: 31.94 kB / 0.9275 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6917, allocations: 79.92 kB / 0.9276 GB, free: 476 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.6919, allocations: 97.17 kB / 0.9277 GB, free: 380 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.692, allocations: 60.09 kB / 0.9277 GB, free: 320 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009147/0.6929, allocations: 0.7214 MB / 0.9284 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.362e-06/0.6929, allocations: 4 kB / 0.9284 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001346/0.6943, allocations: 0.6117 MB / 0.929 GB, free: 14.97 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.001555/0.6958, allocations: 0.7385 MB / 0.9297 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002565/0.6984, allocations: 1.566 MB / 0.9313 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6984, allocations: 4.562 kB / 0.9313 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.6999, allocations: 1.026 MB / 0.9323 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/0.7025, allocations: 0.692 MB / 0.9329 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/0.7087, allocations: 3.397 MB / 0.9363 GB, free: 7.633 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/0.7097, allocations: 1.366 MB / 0.9376 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/0.7102, allocations: 167.4 kB / 0.9378 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of SimCode: time 4.81e-07/0.7103, allocations: 0 / 0.9378 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of Templates: time 0.04852/0.7588, allocations: 47.86 MB / 0.9845 GB, free: 6.305 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