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.001438/0.001438, allocations: 104 kB / 16.27 MB, free: 5.934 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.001415/0.001416, allocations: 188.3 kB / 17.19 MB, free: 5.574 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8029/0.8029, allocations: 135.2 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.89 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3374, allocations: 80.92 MB / 0.5851 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.5058/0.8432, allocations: 186.3 MB / 0.767 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01892/0.8622, allocations: 15.81 MB / 0.7824 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.8642, allocations: 44.03 kB / 0.7824 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.8658, allocations: 0.6769 MB / 0.7831 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.8712, allocations: 2.169 MB / 0.7852 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.8755, allocations: 1.753 MB / 0.7869 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003625/0.8791, allocations: 3.367 MB / 0.7902 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.8815, allocations: 1.937 MB / 0.7921 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003159/0.8847, allocations: 1.439 MB / 0.7935 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.886, allocations: 1.172 MB / 0.7947 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.8863, allocations: 202.4 kB / 0.7948 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.8899, allocations: 1.904 MB / 0.7967 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004637/0.8904, allocations: 0.6175 MB / 0.7973 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009413/0.8913, allocations: 1.061 MB / 0.7983 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.8954, allocations: 3.327 MB / 0.8016 GB, free: 172 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8954, allocations: 0 / 0.8016 GB, free: 172 kB / 0.5762 GB Notification: Performance of FrontEnd: time 3.286e-06/0.8954, allocations: 0 / 0.8016 GB, free: 172 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.674e-05/0.8955, allocations: 3.938 kB / 0.8016 GB, free: 172 kB / 0.5762 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.003809/0.8993, allocations: 2.409 MB / 0.8039 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8993, allocations: 12.89 kB / 0.804 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/0.9024, allocations: 0.5087 MB / 0.8045 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.9042, allocations: 1.226 MB / 0.8057 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/0.9043, allocations: 119.5 kB / 0.8058 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.9045, allocations: 161.6 kB / 0.8059 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.907, allocations: 1.797 MB / 0.8077 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.9071, allocations: 2.469 kB / 0.8077 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.9072, allocations: 68.78 kB / 0.8077 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/0.9073, allocations: 63.8 kB / 0.8078 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.91, allocations: 1.82 MB / 0.8096 GB, free: 14.21 MB / 0.5919 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.00759/0.9176, allocations: 6.151 MB / 0.8156 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.9198, allocations: 1.492 MB / 0.817 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009696/0.9208, allocations: 0.6167 MB / 0.8176 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/0.9216, allocations: 0.6301 MB / 0.8183 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.9229, allocations: 0.7992 MB / 0.819 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=133): time 3.136e-06/0.9229, allocations: 0 / 0.819 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133): time 0.005315/0.9282, allocations: 2.2 MB / 0.8212 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.9284, allocations: 199.2 kB / 0.8214 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.9297, allocations: 1.058 MB / 0.8224 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.9298, allocations: 52.73 kB / 0.8225 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/0.9304, allocations: 0.681 MB / 0.8231 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.9308, allocations: 457.9 kB / 0.8236 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.9312, allocations: 250.2 kB / 0.8238 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.9313, allocations: 353.3 kB / 0.8241 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008469/0.9322, allocations: 474.5 kB / 0.8246 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.9333, allocations: 0.6298 MB / 0.8252 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.9354, allocations: 1.123 MB / 0.8263 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.9354, allocations: 1.375 kB / 0.8263 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00322/0.9387, allocations: 1.477 MB / 0.8278 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.9387, allocations: 8.719 kB / 0.8278 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.9387, allocations: 2.938 kB / 0.8278 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007814/0.9395, allocations: 145.8 kB / 0.8279 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.9407, allocations: 288 kB / 0.8282 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004564/0.9453, allocations: 4.545 MB / 0.8326 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.9467, allocations: 134 kB / 0.8327 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.9469, allocations: 55 kB / 0.8328 GB, free: 15.6 MB / 0.6075 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.0009436/0.9478, allocations: 408.1 kB / 0.8332 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.9481, allocations: 147.6 kB / 0.8333 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/0.9519, allocations: 1.707 MB / 0.835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.9519, allocations: 16 kB / 0.835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.9519, allocations: 0 / 0.835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002792/0.9547, allocations: 1.391 MB / 0.8364 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005545/0.9603, allocations: 3.316 MB / 0.8396 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9603, allocations: 0 / 0.8396 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.9616, allocations: 295.5 kB / 0.8399 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005955/0.9622, allocations: 130.5 kB / 0.84 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-05/0.9623, allocations: 35.98 kB / 0.84 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004037/0.9663, allocations: 4.544 MB / 0.8445 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.9664, allocations: 0 / 0.8445 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004358/0.9707, allocations: 2.314 MB / 0.8467 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/0.9714, allocations: 414.8 kB / 0.8471 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/0.9716, allocations: 28 kB / 0.8472 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.9726, allocations: 80.11 kB / 0.8472 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.9728, allocations: 104.3 kB / 0.8473 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.973, allocations: 55.97 kB / 0.8474 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00105/0.974, allocations: 0.7214 MB / 0.8481 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.974, allocations: 0 / 0.8481 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001531/0.9756, allocations: 0.604 MB / 0.8487 GB, free: 15.38 MB / 0.6231 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.002191/0.9778, allocations: 0.7374 MB / 0.8494 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004525/0.9823, allocations: 2.061 MB / 0.8514 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.9823, allocations: 7.531 kB / 0.8514 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.9839, allocations: 1.032 MB / 0.8524 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/0.9867, allocations: 0.6935 MB / 0.8531 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.9933, allocations: 3.428 MB / 0.8565 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.9943, allocations: 1.362 MB / 0.8578 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/0.9949, allocations: 175.4 kB / 0.858 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.9949, allocations: 0 / 0.858 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of Templates: time 0.05504/1.05, allocations: 47.86 MB / 0.9047 GB, free: 6.383 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++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