Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.Examples.PressurizationData") translateModel(IDEAS.Airflow.Multizone.Examples.PressurizationData,tolerance=1e-08,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="IDEAS_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.001037/0.001037, allocations: 115.4 kB / 16.39 MB, free: 5.957 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.001221/0.001221, allocations: 191 kB / 17.32 MB, free: 5.578 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7518/0.7518, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 57.62 kB / 0.5819 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1409, allocations: 80.2 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.502/0.643, allocations: 186.3 MB / 0.8422 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.6624, allocations: 15.8 MB / 0.8576 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.6643, allocations: 43.41 kB / 0.8577 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.6661, allocations: 0.6781 MB / 0.8583 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005642/0.6717, allocations: 2.16 MB / 0.8604 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004204/0.676, allocations: 1.767 MB / 0.8622 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003962/0.68, allocations: 3.375 MB / 0.8655 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.6824, allocations: 1.943 MB / 0.8674 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.6855, allocations: 1.424 MB / 0.8687 GB, free: 452 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.6873, allocations: 1.183 MB / 0.8699 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002673/0.6876, allocations: 200 kB / 0.8701 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003722/0.6913, allocations: 1.926 MB / 0.872 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006352/0.692, allocations: 0.6231 MB / 0.8726 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.6931, allocations: 1.069 MB / 0.8736 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004431/0.6975, allocations: 3.377 MB / 0.8769 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6975, allocations: 0 / 0.8769 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6975, allocations: 0 / 0.8769 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.531e-05/0.6976, allocations: 0 / 0.8769 GB, free: 8.043 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.003883/0.7014, allocations: 2.419 MB / 0.8793 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.7015, allocations: 8.031 kB / 0.8793 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/0.7051, allocations: 0.5164 MB / 0.8798 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.707, allocations: 1.27 MB / 0.881 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.472e-05/0.7071, allocations: 119.2 kB / 0.8811 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.7074, allocations: 164 kB / 0.8813 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.7103, allocations: 1.788 MB / 0.8831 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.7103, allocations: 7.938 kB / 0.8831 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.7105, allocations: 71.98 kB / 0.8831 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.063e-05/0.7105, allocations: 63.03 kB / 0.8832 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.7135, allocations: 1.815 MB / 0.885 GB, free: 15.61 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.007674/0.7212, allocations: 6.102 MB / 0.8909 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.7236, allocations: 1.48 MB / 0.8924 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.7246, allocations: 0.6202 MB / 0.893 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006602/0.7253, allocations: 0.622 MB / 0.8936 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/0.7266, allocations: 0.7982 MB / 0.8944 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=133): time 2.525e-06/0.7266, allocations: 0 / 0.8944 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of matching and sorting (n=133): time 0.005207/0.7318, allocations: 2.204 MB / 0.8965 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.732, allocations: 197.2 kB / 0.8967 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.7335, allocations: 1.051 MB / 0.8977 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.7336, allocations: 53.7 kB / 0.8978 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005676/0.7342, allocations: 0.6844 MB / 0.8984 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003789/0.7346, allocations: 457.3 kB / 0.8989 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.735, allocations: 246.8 kB / 0.8991 GB, free: 424 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7351, allocations: 357.9 kB / 0.8995 GB, free: 60 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/0.736, allocations: 470.4 kB / 0.8999 GB, free: 15.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.7371, allocations: 0.634 MB / 0.9005 GB, free: 14.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.7391, allocations: 1.119 MB / 0.9016 GB, free: 13.78 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.7391, allocations: 0 / 0.9016 GB, free: 13.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003204/0.7423, allocations: 1.478 MB / 0.9031 GB, free: 12.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.7423, allocations: 8 kB / 0.9031 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7423, allocations: 0 / 0.9031 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007761/0.7431, allocations: 150.6 kB / 0.9032 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.7444, allocations: 291.5 kB / 0.9035 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.7485, allocations: 4.55 MB / 0.9079 GB, free: 6.863 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.7498, allocations: 129.2 kB / 0.9081 GB, free: 6.738 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.7499, allocations: 51.97 kB / 0.9081 GB, free: 6.688 MB / 0.67 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.0007583/0.7507, allocations: 409.3 kB / 0.9085 GB, free: 6.277 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.751, allocations: 150.2 kB / 0.9086 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/0.7546, allocations: 1.707 MB / 0.9103 GB, free: 4.402 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.7546, allocations: 16 kB / 0.9103 GB, free: 4.387 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.7546, allocations: 0 / 0.9103 GB, free: 4.387 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002746/0.7574, allocations: 1.392 MB / 0.9117 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/0.7628, allocations: 3.296 MB / 0.9149 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.7628, allocations: 0 / 0.9149 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.7642, allocations: 291.7 kB / 0.9152 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006116/0.7648, allocations: 134.5 kB / 0.9153 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.642e-05/0.7649, allocations: 35.98 kB / 0.9153 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003856/0.7688, allocations: 4.541 MB / 0.9198 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7688, allocations: 4.125 kB / 0.9198 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/0.7732, allocations: 2.313 MB / 0.922 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006973/0.7739, allocations: 411 kB / 0.9224 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.7741, allocations: 35.94 kB / 0.9225 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.7752, allocations: 75.92 kB / 0.9225 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.7754, allocations: 101.2 kB / 0.9226 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.7755, allocations: 55.97 kB / 0.9227 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009657/0.7765, allocations: 0.7213 MB / 0.9234 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7765, allocations: 0 / 0.9234 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001468/0.778, allocations: 0.6118 MB / 0.924 GB, free: 5.797 MB / 0.6856 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.001637/0.7796, allocations: 0.743 MB / 0.9247 GB, free: 5.273 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002748/0.7824, allocations: 1.569 MB / 0.9262 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7824, allocations: 448 / 0.9262 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.7839, allocations: 1.031 MB / 0.9273 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.7867, allocations: 0.6909 MB / 0.9279 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006298/0.793, allocations: 3.402 MB / 0.9312 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009277/0.7939, allocations: 1.358 MB / 0.9326 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.7945, allocations: 179.4 kB / 0.9327 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of SimCode: time 6.82e-07/0.7945, allocations: 0 / 0.9327 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of Templates: time 0.05069/0.8452, allocations: 47.86 MB / 0.9795 GB, free: 13.16 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationData.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.o OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationDataFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.Examples.PressurizationDataCalcHelperMain.o] Error 1