Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_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.001069/0.001069, allocations: 110.7 kB / 16.41 MB, free: 5.977 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.001114/0.001114, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8113/0.8113, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 70.7 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1685, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6864/0.8549, allocations: 163.1 MB / 0.8196 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03918/0.8941, allocations: 27.45 MB / 0.8464 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005433/0.8996, allocations: 91.94 kB / 0.8465 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003612/0.9033, allocations: 1.13 MB / 0.8476 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007689/0.911, allocations: 1.928 MB / 0.8495 GB, free: 392 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006236/0.9173, allocations: 1.988 MB / 0.8514 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01002/0.9273, allocations: 5.865 MB / 0.8571 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007462/0.9348, allocations: 4.875 MB / 0.8619 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005914/0.9408, allocations: 2.345 MB / 0.8642 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005461/0.9462, allocations: 2.818 MB / 0.8669 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0018/0.9481, allocations: 0.5195 MB / 0.8674 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003648/0.9517, allocations: 1.148 MB / 0.8686 GB, free: 484 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001568/0.9533, allocations: 1.355 MB / 0.8699 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004161/0.9575, allocations: 2.391 MB / 0.8722 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009923/0.9674, allocations: 6.757 MB / 0.8788 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.9675, allocations: 3.984 kB / 0.8788 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9675, allocations: 0 / 0.8788 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002116/0.9677, allocations: 0 / 0.8788 GB, free: 5.926 MB / 0.6387 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.0125/0.9802, allocations: 5.104 MB / 0.8838 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.9803, allocations: 12.02 kB / 0.8838 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01353/0.9938, allocations: 2.834 MB / 0.8866 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007321/1.001, allocations: 2.535 MB / 0.8891 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/1.002, allocations: 279.5 kB / 0.8893 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/1.003, allocations: 364 kB / 0.8897 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01517/1.018, allocations: 5.739 MB / 0.8953 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.635e-05/1.018, allocations: 4 kB / 0.8953 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004556/1.019, allocations: 152 kB / 0.8954 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.591e-05/1.019, allocations: 95.94 kB / 0.8955 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/1.037, allocations: 6.862 MB / 0.9022 GB, free: 13.73 MB / 0.67 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.03716/1.074, allocations: 17.25 MB / 0.9191 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/1.085, allocations: 4.488 MB / 0.9234 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006613/1.091, allocations: 2.943 MB / 0.9263 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.092, allocations: 0.6738 MB / 0.927 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006743/1.099, allocations: 2.725 MB / 0.9296 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=315): time 7.314e-06/1.099, allocations: 0 / 0.9296 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=315): time 0.0288/1.128, allocations: 9.698 MB / 0.9391 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/1.128, allocations: 218.4 kB / 0.9393 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005119/1.133, allocations: 2.658 MB / 0.9419 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009151/1.134, allocations: 81.7 kB / 0.942 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.136, allocations: 1.534 MB / 0.9435 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/1.138, allocations: 1.051 MB / 0.9445 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00258/1.141, allocations: 0.5447 MB / 0.945 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.141, allocations: 301.1 kB / 0.9453 GB, free: 408 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006078/1.147, allocations: 2.176 MB / 0.9475 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007112/1.154, allocations: 2.537 MB / 0.9499 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/1.167, allocations: 4.704 MB / 0.9545 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/1.167, allocations: 0 / 0.9545 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01712/1.184, allocations: 5.808 MB / 0.9602 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/1.184, allocations: 8 kB / 0.9602 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/1.184, allocations: 4 kB / 0.9602 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/1.186, allocations: 0.8396 MB / 0.961 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004617/1.191, allocations: 0.8034 MB / 0.9618 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/1.203, allocations: 7.562 MB / 0.9692 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/1.208, allocations: 0.5711 MB / 0.9698 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001032/1.209, allocations: 119.9 kB / 0.9699 GB, free: 6.906 MB / 0.7325 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.003481/1.212, allocations: 1.025 MB / 0.9709 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/1.214, allocations: 308.2 kB / 0.9712 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/1.23, allocations: 6.384 MB / 0.9774 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/1.231, allocations: 35.94 kB / 0.9774 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.365e-05/1.231, allocations: 11.98 kB / 0.9774 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-05/1.231, allocations: 15.95 kB / 0.9775 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02474/1.255, allocations: 10.72 MB / 0.9879 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.255, allocations: 0 / 0.9879 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003936/1.259, allocations: 0.7683 MB / 0.9887 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/1.261, allocations: 0.7379 MB / 0.9894 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004213/1.262, allocations: 83.94 kB / 0.9895 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01235/1.274, allocations: 10.66 MB / 0.9999 GB, free: 7.516 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.274, allocations: 3.938 kB / 0.9999 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01999/1.294, allocations: 9.072 MB / 1.009 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/1.296, allocations: 0.9024 MB / 1.01 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005919/1.297, allocations: 67.92 kB / 1.01 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/1.3, allocations: 403.4 kB / 1.01 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005173/1.3, allocations: 214.3 kB / 1.01 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002754/1.301, allocations: 107.9 kB / 1.01 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0026/1.303, allocations: 1.928 MB / 1.012 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.455e-06/1.303, allocations: 0 / 1.012 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003452/1.307, allocations: 1.219 MB / 1.013 GB, free: 9.496 MB / 0.7794 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.002554/1.309, allocations: 1.047 MB / 1.014 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.322, allocations: 5.528 MB / 1.02 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.322, allocations: 4.188 kB / 1.02 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006837/1.328, allocations: 3.317 MB / 1.023 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/1.332, allocations: 0.7654 MB / 1.024 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.349, allocations: 8.88 MB / 1.033 GB, free: 6.254 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/1.351, allocations: 2.629 MB / 1.035 GB, free: 3.598 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002087/1.353, allocations: 315.2 kB / 1.035 GB, free: 3.293 MB / 0.795 GB Notification: Performance of SimCode: time 6.51e-07/1.353, allocations: 4 kB / 1.035 GB, free: 3.289 MB / 0.795 GB Notification: Performance of Templates: time 0.5271/1.881, allocations: 102 MB / 1.135 GB, free: 248.3 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:17: ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:596:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[457] ^ ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:592:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[453] ^ ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:597:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[458] ^ ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:594:13: note: previous definition is here #define _const1_P_y_ _pointerToRealVars[455] ^ In file included from OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o] Error 1