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.00137/0.00137, allocations: 114 kB / 16.37 MB, free: 6.012 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.00148/0.00148, allocations: 192.1 kB / 17.31 MB, free: 5.609 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.705/1.705, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.832/1.832, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001471/0.001471, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2447, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5853/0.83, allocations: 163.1 MB / 0.944 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03934/0.8694, allocations: 27.03 MB / 0.9704 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004989/0.8745, allocations: 83.56 kB / 0.9705 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.8783, allocations: 1.136 MB / 0.9716 GB, free: 10.66 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.006788/0.8852, allocations: 1.829 MB / 0.9734 GB, free: 8.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005667/0.8909, allocations: 1.916 MB / 0.9753 GB, free: 6.922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009431/0.9003, allocations: 5.8 MB / 0.9809 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008383/0.9087, allocations: 4.749 MB / 0.9856 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005473/0.9142, allocations: 2.269 MB / 0.9878 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006414/0.9207, allocations: 2.791 MB / 0.9905 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002326/0.923, allocations: 0.5117 MB / 0.991 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003827/0.9269, allocations: 1.05 MB / 0.992 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.9294, allocations: 1.342 MB / 0.9934 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005584/0.935, allocations: 2.367 MB / 0.9957 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.9484, allocations: 6.609 MB / 1.002 GB, free: 11.42 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.9485, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9485, allocations: 0 / 1.002 GB, free: 11.42 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003388/0.9489, allocations: 0 / 1.002 GB, free: 11.42 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.01843/0.9673, allocations: 5.053 MB / 1.007 GB, free: 6.293 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.9674, allocations: 12.03 kB / 1.007 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/0.9815, allocations: 2.639 MB / 1.01 GB, free: 3.633 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006733/0.9883, allocations: 2.508 MB / 1.012 GB, free: 1.051 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.9886, allocations: 275.4 kB / 1.012 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/0.9901, allocations: 367.8 kB / 1.013 GB, free: 432 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/1.007, allocations: 5.55 MB / 1.018 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/1.007, allocations: 8 kB / 1.018 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/1.008, allocations: 148 kB / 1.018 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.389e-05/1.008, allocations: 88 kB / 1.018 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/1.026, allocations: 6.607 MB / 1.025 GB, free: 3.949 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.03975/1.066, allocations: 16.96 MB / 1.041 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/1.078, allocations: 4.52 MB / 1.046 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006998/1.086, allocations: 2.842 MB / 1.049 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/1.087, allocations: 0.6816 MB / 1.049 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00785/1.095, allocations: 2.62 MB / 1.052 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=313): time 7.644e-06/1.095, allocations: 4 kB / 1.052 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of matching and sorting (n=313): time 0.03092/1.126, allocations: 9.451 MB / 1.061 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001919/1.126, allocations: 214.4 kB / 1.061 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005442/1.131, allocations: 2.637 MB / 1.064 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0009987/1.132, allocations: 81.69 kB / 1.064 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.134, allocations: 1.522 MB / 1.065 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.002032/1.136, allocations: 1.04 MB / 1.066 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002742/1.139, allocations: 0.5485 MB / 1.067 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.139, allocations: 301.1 kB / 1.067 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008226/1.148, allocations: 2.09 MB / 1.069 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007045/1.155, allocations: 2.435 MB / 1.072 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/1.17, allocations: 4.532 MB / 1.076 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/1.17, allocations: 0 / 1.076 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01697/1.187, allocations: 5.62 MB / 1.082 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/1.187, allocations: 4 kB / 1.082 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/1.187, allocations: 4.406 kB / 1.082 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/1.189, allocations: 0.8278 MB / 1.082 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/1.194, allocations: 0.7605 MB / 1.083 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/1.206, allocations: 7.564 MB / 1.09 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00474/1.211, allocations: 0.5182 MB / 1.091 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/1.212, allocations: 123.9 kB / 1.091 GB, free: 14.52 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.003773/1.216, allocations: 1.009 MB / 1.092 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/1.218, allocations: 308.1 kB / 1.092 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01827/1.236, allocations: 6.107 MB / 1.098 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-05/1.236, allocations: 36 kB / 1.098 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.202e-05/1.236, allocations: 8 kB / 1.098 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-05/1.236, allocations: 19.88 kB / 1.098 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02932/1.266, allocations: 10.5 MB / 1.109 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.87e-05/1.266, allocations: 4 kB / 1.109 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004668/1.27, allocations: 0.7254 MB / 1.109 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002567/1.273, allocations: 0.7301 MB / 1.11 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/1.274, allocations: 87.92 kB / 1.11 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/1.289, allocations: 10.64 MB / 1.121 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.289, allocations: 4 kB / 1.121 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02367/1.313, allocations: 8.767 MB / 1.129 GB, free: 6.852 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/1.316, allocations: 0.883 MB / 1.13 GB, free: 5.945 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/1.317, allocations: 75.83 kB / 1.13 GB, free: 5.871 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004517/1.322, allocations: 356.9 kB / 1.13 GB, free: 5.523 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001158/1.323, allocations: 210.3 kB / 1.131 GB, free: 5.316 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008485/1.324, allocations: 107.9 kB / 1.131 GB, free: 5.211 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004318/1.328, allocations: 1.911 MB / 1.133 GB, free: 3.293 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.11e-07/1.328, allocations: 0 / 1.133 GB, free: 3.293 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.005088/1.333, allocations: 1.192 MB / 1.134 GB, free: 2.098 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.003252/1.336, allocations: 1.012 MB / 1.135 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.4546/1.791, allocations: 5.329 MB / 1.14 GB, free: 299.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.791, allocations: 0 / 1.14 GB, free: 299.7 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007317/1.798, allocations: 3.215 MB / 1.143 GB, free: 299.3 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/1.802, allocations: 0.7665 MB / 1.144 GB, free: 299.3 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.823, allocations: 8.715 MB / 1.152 GB, free: 296.6 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003736/1.827, allocations: 2.617 MB / 1.155 GB, free: 295.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002625/1.83, allocations: 311 kB / 1.155 GB, free: 295.5 MB / 0.92 GB Notification: Performance of SimCode: time 1.734e-06/1.83, allocations: 3.625 kB / 1.155 GB, free: 295.5 MB / 0.92 GB Notification: Performance of Templates: time 0.1581/1.988, allocations: 100.1 MB / 1.253 GB, free: 229.8 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