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.001373/0.001373, allocations: 104.3 kB / 16.27 MB, free: 6.418 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.001102/0.001102, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.791/0.791, allocations: 135.1 MB / 426.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 0.506 GB, free: 8.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.304, allocations: 80.9 MB / 0.585 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.4718/0.7759, allocations: 186.3 MB / 0.7669 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.7961, allocations: 15.8 MB / 0.7823 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.7982, allocations: 41.12 kB / 0.7824 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.8002, allocations: 0.6852 MB / 0.783 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00582/0.8061, allocations: 2.155 MB / 0.7852 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004595/0.8107, allocations: 1.759 MB / 0.7869 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004065/0.8148, allocations: 3.369 MB / 0.7902 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.8174, allocations: 1.944 MB / 0.7921 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.8207, allocations: 1.43 MB / 0.7935 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.8225, allocations: 1.174 MB / 0.7946 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004842/0.823, allocations: 201 kB / 0.7948 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003775/0.8268, allocations: 1.904 MB / 0.7967 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005387/0.8273, allocations: 0.6181 MB / 0.7973 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.8284, allocations: 1.07 MB / 0.7983 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00404/0.8324, allocations: 3.315 MB / 0.8015 GB, free: 192 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8325, allocations: 2.953 kB / 0.8015 GB, free: 192 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.011e-06/0.8325, allocations: 1.062 kB / 0.8015 GB, free: 192 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.907e-05/0.8325, allocations: 0 / 0.8015 GB, free: 192 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.003985/0.8365, allocations: 2.415 MB / 0.8039 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.8365, allocations: 11.8 kB / 0.8039 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/0.8399, allocations: 0.5027 MB / 0.8044 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.8418, allocations: 1.232 MB / 0.8056 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.8419, allocations: 116.8 kB / 0.8057 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.8421, allocations: 163.8 kB / 0.8059 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.8449, allocations: 1.792 MB / 0.8076 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.8449, allocations: 3.188 kB / 0.8076 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/0.8451, allocations: 75.09 kB / 0.8077 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-05/0.8451, allocations: 64.11 kB / 0.8078 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.848, allocations: 1.818 MB / 0.8095 GB, free: 14.23 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.00749/0.8555, allocations: 6.154 MB / 0.8155 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/0.8578, allocations: 1.488 MB / 0.817 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.8588, allocations: 0.6231 MB / 0.8176 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007301/0.8596, allocations: 0.6307 MB / 0.8182 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/0.861, allocations: 0.7912 MB / 0.819 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=133): time 4.198e-06/0.861, allocations: 4.125 kB / 0.819 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133): time 0.005574/0.8666, allocations: 2.198 MB / 0.8211 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.8667, allocations: 199.5 kB / 0.8213 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.8681, allocations: 1.043 MB / 0.8224 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.8682, allocations: 54.92 kB / 0.8224 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005637/0.8688, allocations: 0.6893 MB / 0.8231 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.8692, allocations: 462 kB / 0.8235 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/0.8695, allocations: 251.3 kB / 0.8238 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8697, allocations: 355 kB / 0.8241 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009127/0.8706, allocations: 470.8 kB / 0.8245 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.8717, allocations: 0.6283 MB / 0.8252 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/0.8739, allocations: 1.118 MB / 0.8263 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8739, allocations: 3.469 kB / 0.8263 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003271/0.8772, allocations: 1.483 MB / 0.8277 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.8772, allocations: 10.34 kB / 0.8277 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.8772, allocations: 2.812 kB / 0.8277 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008365/0.8781, allocations: 142.7 kB / 0.8279 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.8794, allocations: 293.8 kB / 0.8281 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004244/0.8836, allocations: 4.534 MB / 0.8326 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.8851, allocations: 136.7 kB / 0.8327 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.8852, allocations: 59.39 kB / 0.8327 GB, free: 15.52 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.000811/0.886, allocations: 405 kB / 0.8331 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.8863, allocations: 146.5 kB / 0.8333 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/0.8902, allocations: 1.708 MB / 0.8349 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.8902, allocations: 12 kB / 0.835 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8902, allocations: 0 / 0.835 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002969/0.8932, allocations: 1.399 MB / 0.8363 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005919/0.8991, allocations: 3.315 MB / 0.8396 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.8992, allocations: 0 / 0.8396 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/0.9006, allocations: 288.4 kB / 0.8398 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006721/0.9013, allocations: 133.7 kB / 0.84 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.242e-05/0.9014, allocations: 35.97 kB / 0.84 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/0.9055, allocations: 4.546 MB / 0.8444 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.9055, allocations: 8.094 kB / 0.8444 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004714/0.9102, allocations: 2.313 MB / 0.8467 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007441/0.911, allocations: 402.8 kB / 0.8471 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.9112, allocations: 28 kB / 0.8471 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.9124, allocations: 77.8 kB / 0.8472 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/0.9127, allocations: 100.3 kB / 0.8473 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.9128, allocations: 59.97 kB / 0.8473 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001058/0.9139, allocations: 0.7253 MB / 0.848 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9139, allocations: 0 / 0.848 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00167/0.9155, allocations: 0.604 MB / 0.8486 GB, free: 15.29 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.001754/0.9173, allocations: 0.7384 MB / 0.8494 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004723/0.922, allocations: 2.057 MB / 0.8514 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.9221, allocations: 448 / 0.8514 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.9237, allocations: 1.037 MB / 0.8524 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/0.9268, allocations: 0.7 MB / 0.8531 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006673/0.9335, allocations: 3.426 MB / 0.8564 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.9345, allocations: 1.362 MB / 0.8577 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.9351, allocations: 175.4 kB / 0.8579 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of SimCode: time 7.02e-07/0.9351, allocations: 0 / 0.8579 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of Templates: time 0.05875/0.9939, allocations: 47.86 MB / 0.9046 GB, free: 6.281 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