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.001309/0.001309, allocations: 105.2 kB / 15.98 MB, free: 5.891 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.001687/0.001687, allocations: 185.7 kB / 16.91 MB, free: 5.746 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7918/0.7918, allocations: 132.2 MB / 422.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 59.91 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4783, allocations: 80.19 MB / 0.5802 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PressurizationData): time 0.5455/1.024, allocations: 183.8 MB / 0.7597 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02019/1.044, allocations: 15.64 MB / 0.775 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/1.047, allocations: 40.41 kB / 0.775 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/1.049, allocations: 0.5903 MB / 0.7756 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006467/1.055, allocations: 2.011 MB / 0.7776 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004799/1.06, allocations: 1.603 MB / 0.7791 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004722/1.065, allocations: 3.371 MB / 0.7824 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002723/1.068, allocations: 1.924 MB / 0.7843 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004717/1.072, allocations: 1.439 MB / 0.7857 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/1.075, allocations: 1.223 MB / 0.7869 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005685/1.076, allocations: 202.7 kB / 0.7871 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004382/1.08, allocations: 1.97 MB / 0.789 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006776/1.081, allocations: 0.6193 MB / 0.7896 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001323/1.082, allocations: 1.074 MB / 0.7907 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003515/1.086, allocations: 2.527 MB / 0.7931 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.086, allocations: 0.875 kB / 0.7931 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/1.086, allocations: 0 / 0.7931 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.898e-05/1.086, allocations: 4.062 kB / 0.7931 GB, free: 0.7383 MB / 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.004232/1.09, allocations: 2.421 MB / 0.7955 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.09, allocations: 11.34 kB / 0.7955 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/1.093, allocations: 0.5074 MB / 0.796 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/1.095, allocations: 1.225 MB / 0.7972 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/1.095, allocations: 120.5 kB / 0.7973 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/1.095, allocations: 160 kB / 0.7975 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/1.098, allocations: 1.792 MB / 0.7992 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/1.098, allocations: 7.156 kB / 0.7992 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/1.099, allocations: 64.81 kB / 0.7993 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/1.099, allocations: 69.39 kB / 0.7994 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/1.101, allocations: 1.812 MB / 0.8011 GB, free: 14.78 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.008627/1.11, allocations: 6.124 MB / 0.8071 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/1.112, allocations: 1.489 MB / 0.8086 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009323/1.113, allocations: 0.6271 MB / 0.8092 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007486/1.114, allocations: 0.6283 MB / 0.8098 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/1.115, allocations: 0.7884 MB / 0.8106 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=133): time 3.306e-06/1.115, allocations: 0 / 0.8106 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133): time 0.004919/1.12, allocations: 2.203 MB / 0.8127 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.12, allocations: 194.5 kB / 0.8129 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/1.122, allocations: 1.054 MB / 0.8139 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/1.122, allocations: 53.3 kB / 0.814 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/1.122, allocations: 0.6865 MB / 0.8147 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/1.123, allocations: 465.9 kB / 0.8151 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/1.123, allocations: 244.8 kB / 0.8153 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.123, allocations: 352.6 kB / 0.8157 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008217/1.124, allocations: 476 kB / 0.8161 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/1.125, allocations: 0.628 MB / 0.8167 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/1.127, allocations: 1.119 MB / 0.8178 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/1.127, allocations: 1.969 kB / 0.8178 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003106/1.13, allocations: 1.486 MB / 0.8193 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.13, allocations: 5.156 kB / 0.8193 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.13, allocations: 2.594 kB / 0.8193 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007813/1.131, allocations: 145.3 kB / 0.8194 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.132, allocations: 293.4 kB / 0.8197 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004146/1.136, allocations: 4.532 MB / 0.8241 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/1.138, allocations: 170.9 kB / 0.8243 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/1.138, allocations: 49.94 kB / 0.8243 GB, free: 2.781 MB / 0.5919 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.0008226/1.139, allocations: 403.5 kB / 0.8247 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/1.139, allocations: 149.8 kB / 0.8249 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/1.143, allocations: 1.708 MB / 0.8265 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.143, allocations: 13.31 kB / 0.8265 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.143, allocations: 2.562 kB / 0.8266 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0026/1.145, allocations: 1.394 MB / 0.8279 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005723/1.151, allocations: 3.307 MB / 0.8311 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.151, allocations: 2.906 kB / 0.8311 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/1.152, allocations: 295.5 kB / 0.8314 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006071/1.153, allocations: 126.5 kB / 0.8315 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.592e-05/1.153, allocations: 39.97 kB / 0.8316 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003885/1.157, allocations: 4.555 MB / 0.836 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.157, allocations: 2.906 kB / 0.836 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004537/1.162, allocations: 2.313 MB / 0.8383 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008571/1.162, allocations: 406.8 kB / 0.8387 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/1.163, allocations: 31.98 kB / 0.8387 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.164, allocations: 122.4 kB / 0.8388 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/1.164, allocations: 97.17 kB / 0.8389 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/1.164, allocations: 59.95 kB / 0.839 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001048/1.165, allocations: 0.7214 MB / 0.8397 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/1.165, allocations: 4 kB / 0.8397 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001763/1.167, allocations: 0.6079 MB / 0.8403 GB, free: 4.41 MB / 0.6075 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.00171/1.169, allocations: 0.7259 MB / 0.841 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004564/1.173, allocations: 2.066 MB / 0.843 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/1.173, allocations: 4.625 kB / 0.843 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/1.175, allocations: 1.035 MB / 0.844 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/1.178, allocations: 0.6927 MB / 0.8447 GB, free: 168 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006929/1.185, allocations: 4.174 MB / 0.8488 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.186, allocations: 1.362 MB / 0.8501 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006844/1.187, allocations: 171.4 kB / 0.8503 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/1.187, allocations: 0 / 0.8503 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.05589/1.243, allocations: 47.86 MB / 0.897 GB, free: 10.74 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.PressurizationData.makefile make -j1 -f IDEAS_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/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