Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 108.1 kB / 15.99 MB, free: 5.906 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.00125/0.00125, allocations: 191.4 kB / 16.91 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 222.8 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 292.3 MB / 0.5492 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 70.05 kB / 0.6716 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.242, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.7213/0.9633, allocations: 160.8 MB / 0.9405 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04108/1.004, allocations: 26.68 MB / 0.9666 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005922/1.01, allocations: 75.12 kB / 0.9667 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003834/1.014, allocations: 0.9996 MB / 0.9676 GB, free: 6.031 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.007983/1.022, allocations: 1.682 MB / 0.9693 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006392/1.029, allocations: 1.728 MB / 0.971 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01042/1.039, allocations: 5.805 MB / 0.9766 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008849/1.048, allocations: 4.764 MB / 0.9813 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007024/1.055, allocations: 2.274 MB / 0.9835 GB, free: 20.16 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005609/1.061, allocations: 2.849 MB / 0.9863 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001966/1.063, allocations: 0.5089 MB / 0.9868 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/1.067, allocations: 1.038 MB / 0.9878 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001631/1.069, allocations: 1.343 MB / 0.9891 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004873/1.074, allocations: 2.367 MB / 0.9914 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007691/1.081, allocations: 5.195 MB / 0.9965 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/1.081, allocations: 3.406 kB / 0.9965 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.485e-06/1.081, allocations: 0 / 0.9965 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002714/1.082, allocations: 0 / 0.9965 GB, free: 15.16 MB / 0.7481 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.01446/1.096, allocations: 5.038 MB / 1.001 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.096, allocations: 8.125 kB / 1.001 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/1.11, allocations: 2.639 MB / 1.004 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007067/1.117, allocations: 2.491 MB / 1.006 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/1.117, allocations: 273 kB / 1.007 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001853/1.119, allocations: 375.3 kB / 1.007 GB, free: 9.848 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/1.138, allocations: 5.547 MB / 1.012 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002291/1.138, allocations: 4.844 kB / 1.012 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001493/1.14, allocations: 152.3 kB / 1.013 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-05/1.14, allocations: 88.22 kB / 1.013 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/1.159, allocations: 6.609 MB / 1.019 GB, free: 3.328 MB / 0.7481 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.04069/1.2, allocations: 17.08 MB / 1.036 GB, free: 4.773 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/1.213, allocations: 4.503 MB / 1.04 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006607/1.219, allocations: 2.846 MB / 1.043 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.221, allocations: 0.668 MB / 1.044 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006984/1.228, allocations: 2.626 MB / 1.046 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=313): time 7.303e-06/1.228, allocations: 4 kB / 1.046 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of matching and sorting (n=313): time 0.02933/1.257, allocations: 9.449 MB / 1.055 GB, free: 436 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/1.257, allocations: 218.4 kB / 1.056 GB, free: 172 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005154/1.262, allocations: 2.633 MB / 1.058 GB, free: 13.52 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001001/1.263, allocations: 77.7 kB / 1.058 GB, free: 13.44 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/1.265, allocations: 1.531 MB / 1.06 GB, free: 11.89 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001984/1.267, allocations: 1.039 MB / 1.061 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003364/1.271, allocations: 0.5329 MB / 1.061 GB, free: 10.32 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.271, allocations: 313 kB / 1.062 GB, free: 10.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006206/1.277, allocations: 2.09 MB / 1.064 GB, free: 7.922 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006219/1.283, allocations: 2.437 MB / 1.066 GB, free: 5.414 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.295, allocations: 4.533 MB / 1.071 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/1.295, allocations: 3.938 kB / 1.071 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01606/1.311, allocations: 5.614 MB / 1.076 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/1.311, allocations: 10.72 kB / 1.076 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.311, allocations: 4 kB / 1.076 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/1.313, allocations: 0.8282 MB / 1.077 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004421/1.317, allocations: 0.764 MB / 1.078 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/1.329, allocations: 7.568 MB / 1.085 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005037/1.334, allocations: 0.5517 MB / 1.085 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/1.335, allocations: 119.9 kB / 1.086 GB, free: 1.27 MB / 0.8106 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 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * 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.00389/1.339, allocations: 1.021 MB / 1.087 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00167/1.341, allocations: 308.3 kB / 1.087 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/1.358, allocations: 6.167 MB / 1.093 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/1.358, allocations: 28 kB / 1.093 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.989e-05/1.358, allocations: 12 kB / 1.093 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.935e-05/1.358, allocations: 15.94 kB / 1.093 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02573/1.384, allocations: 10.47 MB / 1.103 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.384, allocations: 0 / 1.103 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004194/1.388, allocations: 0.7273 MB / 1.104 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002087/1.39, allocations: 0.7418 MB / 1.105 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008236/1.391, allocations: 90.45 kB / 1.105 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/1.404, allocations: 10.64 MB / 1.115 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.404, allocations: 0 / 1.115 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.022/1.426, allocations: 8.773 MB / 1.124 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00306/1.429, allocations: 0.8791 MB / 1.125 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001554/1.431, allocations: 71.83 kB / 1.125 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004297/1.435, allocations: 391.4 kB / 1.125 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.436, allocations: 208.9 kB / 1.125 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007172/1.437, allocations: 104.2 kB / 1.125 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003992/1.441, allocations: 1.904 MB / 1.127 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.71e-07/1.441, allocations: 4 kB / 1.127 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005744/1.446, allocations: 1.2 MB / 1.128 GB, free: 5.035 MB / 0.8575 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.003215/1.45, allocations: 1.014 MB / 1.129 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02348/1.473, allocations: 9.061 MB / 1.138 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.473, allocations: 0 / 1.138 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007841/1.481, allocations: 3.222 MB / 1.141 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006059/1.487, allocations: 0.7628 MB / 1.142 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/1.509, allocations: 10.45 MB / 1.152 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003613/1.512, allocations: 2.608 MB / 1.155 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002756/1.515, allocations: 319.2 kB / 1.155 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of SimCode: time 1.493e-06/1.515, allocations: 3.938 kB / 1.155 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of Templates: time 0.1375/1.653, allocations: 100 MB / 1.253 GB, free: 6.051 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:17: ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:591:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[451] ^ ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:587:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[447] ^ ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:592:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[452] ^ ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:589:13: note: previous definition is here #define _const1_P_y_ _pointerToRealVars[449] ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o] Error 1