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.001417/0.001417, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.431/1.431, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9572/0.9572, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.75 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1625, allocations: 80.94 MB / 0.5843 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.5254/0.6879, allocations: 184 MB / 0.764 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.7082, allocations: 15.87 MB / 0.7795 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.7102, allocations: 39.75 kB / 0.7795 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002065/0.7123, allocations: 0.5866 MB / 0.7801 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005824/0.7181, allocations: 1.957 MB / 0.782 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.7225, allocations: 1.582 MB / 0.7836 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004924/0.7274, allocations: 4.099 MB / 0.7876 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.73, allocations: 1.758 MB / 0.7893 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.7341, allocations: 1.249 MB / 0.7905 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002063/0.7361, allocations: 1.176 MB / 0.7917 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003217/0.7365, allocations: 104 kB / 0.7918 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004435/0.7409, allocations: 2.074 MB / 0.7938 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00062/0.7416, allocations: 0.5255 MB / 0.7943 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.7428, allocations: 0.9713 MB / 0.7952 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.7463, allocations: 2.506 MB / 0.7977 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7463, allocations: 0 / 0.7977 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.025e-06/0.7463, allocations: 0 / 0.7977 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.362e-05/0.7463, allocations: 3.938 kB / 0.7977 GB, free: 2.848 MB / 0.6075 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.004423/0.7508, allocations: 2.415 MB / 0.8001 GB, free: 384 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.7508, allocations: 12.03 kB / 0.8001 GB, free: 372 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00347/0.7543, allocations: 0.5009 MB / 0.8006 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.7564, allocations: 1.231 MB / 0.8018 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.072e-05/0.7565, allocations: 123.2 kB / 0.8019 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.7567, allocations: 159.9 kB / 0.802 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/0.7598, allocations: 1.788 MB / 0.8038 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.7598, allocations: 0 / 0.8038 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001577/0.76, allocations: 83.91 kB / 0.8039 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.621e-05/0.7601, allocations: 59.05 kB / 0.8039 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/0.7631, allocations: 1.811 MB / 0.8057 GB, free: 10.47 MB / 0.6231 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.008795/0.7719, allocations: 6.129 MB / 0.8117 GB, free: 4 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.7744, allocations: 1.491 MB / 0.8131 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.7755, allocations: 0.6163 MB / 0.8137 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/0.7762, allocations: 0.6298 MB / 0.8143 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/0.7777, allocations: 0.7944 MB / 0.8151 GB, free: 292 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=133): time 3.297e-06/0.7777, allocations: 3.938 kB / 0.8151 GB, free: 288 kB / 0.6231 GB Notification: Performance of matching and sorting (n=133): time 0.005444/0.7831, allocations: 2.201 MB / 0.8173 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.7833, allocations: 201.2 kB / 0.8175 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.7848, allocations: 1.047 MB / 0.8185 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.7849, allocations: 53.7 kB / 0.8185 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.7856, allocations: 0.6844 MB / 0.8192 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004206/0.786, allocations: 457.2 kB / 0.8196 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/0.7864, allocations: 250.7 kB / 0.8199 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7865, allocations: 353.9 kB / 0.8202 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008984/0.7874, allocations: 474.3 kB / 0.8207 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.7885, allocations: 0.634 MB / 0.8213 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.7905, allocations: 1.115 MB / 0.8224 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7905, allocations: 0 / 0.8224 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00326/0.7938, allocations: 1.486 MB / 0.8238 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.7938, allocations: 4 kB / 0.8238 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7938, allocations: 4 kB / 0.8238 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008011/0.7946, allocations: 146.6 kB / 0.824 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.796, allocations: 287.6 kB / 0.8242 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/0.8001, allocations: 4.214 MB / 0.8284 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.8017, allocations: 170.8 kB / 0.8285 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.8019, allocations: 51.97 kB / 0.8286 GB, free: 1.848 MB / 0.6387 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.0008789/0.8027, allocations: 409.4 kB / 0.829 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/0.8032, allocations: 142.3 kB / 0.8291 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/0.8072, allocations: 1.702 MB / 0.8308 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.8072, allocations: 16 kB / 0.8308 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.8072, allocations: 0 / 0.8308 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002876/0.8101, allocations: 1.392 MB / 0.8321 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006415/0.8165, allocations: 3.301 MB / 0.8354 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.8165, allocations: 0 / 0.8354 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.8179, allocations: 303.6 kB / 0.8357 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007188/0.8187, allocations: 146.4 kB / 0.8358 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.8188, allocations: 39.97 kB / 0.8358 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004263/0.8231, allocations: 4.218 MB / 0.8399 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8231, allocations: 0 / 0.8399 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004799/0.8279, allocations: 2.315 MB / 0.8422 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009697/0.8289, allocations: 402.8 kB / 0.8426 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/0.8292, allocations: 28 kB / 0.8426 GB, free: 2.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.8307, allocations: 121.6 kB / 0.8427 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.8309, allocations: 101.1 kB / 0.8428 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.8311, allocations: 63.95 kB / 0.8429 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001261/0.8323, allocations: 0.7214 MB / 0.8436 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8323, allocations: 0 / 0.8436 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001911/0.8343, allocations: 0.6078 MB / 0.8442 GB, free: 1.258 MB / 0.6544 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.002073/0.8363, allocations: 0.7438 MB / 0.8449 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00309/0.8394, allocations: 1.564 MB / 0.8464 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.8395, allocations: 448 / 0.8464 GB, free: 15.12 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.8412, allocations: 1.031 MB / 0.8475 GB, free: 14.06 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/0.8447, allocations: 0.6515 MB / 0.8481 GB, free: 13.41 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007899/0.8526, allocations: 4.165 MB / 0.8522 GB, free: 9.211 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.8539, allocations: 1.369 MB / 0.8535 GB, free: 7.812 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007264/0.8547, allocations: 175.3 kB / 0.8537 GB, free: 7.641 MB / 0.67 GB Notification: Performance of SimCode: time 7.82e-07/0.8547, allocations: 0 / 0.8537 GB, free: 7.641 MB / 0.67 GB Notification: Performance of Templates: time 0.3637/1.218, allocations: 47.85 MB / 0.9004 GB, free: 207.6 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++14 -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