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.00184/0.001849, allocations: 103.9 kB / 16.27 MB, free: 6.418 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.001928/0.001928, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.79/1.79, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.938/1.938, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001435/0.001435, allocations: 68.47 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2464, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6283/0.8747, allocations: 163.1 MB / 0.9433 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03678/0.9116, allocations: 27.03 MB / 0.9697 GB, free: 12.33 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004197/0.9158, allocations: 83.62 kB / 0.9697 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003368/0.9193, allocations: 1.14 MB / 0.9709 GB, free: 11.1 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.006995/0.9263, allocations: 1.836 MB / 0.9726 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005581/0.9319, allocations: 1.903 MB / 0.9745 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008007/0.9399, allocations: 5.78 MB / 0.9802 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008013/0.9479, allocations: 4.74 MB / 0.9848 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/0.9535, allocations: 2.264 MB / 0.987 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005182/0.9587, allocations: 2.783 MB / 0.9897 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00202/0.9607, allocations: 0.5117 MB / 0.9902 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.9646, allocations: 1.034 MB / 0.9912 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001722/0.9663, allocations: 1.348 MB / 0.9925 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003841/0.9702, allocations: 2.363 MB / 0.9948 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.007827/0.978, allocations: 6.5 MB / 1.001 GB, free: 12.04 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9781, allocations: 0 / 1.001 GB, free: 12.04 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9781, allocations: 0 / 1.001 GB, free: 12.04 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001382/0.9782, allocations: 0 / 1.001 GB, free: 12.04 MB / 0.795 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.01066/0.9889, allocations: 5.041 MB / 1.006 GB, free: 6.918 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.989, allocations: 12.03 kB / 1.006 GB, free: 6.906 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/1.002, allocations: 2.639 MB / 1.009 GB, free: 4.258 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005249/1.007, allocations: 2.469 MB / 1.011 GB, free: 1.715 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/1.007, allocations: 271.4 kB / 1.011 GB, free: 1.449 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007094/1.008, allocations: 371.8 kB / 1.012 GB, free: 1.086 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/1.02, allocations: 5.542 MB / 1.017 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-05/1.02, allocations: 8 kB / 1.017 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003939/1.02, allocations: 148 kB / 1.017 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/1.021, allocations: 99.91 kB / 1.017 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/1.036, allocations: 6.599 MB / 1.024 GB, free: 4.613 MB / 0.8106 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.03646/1.073, allocations: 17.12 MB / 1.041 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01099/1.084, allocations: 4.515 MB / 1.045 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006447/1.09, allocations: 2.842 MB / 1.048 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/1.092, allocations: 0.6738 MB / 1.048 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006913/1.099, allocations: 2.62 MB / 1.051 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=313): time 7.284e-06/1.099, allocations: 0 / 1.051 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of matching and sorting (n=313): time 0.02749/1.126, allocations: 9.448 MB / 1.06 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/1.126, allocations: 218.4 kB / 1.06 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004846/1.131, allocations: 2.637 MB / 1.063 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0008031/1.132, allocations: 81.7 kB / 1.063 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001787/1.134, allocations: 1.522 MB / 1.065 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.00174/1.136, allocations: 1.048 MB / 1.066 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002125/1.138, allocations: 0.5368 MB / 1.066 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.138, allocations: 305.1 kB / 1.066 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005385/1.143, allocations: 2.097 MB / 1.068 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005719/1.149, allocations: 2.435 MB / 1.071 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/1.16, allocations: 4.524 MB / 1.075 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-05/1.16, allocations: 4.562 kB / 1.075 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01471/1.175, allocations: 5.624 MB / 1.081 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/1.175, allocations: 11.98 kB / 1.081 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.175, allocations: 4 kB / 1.081 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/1.177, allocations: 0.8278 MB / 1.082 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/1.181, allocations: 0.7566 MB / 1.082 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/1.193, allocations: 7.575 MB / 1.09 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/1.197, allocations: 0.5204 MB / 1.09 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009086/1.198, allocations: 119.9 kB / 1.09 GB, free: 15.02 MB / 0.8887 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.003312/1.202, allocations: 1.013 MB / 1.091 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.203, allocations: 308.1 kB / 1.092 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/1.217, allocations: 6.116 MB / 1.098 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/1.217, allocations: 35.94 kB / 1.098 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/1.217, allocations: 8 kB / 1.098 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.613e-05/1.217, allocations: 19.88 kB / 1.098 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02083/1.238, allocations: 10.5 MB / 1.108 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/1.238, allocations: 0 / 1.108 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00388/1.242, allocations: 0.7254 MB / 1.109 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/1.244, allocations: 0.738 MB / 1.109 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004863/1.245, allocations: 87.92 kB / 1.109 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/1.257, allocations: 10.64 MB / 1.12 GB, free: 188 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.257, allocations: 0 / 1.12 GB, free: 188 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02049/1.278, allocations: 8.77 MB / 1.128 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/1.28, allocations: 0.8791 MB / 1.129 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009308/1.281, allocations: 71.83 kB / 1.129 GB, free: 6.359 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.285, allocations: 364.3 kB / 1.13 GB, free: 6.004 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005658/1.285, allocations: 207 kB / 1.13 GB, free: 5.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002791/1.285, allocations: 111.9 kB / 1.13 GB, free: 5.691 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002867/1.288, allocations: 1.915 MB / 1.132 GB, free: 3.77 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.663e-06/1.288, allocations: 0 / 1.132 GB, free: 3.77 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003613/1.292, allocations: 1.192 MB / 1.133 GB, free: 2.574 MB / 0.92 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.002508/1.294, allocations: 1.007 MB / 1.134 GB, free: 1.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.4069/1.701, allocations: 9.054 MB / 1.143 GB, free: 300.2 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.701, allocations: 2.938 kB / 1.143 GB, free: 300.2 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008078/1.709, allocations: 3.218 MB / 1.146 GB, free: 299.8 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/1.714, allocations: 0.7633 MB / 1.147 GB, free: 299.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/1.732, allocations: 8.811 MB / 1.155 GB, free: 296.7 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/1.735, allocations: 2.617 MB / 1.158 GB, free: 295.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002199/1.737, allocations: 312.6 kB / 1.158 GB, free: 295.7 MB / 0.92 GB Notification: Performance of SimCode: time 1.563e-06/1.738, allocations: 0 / 1.158 GB, free: 295.7 MB / 0.92 GB Notification: Performance of Templates: time 0.1267/1.864, allocations: 100.2 MB / 1.256 GB, free: 226.6 MB / 0.92 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++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/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:590:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[451] ^ ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:586:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[447] ^ ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:591:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[452] ^ ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:588: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