Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001309/0.001309, allocations: 103.5 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.001226/0.001226, allocations: 190.1 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8601/0.8601, allocations: 135.2 MB / 426.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 0.506 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3961, allocations: 80.92 MB / 0.585 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1925/0.5887, allocations: 163.1 MB / 0.7443 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4602/1.049, allocations: 27.44 MB / 0.7711 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00626/1.055, allocations: 86.72 kB / 0.7712 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002909/1.058, allocations: 1.125 MB / 0.7723 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00699/1.065, allocations: 1.891 MB / 0.7741 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005052/1.07, allocations: 1.979 MB / 0.7761 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008363/1.079, allocations: 5.829 MB / 0.7818 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006391/1.085, allocations: 4.882 MB / 0.7865 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005127/1.09, allocations: 2.31 MB / 0.7888 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004383/1.095, allocations: 2.819 MB / 0.7915 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001092/1.096, allocations: 0.5185 MB / 0.792 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/1.099, allocations: 1.11 MB / 0.7931 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/1.1, allocations: 1.369 MB / 0.7945 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003177/1.103, allocations: 2.391 MB / 0.7968 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007944/1.111, allocations: 6.642 MB / 0.8033 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.111, allocations: 0 / 0.8033 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.915e-06/1.111, allocations: 2.125 kB / 0.8033 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001972/1.111, allocations: 0 / 0.8033 GB, free: 14.87 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01192/1.123, allocations: 5.099 MB / 0.8083 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/1.123, allocations: 10.8 kB / 0.8083 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/1.137, allocations: 2.834 MB / 0.811 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005731/1.143, allocations: 2.5 MB / 0.8135 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/1.143, allocations: 282.3 kB / 0.8137 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008935/1.144, allocations: 368.7 kB / 0.8141 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/1.157, allocations: 5.731 MB / 0.8197 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.229e-05/1.157, allocations: 2.719 kB / 0.8197 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004315/1.157, allocations: 152.6 kB / 0.8198 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.274e-05/1.157, allocations: 90.66 kB / 0.8199 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/1.174, allocations: 6.86 MB / 0.8266 GB, free: 1.789 MB / 0.5919 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.03462/1.208, allocations: 17.39 MB / 0.8436 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/1.219, allocations: 4.475 MB / 0.848 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007034/1.226, allocations: 2.94 MB / 0.8509 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.228, allocations: 0.6854 MB / 0.8515 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006635/1.234, allocations: 2.727 MB / 0.8542 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=315): time 8.807e-06/1.234, allocations: 3.984 kB / 0.8542 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=315): time 0.02672/1.261, allocations: 9.692 MB / 0.8637 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/1.261, allocations: 218.4 kB / 0.8639 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/1.265, allocations: 2.662 MB / 0.8665 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006544/1.266, allocations: 77.7 kB / 0.8665 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001635/1.268, allocations: 1.54 MB / 0.868 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001548/1.269, allocations: 1.053 MB / 0.8691 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/1.27, allocations: 0.537 MB / 0.8696 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.27, allocations: 305.1 kB / 0.8699 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005273/1.276, allocations: 2.183 MB / 0.872 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00575/1.282, allocations: 2.523 MB / 0.8745 GB, free: 16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.293, allocations: 4.708 MB / 0.8791 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/1.293, allocations: 0 / 0.8791 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01536/1.308, allocations: 5.809 MB / 0.8848 GB, free: 5.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.308, allocations: 11.98 kB / 0.8848 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/1.309, allocations: 4 kB / 0.8848 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/1.311, allocations: 0.8436 MB / 0.8856 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00457/1.315, allocations: 0.8041 MB / 0.8864 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.327, allocations: 7.565 MB / 0.8938 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004878/1.332, allocations: 0.5633 MB / 0.8943 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00102/1.333, allocations: 127.9 kB / 0.8944 GB, free: 11.42 MB / 0.67 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 (291): * Single equations (assignments): 290 * 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.003939/1.337, allocations: 1.028 MB / 0.8954 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/1.339, allocations: 308.2 kB / 0.8957 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01975/1.359, allocations: 6.389 MB / 0.902 GB, free: 3.688 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.199e-05/1.359, allocations: 35.94 kB / 0.902 GB, free: 3.652 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.039e-05/1.359, allocations: 8 kB / 0.902 GB, free: 3.645 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.157e-05/1.359, allocations: 15.94 kB / 0.902 GB, free: 3.629 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0283/1.387, allocations: 10.73 MB / 0.9125 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.387, allocations: 0 / 0.9125 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004418/1.392, allocations: 0.7658 MB / 0.9133 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/1.394, allocations: 0.744 MB / 0.914 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006682/1.395, allocations: 87.94 kB / 0.9141 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01392/1.409, allocations: 10.68 MB / 0.9245 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.409, allocations: 0 / 0.9245 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02386/1.432, allocations: 9.066 MB / 0.9334 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003109/1.436, allocations: 0.8947 MB / 0.9342 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/1.437, allocations: 71.84 kB / 0.9343 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004822/1.442, allocations: 403.4 kB / 0.9347 GB, free: 1.723 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/1.443, allocations: 210.3 kB / 0.9349 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007144/1.444, allocations: 103.9 kB / 0.935 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004728/1.449, allocations: 1.939 MB / 0.9369 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.5e-07/1.449, allocations: 0 / 0.9369 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005275/1.454, allocations: 1.215 MB / 0.9381 GB, free: 14.25 MB / 0.7169 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 (270): * Single equations (assignments): 262 * 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.004214/1.458, allocations: 1.038 MB / 0.9391 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02557/1.484, allocations: 9.329 MB / 0.9482 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.484, allocations: 3.938 kB / 0.9482 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008551/1.493, allocations: 3.331 MB / 0.9514 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005561/1.498, allocations: 0.7675 MB / 0.9522 GB, free: 296 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/1.52, allocations: 8.97 MB / 0.9609 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003954/1.524, allocations: 2.625 MB / 0.9635 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002914/1.527, allocations: 319.2 kB / 0.9638 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of SimCode: time 1.483e-06/1.527, allocations: 0 / 0.9638 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of Templates: time 0.4405/1.967, allocations: 101.7 MB / 1.063 GB, free: 349.4 MB / 0.795 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile make -j1 -f IDEAS_dev_IDEAS.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/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:17: ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:596:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[457] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:592:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[453] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:597:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[458] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:594:13: note: previous definition is here #define _const1_P_y_ _pointerToRealVars[455] ^ In file included from OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: *** [: OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o] Error 1