Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 104.3 kB / 19.76 MB, free: 2.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 215.7 kB / 23.06 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.401/1.401, allocations: 230.6 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.996/2.996, allocations: 0.5108 GB / 0.8167 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|safCtr.minFlowErr|safCtr.opeEnvErr|safCtr.antFreErr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|safCtr.minFlowErr|safCtr.opeEnvErr|safCtr.antFreErr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.483e-05, allocations: 4.531 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety): time 0.00555/0.005565, allocations: 4.737 MB / 1.192 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.009076, allocations: 2.508 MB / 1.194 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003915/0.009468, allocations: 23.69 kB / 1.194 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006693/0.01014, allocations: 279.8 kB / 1.195 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007728/0.01091, allocations: 434.3 kB / 1.195 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008538/0.01176, allocations: 0.5704 MB / 1.196 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.01315, allocations: 1.803 MB / 1.197 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006514/0.0138, allocations: 444.2 kB / 1.198 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005919/0.01439, allocations: 0.6584 MB / 1.198 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.01497, allocations: 0.59 MB / 1.199 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.01517, allocations: 178 kB / 1.199 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.01566, allocations: 319.7 kB / 1.199 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.00147/0.01713, allocations: 2.564 MB / 1.202 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0006668/0.0178, allocations: 1.541 MB / 1.203 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.01796, allocations: 75.12 kB / 1.203 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of FrontEnd: time 0.0001632/0.01812, allocations: 61.44 kB / 1.204 GB, free: 2.934 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 (207) * Number of variables: 207 (201) Notification: Performance of [SIM] Bindings: time 0.004702/0.02283, allocations: 5.969 MB / 1.209 GB, free: 14.88 MB / 0.92 GB Notification: Performance of [SIM] FunctionAlias: time 0.0007129/0.02354, allocations: 0.6282 MB / 1.21 GB, free: 14.47 MB / 0.92 GB Notification: Performance of [SIM] Early Inline: time 0.003197/0.02674, allocations: 3.05 MB / 1.213 GB, free: 12.57 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 0.0009226/0.02766, allocations: 0.5465 MB / 1.213 GB, free: 12.3 MB / 0.92 GB Notification: Performance of [SIM] Alias: time 0.006656/0.03431, allocations: 4.997 MB / 1.218 GB, free: 9.598 MB / 0.92 GB Notification: Performance of [SIM] Simplify 2: time 0.000592/0.03491, allocations: 425.1 kB / 1.219 GB, free: 9.324 MB / 0.92 GB Notification: Performance of [SIM] Remove Stream: time 0.0003538/0.03526, allocations: 336.2 kB / 1.219 GB, free: 9.055 MB / 0.92 GB Notification: Performance of [SIM] Detect States: time 0.0009144/0.03618, allocations: 0.8432 MB / 1.22 GB, free: 8.312 MB / 0.92 GB Notification: Performance of [SIM] Events: time 0.0007974/0.03697, allocations: 0.6161 MB / 1.221 GB, free: 7.898 MB / 0.92 GB Notification: Performance of [SIM] Partitioning: time 0.001113/0.03809, allocations: 1.027 MB / 1.222 GB, free: 7.125 MB / 0.92 GB Notification: Performance of [SIM] Causalize: time 0.00229/0.04038, allocations: 1.811 MB / 1.223 GB, free: 6.352 MB / 0.92 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002198/0.04257, allocations: 2.414 MB / 1.226 GB, free: 4.473 MB / 0.92 GB Notification: Performance of [INI] Simplify: time 0.005242/0.04782, allocations: 2.032 MB / 1.228 GB, free: 3.051 MB / 0.92 GB Notification: Performance of [INI] Inline: time 0.003115/0.05093, allocations: 3.305 MB / 1.231 GB, free: 480 kB / 0.92 GB Notification: Performance of [INI] Partitioning: time 0.0001613/0.05109, allocations: 71.42 kB / 1.231 GB, free: 436 kB / 0.92 GB Notification: Performance of [INI] Cleanup: time 0.0005118/0.0516, allocations: 0.569 MB / 1.231 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of [INI] Causalize: time 0.005959/0.05756, allocations: 4.129 MB / 1.236 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of [INI] Tearing: time 7.707e-05/0.05764, allocations: 112.4 kB / 1.236 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of [SIM] Initialization: time 1.142e-06/0.05764, allocations: 2.344 kB / 1.236 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of [SIM] DAE-Mode: time 0.0004555/0.0581, allocations: 321.1 kB / 1.236 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of [SIM] Remove Dummies: time 8.606e-06/0.05811, allocations: 2.312 kB / 1.236 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of [SIM] Tearing: time 5.482e-05/0.05816, allocations: 91.94 kB / 1.236 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of [SIM] Categorize: time 3.133e-05/0.05819, allocations: 16.55 kB / 1.236 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of [SIM] Solve: time 0.002274/0.06047, allocations: 1.702 MB / 1.238 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of [SIM] Jacobian: time 0.0003365/0.0608, allocations: 287.1 kB / 1.238 GB, free: 12.92 MB / 0.9356 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 12 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 17 (17) {mEvaEmu_flow.T_start, mEvaEmu_flow.count, mConEmu_flow.T_start, mConEmu_flow.count, TEvaInEmu.T_start, TEvaInEmu.count, TConOutEmu.T_start, TConOutEmu.count, TEvaOutEmu.T_start, TEvaOutEmu.count, TConInEmu.T_start, TConInEmu.count, ySetPul.T_start, ySetPul.count, safCtr.minVolFloRatSaf.disErr.y, safCtr.antFre.disErr.y, safCtr.opeEnv.disErr.y} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 82 (76) {hys.y, safCtr.opeEnv.errAndSetOn.y, safCtr.opeEnv.onOffSet, safCtr.opeEnv.canOpe, safCtr.opeEnv.bouMapHea.nor.u, safCtr.opeEnv.bouMapHea.hysLef.y, safCtr.opeEnv.bouMapHea.hysRig.y, safCtr.opeEnv.bouMapHea.hysBou.y, safCtr.opeEnv.bouMapCoo.nor.u, safCtr.opeEnv.bouMapCoo.hysLef.y, safCtr.opeEnv.bouMapCoo.hysRig.y, safCtr.opeEnv.bouMapCoo.hysBou.y, safCtr.opeEnv.swiHeaCoo.u1, safCtr.opeEnv.swiHeaCoo.u3, safCtr.antFre.errAndSetOn.y, safCtr.antFre.canOpe, safCtr.antFre.hys.y, safCtr.opeEnvErr, safCtr.antFreErr, safCtr.minVolFloRatSaf.errAndSetOn.y, safCtr.minVolFloRatSaf.canOpe, safCtr.minVolFloRatSaf.hysCon.y, safCtr.minVolFloRatSaf.hysEva.y, safCtr.minFlowErr, safCtr.ySetOn.y, safCtr.andCanOpe.u, safCtr.andCanOpe.y, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 110 (scalar:110, array:0, record:0) * Number of multi strong components: ............ 17 (algorithm:0, when:17, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 214 (scalar:202, array:12, record:0) * Number of multi strong components: ............ 7 (algorithm:7, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001327/0.06093, allocations: 97.27 kB / 1.238 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of SimCode: time 0.007631/0.06857, allocations: 5.588 MB / 1.244 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of Templates: time 0.0215/0.09007, allocations: 13.14 MB / 1.256 GB, free: 11.56 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.makefile [Timeout 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_Safety -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.o Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_Safety -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety_functions.o Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety_functions.c Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety_functions.c:250:156: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') (&data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[69]] /* safCtr.opeEnv.bouMapHea.scaTAmbSidToPoi[1] PARAM */)[_omcQ_24i1 - 1] = add_alloc_real_array_scalar(division_alloc_real_array_scalar(threadData,mul_alloc_real_array_scalar(add_alloc_real_array_scalar(tmp3, (-(data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[58]] /* safCtr.opeEnv.bouMapHea.TAmbSidMin PARAM */))), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[56]] /* safCtr.opeEnv.bouMapHea.icoMax PARAM */) - (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[55]] /* safCtr.opeEnv.bouMapHea.icoMin PARAM */)),(data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[57]] /* safCtr.opeEnv.bouMapHea.TAmbSidMax PARAM */) - (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[58]] /* safCtr.opeEnv.bouMapHea.TAmbSidMin PARAM */),"safCtr.opeEnv.bouMapHea.T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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety_functions.c:261:156: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') (&data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[71]] /* safCtr.opeEnv.bouMapHea.scaTUseSidToPoi[1] PARAM */)[_omcQ_24i1 - 1] = add_alloc_real_array_scalar(division_alloc_real_array_scalar(threadData,mul_alloc_real_array_scalar(add_alloc_real_array_scalar(tmp4, (-(data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[60]] /* safCtr.opeEnv.bouMapHea.TUseSidMin PARAM */))), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[56]] /* safCtr.opeEnv.bouMapHea.icoMax PARAM */) - (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[55]] /* safCtr.opeEnv.bouMapHea.icoMin PARAM */)),(data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[59]] /* safCtr.opeEnv.bouMapHea.TUseSidMax PARAM */) - (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[60]] /* safCtr.opeEnv.bouMapHea.TUseSidMin PARAM */),"safCtr.opeEnv.bouMapHea.TUseSidMax - safCtr.opeEnv.bouMapHea.TUseSidMin"), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[55]] /* safCtr.opeEnv.bouMapHea.icoMin PARAM */));; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety_functions.c:272:157: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') (&data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[112]] /* safCtr.opeEnv.bouMapCoo.scaTAmbSidToPoi[1] PARAM */)[_omcQ_24i1 - 1] = add_alloc_real_array_scalar(division_alloc_real_array_scalar(threadData,mul_alloc_real_array_scalar(add_alloc_real_array_scalar(tmp5, (-(data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[101]] /* safCtr.opeEnv.bouMapCoo.TAmbSidMin PARAM */))), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[99]] /* safCtr.opeEnv.bouMapCoo.icoMax PARAM */) - (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[98]] /* safCtr.opeEnv.bouMapCoo.icoMin PARAM */)),(data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[100]] /* safCtr.opeEnv.bouMapCoo.TAmbSidMax PARAM */) - (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[101]] /* safCtr.opeEnv.bouMapCoo.TAmbSidMin PARAM */),"safCtr.opeEnv.bouMapCoo.TAmbSidMax - safCtr.opeEnv.bouMapCoo.TAmbSidMin"), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[98]] /* safCtr.opeEnv.bouMapCoo.icoMin PARAM */));; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety_functions.c:283:157: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') (&data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[114]] /* safCtr.opeEnv.bouMapCoo.scaTUseSidToPoi[1] PARAM */)[_omcQ_24i1 - 1] = add_alloc_real_array_scalar(division_alloc_real_array_scalar(threadData,mul_alloc_real_array_scalar(add_alloc_real_array_scalar(tmp6, (-(data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[103]] /* safCtr.opeEnv.bouMapCoo.TUseSidMin PARAM */))), (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[99]] /* safCtr.opeEnv.bouMapCoo.icoMax PARAM */) - (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[98]] /* safCtr.opeEnv.bouMapCoo.icoMin PARAM */)),(data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[102]] /* safCtr.opeEnv.bouMapCoo.TUseSidMax PARAM */) - (data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[103]] /* safCtr.opeEnv.bouMapCoo.TUseSidMin PARAM */),"safCtr.ope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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 6.39812173100654] Failed to read output from testmodel.py, exit status != 0: 0.09748942800797522 0.11045260500000001 0.08965429300000001 Calling exit ...