Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 115.1 kB / 16.37 MB, free: 5.996 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.001246/0.001246, allocations: 188 kB / 17.3 MB, free: 5.617 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.669/1.669, 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.57 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.001414/0.001414, allocations: 67.91 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.243, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.668/0.9111, allocations: 202.1 MB / 0.9821 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02499/0.9361, allocations: 14.7 MB / 0.9965 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004861/0.941, allocations: 91.56 kB / 0.9966 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003446/0.9445, allocations: 1.309 MB / 0.9978 GB, free: 15.73 MB / 0.795 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.01053/0.9551, allocations: 2.587 MB / 1 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006459/0.9616, allocations: 2.125 MB / 1.002 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01152/0.9731, allocations: 6.647 MB / 1.009 GB, free: 4.363 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01009/0.9832, allocations: 5.384 MB / 1.014 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007011/0.9903, allocations: 2.578 MB / 1.017 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007654/0.998, allocations: 3.078 MB / 1.02 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003102/1.001, allocations: 0.5625 MB / 1.02 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006451/1.008, allocations: 1.853 MB / 1.022 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002288/1.01, allocations: 1.593 MB / 1.024 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004514/1.015, allocations: 2.624 MB / 1.026 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01023/1.025, allocations: 7.614 MB / 1.034 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.025, allocations: 0 / 1.034 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.754e-06/1.025, allocations: 0 / 1.034 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002394/1.025, allocations: 4 kB / 1.034 GB, free: 11.05 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01447/1.04, allocations: 5.56 MB / 1.039 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.04, allocations: 12.02 kB / 1.039 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/1.054, allocations: 2.798 MB / 1.042 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006588/1.061, allocations: 2.722 MB / 1.044 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/1.061, allocations: 312 kB / 1.045 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/1.063, allocations: 400 kB / 1.045 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/1.077, allocations: 6.033 MB / 1.051 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.723e-05/1.077, allocations: 4 kB / 1.051 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004308/1.078, allocations: 164 kB / 1.051 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/1.078, allocations: 139.8 kB / 1.051 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/1.095, allocations: 7.082 MB / 1.058 GB, free: 1.566 MB / 0.8419 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.0419/1.137, allocations: 18.46 MB / 1.076 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/1.15, allocations: 4.837 MB / 1.081 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007339/1.157, allocations: 3.062 MB / 1.084 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/1.159, allocations: 0.6975 MB / 1.085 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00793/1.166, allocations: 2.835 MB / 1.087 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=343): time 7.875e-06/1.167, allocations: 0 / 1.087 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=345): time 0.04983/1.216, allocations: 15.72 MB / 1.103 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/1.217, allocations: 222.6 kB / 1.103 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005606/1.222, allocations: 2.886 MB / 1.106 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0009111/1.223, allocations: 93.62 kB / 1.106 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001909/1.225, allocations: 1.649 MB / 1.108 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001947/1.227, allocations: 1.147 MB / 1.109 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002493/1.23, allocations: 0.5806 MB / 1.109 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.23, allocations: 309.1 kB / 1.109 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006321/1.236, allocations: 2.25 MB / 1.112 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007071/1.243, allocations: 2.595 MB / 1.114 GB, free: 6.934 MB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.8637/2.107, allocations: 64.09 MB / 1.177 GB, free: 293.2 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/2.107, allocations: 1.812 kB / 1.177 GB, free: 293.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.02011/2.127, allocations: 6.025 MB / 1.183 GB, free: 291.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.921e-05/2.127, allocations: 35.11 kB / 1.183 GB, free: 291.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/2.127, allocations: 2.75 kB / 1.183 GB, free: 291.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/2.129, allocations: 0.8256 MB / 1.184 GB, free: 291 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004599/2.134, allocations: 0.8242 MB / 1.184 GB, free: 290.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009246/2.143, allocations: 7.506 MB / 1.192 GB, free: 285.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004734/2.148, allocations: 393.7 kB / 1.192 GB, free: 285.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009499/2.149, allocations: 128.9 kB / 1.192 GB, free: 285.5 MB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.intGai.nextTimeEvent,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (319): * Single equations (assignments): 317 * Array equations: 0 * Algorithm blocks: 1 * 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.003404/2.152, allocations: 1.13 MB / 1.193 GB, free: 284.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009843/2.153, allocations: 342.6 kB / 1.194 GB, free: 284.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/2.167, allocations: 6.497 MB / 1.2 GB, free: 281.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/2.167, allocations: 30.47 kB / 1.2 GB, free: 281.3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/2.167, allocations: 14.78 kB / 1.2 GB, free: 281.3 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01135/2.178, allocations: 5.719 MB / 1.206 GB, free: 277.4 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02367/2.202, allocations: 11.46 MB / 1.217 GB, free: 266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/2.202, allocations: 4 kB / 1.217 GB, free: 266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00433/2.206, allocations: 0.8048 MB / 1.218 GB, free: 265.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/2.208, allocations: 0.6963 MB / 1.218 GB, free: 264.5 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007234/2.209, allocations: 91.94 kB / 1.218 GB, free: 264.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00989/2.218, allocations: 10.05 MB / 1.228 GB, free: 254.1 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/2.218, allocations: 8.266 kB / 1.228 GB, free: 254.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.021/2.239, allocations: 9.5 MB / 1.237 GB, free: 244.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002709/2.242, allocations: 0.9009 MB / 1.238 GB, free: 243.6 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001491/2.244, allocations: 79.69 kB / 1.238 GB, free: 243.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004459/2.248, allocations: 384.2 kB / 1.239 GB, free: 243.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009093/2.249, allocations: 253.6 kB / 1.239 GB, free: 242.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006793/2.25, allocations: 119.9 kB / 1.239 GB, free: 242.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003954/2.254, allocations: 2.087 MB / 1.241 GB, free: 240.7 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/2.254, allocations: 0 / 1.241 GB, free: 240.7 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.005347/2.259, allocations: 1.073 MB / 1.242 GB, free: 239.7 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003227/2.262, allocations: 1.026 MB / 1.243 GB, free: 239.2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01294/2.275, allocations: 5.746 MB / 1.249 GB, free: 233.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/2.276, allocations: 0 / 1.249 GB, free: 233.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.007227/2.283, allocations: 3.425 MB / 1.252 GB, free: 230.1 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007266/2.29, allocations: 1.027 MB / 1.253 GB, free: 229.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/2.31, allocations: 9.708 MB / 1.263 GB, free: 219.5 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003309/2.314, allocations: 2.841 MB / 1.265 GB, free: 216.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002912/2.317, allocations: 335.2 kB / 1.266 GB, free: 216.3 MB / 0.92 GB Notification: Performance of SimCode: time 2.004e-06/2.317, allocations: 4 kB / 1.266 GB, free: 216.3 MB / 0.92 GB Notification: Performance of Templates: time 0.1193/2.436, allocations: 101.6 MB / 1.365 GB, free: 114.9 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.o OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp:17: ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:612:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[479] ^ ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:608:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[475] ^ ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:613:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[480] ^ ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:610:13: note: previous definition is here #define _const1_P_y_ _pointerToRealVars[477] ^ In file included from OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceFunctions.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.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.o] Error 1