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.001233/0.001233, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.0015/0.0015, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7958/0.7958, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 62.25 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1868, allocations: 80.93 MB / 0.6653 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.6916/0.8784, allocations: 186.3 MB / 0.8472 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02149/0.9, allocations: 15.81 MB / 0.8626 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.9023, allocations: 39.19 kB / 0.8627 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.9043, allocations: 0.7084 MB / 0.8634 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006855/0.9112, allocations: 2.225 MB / 0.8655 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005143/0.9163, allocations: 1.777 MB / 0.8673 GB, free: 216 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005074/0.9214, allocations: 3.378 MB / 0.8706 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/0.9243, allocations: 1.939 MB / 0.8725 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/0.9281, allocations: 1.473 MB / 0.8739 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.93, allocations: 1.179 MB / 0.8751 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002973/0.9303, allocations: 200 kB / 0.8753 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004238/0.9345, allocations: 1.934 MB / 0.8771 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006377/0.9352, allocations: 0.623 MB / 0.8778 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.9364, allocations: 1.061 MB / 0.8788 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005613/0.942, allocations: 3.381 MB / 0.8821 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.942, allocations: 4 kB / 0.8821 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9421, allocations: 0 / 0.8821 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.452e-05/0.9421, allocations: 0 / 0.8821 GB, free: 1.191 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.004319/0.9464, allocations: 2.425 MB / 0.8845 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.9465, allocations: 9.109 kB / 0.8845 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.9498, allocations: 0.5049 MB / 0.885 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.9519, allocations: 1.278 MB / 0.8862 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.741e-05/0.952, allocations: 115.2 kB / 0.8863 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.9522, allocations: 163.9 kB / 0.8865 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.9552, allocations: 1.788 MB / 0.8882 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/0.9553, allocations: 4 kB / 0.8882 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.9554, allocations: 72 kB / 0.8883 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.162e-05/0.9555, allocations: 63.03 kB / 0.8884 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.9585, allocations: 1.819 MB / 0.8901 GB, free: 8.754 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.00824/0.9667, allocations: 6.098 MB / 0.8961 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.9692, allocations: 1.491 MB / 0.8975 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.9702, allocations: 0.6124 MB / 0.8981 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007505/0.971, allocations: 0.6298 MB / 0.8988 GB, free: 15.41 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/0.9724, allocations: 0.7905 MB / 0.8995 GB, free: 14.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=133): time 2.726e-06/0.9724, allocations: 0 / 0.8995 GB, free: 14.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=133): time 0.005396/0.9778, allocations: 2.208 MB / 0.9017 GB, free: 12.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.978, allocations: 197.2 kB / 0.9019 GB, free: 12.08 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.9799, allocations: 1.055 MB / 0.9029 GB, free: 11.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.98, allocations: 53.69 kB / 0.903 GB, free: 10.96 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000717/0.9808, allocations: 0.6805 MB / 0.9036 GB, free: 10.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/0.9812, allocations: 457.4 kB / 0.9041 GB, free: 9.812 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/0.9817, allocations: 250.7 kB / 0.9043 GB, free: 9.562 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.9819, allocations: 353.9 kB / 0.9046 GB, free: 9.211 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009638/0.9828, allocations: 474.3 kB / 0.9051 GB, free: 8.746 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.984, allocations: 0.6301 MB / 0.9057 GB, free: 8.074 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.9862, allocations: 1.126 MB / 0.9068 GB, free: 6.922 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.9862, allocations: 0 / 0.9068 GB, free: 6.922 MB / 0.67 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003468/0.9897, allocations: 1.478 MB / 0.9082 GB, free: 5.426 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.9897, allocations: 5.719 kB / 0.9082 GB, free: 5.422 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.9897, allocations: 8 kB / 0.9083 GB, free: 5.414 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008207/0.9905, allocations: 146.5 kB / 0.9084 GB, free: 5.262 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.9918, allocations: 283.6 kB / 0.9087 GB, free: 4.984 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/0.9965, allocations: 4.549 MB / 0.9131 GB, free: 8 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.9981, allocations: 128.5 kB / 0.9132 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/0.9984, allocations: 61.14 kB / 0.9133 GB, free: 15.82 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.001153/0.9995, allocations: 401.6 kB / 0.9137 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005703/1, allocations: 150.2 kB / 0.9138 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/1.004, allocations: 1.698 MB / 0.9155 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.004, allocations: 16 kB / 0.9155 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/1.004, allocations: 3.938 kB / 0.9155 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002851/1.007, allocations: 1.385 MB / 0.9168 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006703/1.014, allocations: 3.3 MB / 0.9201 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.014, allocations: 0 / 0.9201 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.015, allocations: 291.6 kB / 0.9203 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006547/1.016, allocations: 138.4 kB / 0.9205 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.016, allocations: 47.91 kB / 0.9205 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/1.02, allocations: 4.537 MB / 0.925 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.02, allocations: 0 / 0.925 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00484/1.025, allocations: 2.309 MB / 0.9272 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009457/1.026, allocations: 414.8 kB / 0.9276 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/1.027, allocations: 31.94 kB / 0.9276 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.028, allocations: 75.92 kB / 0.9277 GB, free: 452 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/1.028, allocations: 101.1 kB / 0.9278 GB, free: 352 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.028, allocations: 55.97 kB / 0.9279 GB, free: 296 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001387/1.03, allocations: 0.7214 MB / 0.9286 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3e-07/1.03, allocations: 4 kB / 0.9286 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001973/1.032, allocations: 0.604 MB / 0.9292 GB, free: 14.95 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.002014/1.034, allocations: 0.7422 MB / 0.9299 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003296/1.037, allocations: 1.573 MB / 0.9314 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.037, allocations: 448 / 0.9314 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/1.039, allocations: 1.034 MB / 0.9324 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/1.042, allocations: 0.6892 MB / 0.9331 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/1.05, allocations: 3.394 MB / 0.9364 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.051, allocations: 1.366 MB / 0.9377 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/1.052, allocations: 171.3 kB / 0.9379 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of SimCode: time 7.61e-07/1.052, allocations: 0 / 0.9379 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of Templates: time 0.06434/1.116, allocations: 48.04 MB / 0.9848 GB, free: 6.098 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