Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 183.2 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 95.91 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 11.28 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2531, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1852/0.4383, allocations: 158.4 MB / 1.056 GB, free: 468 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.7231/1.162, allocations: 26.57 MB / 1.082 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006635/1.168, allocations: 71.47 kB / 1.082 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003963/1.172, allocations: 0.9896 MB / 1.083 GB, free: 1.363 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.008891/1.181, allocations: 1.673 MB / 1.085 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007435/1.189, allocations: 1.702 MB / 1.086 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01313/1.202, allocations: 6.112 MB / 1.092 GB, free: 1.227 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/1.212, allocations: 3.864 MB / 1.096 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006212/1.219, allocations: 1.581 MB / 1.098 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006251/1.225, allocations: 2.209 MB / 1.1 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001867/1.227, allocations: 136.3 kB / 1.1 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004704/1.232, allocations: 0.6674 MB / 1.101 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002495/1.234, allocations: 0.8766 MB / 1.101 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.006479/1.241, allocations: 1.838 MB / 1.103 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01156/1.252, allocations: 5.013 MB / 1.108 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/1.252, allocations: 0 / 1.108 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.048e-06/1.252, allocations: 0 / 1.108 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000557/1.253, allocations: 0 / 1.108 GB, free: 15.43 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01558/1.269, allocations: 4.258 MB / 1.112 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/1.269, allocations: 19.09 kB / 1.112 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01573/1.284, allocations: 2.759 MB / 1.115 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009802/1.294, allocations: 2.493 MB / 1.117 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004685/1.295, allocations: 276 kB / 1.118 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/1.297, allocations: 362 kB / 1.118 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02338/1.32, allocations: 5.603 MB / 1.124 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003776/1.321, allocations: 0 / 1.124 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002397/1.323, allocations: 149.1 kB / 1.124 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/1.323, allocations: 89.59 kB / 1.124 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02223/1.346, allocations: 6.7 MB / 1.13 GB, free: 8.582 MB / 0.7136 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.04777/1.394, allocations: 17.14 MB / 1.147 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01299/1.407, allocations: 4.501 MB / 1.151 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00752/1.414, allocations: 2.851 MB / 1.154 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/1.416, allocations: 0.6719 MB / 1.155 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008029/1.424, allocations: 2.633 MB / 1.157 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=313): time 9.067e-06/1.424, allocations: 0 / 1.157 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=313): time 0.03119/1.455, allocations: 9.504 MB / 1.167 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/1.455, allocations: 218.4 kB / 1.167 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006675/1.462, allocations: 2.633 MB / 1.17 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001173/1.463, allocations: 81.92 kB / 1.17 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002276/1.465, allocations: 1.526 MB / 1.171 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002266/1.468, allocations: 1.049 MB / 1.172 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009173/1.469, allocations: 56 kB / 1.172 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004084/1.469, allocations: 411.7 kB / 1.173 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006147/1.475, allocations: 2.101 MB / 1.175 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006315/1.482, allocations: 2.448 MB / 1.177 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/1.494, allocations: 4.538 MB / 1.181 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/1.494, allocations: 4 kB / 1.181 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01648/1.51, allocations: 5.632 MB / 1.187 GB, free: 8.676 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/1.51, allocations: 8.406 kB / 1.187 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/1.51, allocations: 8 kB / 1.187 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/1.513, allocations: 0.8161 MB / 1.188 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004522/1.517, allocations: 0.7713 MB / 1.189 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/1.53, allocations: 6.994 MB / 1.195 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005615/1.536, allocations: 0.5478 MB / 1.196 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001258/1.537, allocations: 115.9 kB / 1.196 GB, free: 15.33 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (289): * Single equations (assignments): 288 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005156/1.543, allocations: 1.034 MB / 1.197 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001911/1.544, allocations: 300.2 kB / 1.197 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/1.563, allocations: 6.193 MB / 1.203 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.782e-05/1.563, allocations: 32.09 kB / 1.203 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.855e-05/1.563, allocations: 11.94 kB / 1.203 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.643e-05/1.563, allocations: 15.94 kB / 1.203 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0273/1.591, allocations: 10.48 MB / 1.214 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/1.591, allocations: 0 / 1.214 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004069/1.595, allocations: 0.7312 MB / 1.214 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002131/1.597, allocations: 0.7302 MB / 1.215 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004647/1.598, allocations: 91.92 kB / 1.215 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/1.611, allocations: 9.794 MB / 1.225 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.611, allocations: 0 / 1.225 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02368/1.635, allocations: 8.792 MB / 1.233 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003334/1.638, allocations: 0.9296 MB / 1.234 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00158/1.64, allocations: 59.98 kB / 1.234 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004392/1.644, allocations: 403.3 kB / 1.235 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009317/1.645, allocations: 214.2 kB / 1.235 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006113/1.646, allocations: 107.9 kB / 1.235 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00447/1.65, allocations: 1.904 MB / 1.237 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.21e-07/1.65, allocations: 0 / 1.237 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005841/1.656, allocations: 1.2 MB / 1.238 GB, free: 3.844 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003316/1.66, allocations: 0.9993 MB / 1.239 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01407/1.674, allocations: 5.329 MB / 1.244 GB, free: 13.82 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.674, allocations: 4.188 kB / 1.244 GB, free: 13.82 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007802/1.681, allocations: 3.228 MB / 1.247 GB, free: 10.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005914/1.687, allocations: 0.7157 MB / 1.248 GB, free: 9.891 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/1.71, allocations: 10.6 MB / 1.258 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004217/1.715, allocations: 2.612 MB / 1.261 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003237/1.718, allocations: 323.1 kB / 1.261 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of SimCode: time 1.743e-06/1.718, allocations: 0 / 1.261 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.151/1.869, allocations: 99.45 MB / 1.358 GB, free: 8.875 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile clang++ -std=c++14 -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/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:17: ./OMCppBuildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:591:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[451] ^ ./OMCppBuildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:587:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[447] ^ ./OMCppBuildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:592:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[452] ^ ./OMCppBuildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:589:13: note: previous definition is here #define _const1_P_y_ _pointerToRealVars[449] ^ In file included from OMCppBuildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/getTimeSpan.c:23:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o] Error 1