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.001209/0.001209, allocations: 111.2 kB / 15.99 MB, free: 6.352 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.001731/0.001731, allocations: 192.4 kB / 16.91 MB, free: 6.184 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.401/1.401, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8226/0.8226, allocations: 135.1 MB / 425.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 59.89 kB / 0.5055 GB, free: 8.746 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4312, allocations: 80.92 MB / 0.5845 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1784/0.6097, allocations: 160.8 MB / 0.7416 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5124/1.122, allocations: 27.06 MB / 0.768 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005441/1.128, allocations: 79.78 kB / 0.7681 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003824/1.131, allocations: 1.001 MB / 0.7691 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00829/1.14, allocations: 1.721 MB / 0.7707 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007294/1.147, allocations: 1.79 MB / 0.7725 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01037/1.158, allocations: 5.857 MB / 0.7782 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007887/1.165, allocations: 4.892 MB / 0.783 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005762/1.171, allocations: 2.326 MB / 0.7852 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005113/1.176, allocations: 2.881 MB / 0.7881 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002006/1.178, allocations: 0.5174 MB / 0.7886 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/1.183, allocations: 1.107 MB / 0.7896 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002085/1.185, allocations: 1.371 MB / 0.791 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004928/1.19, allocations: 2.393 MB / 0.7933 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007684/1.198, allocations: 5.298 MB / 0.7985 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.198, allocations: 4 kB / 0.7985 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.385e-06/1.198, allocations: 0 / 0.7985 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002752/1.198, allocations: 0 / 0.7985 GB, free: 15.5 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.01552/1.214, allocations: 5.107 MB / 0.8035 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.214, allocations: 9.172 kB / 0.8035 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/1.228, allocations: 2.831 MB / 0.8063 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007349/1.235, allocations: 2.512 MB / 0.8087 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/1.236, allocations: 280.9 kB / 0.809 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00233/1.238, allocations: 371.9 kB / 0.8093 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02104/1.259, allocations: 5.728 MB / 0.8149 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/1.259, allocations: 2.5 kB / 0.8149 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001776/1.261, allocations: 156.7 kB / 0.8151 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.274e-05/1.261, allocations: 92.88 kB / 0.8152 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02052/1.282, allocations: 6.863 MB / 0.8219 GB, free: 5.191 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.0425/1.324, allocations: 17.37 MB / 0.8388 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/1.336, allocations: 4.478 MB / 0.8432 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007521/1.344, allocations: 2.94 MB / 0.8461 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/1.345, allocations: 0.6773 MB / 0.8467 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007471/1.353, allocations: 2.728 MB / 0.8494 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=315): time 7.644e-06/1.353, allocations: 4 kB / 0.8494 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=315): time 0.02946/1.382, allocations: 9.687 MB / 0.8589 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/1.382, allocations: 218.4 kB / 0.8591 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/1.388, allocations: 2.654 MB / 0.8617 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009783/1.389, allocations: 81.7 kB / 0.8617 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001795/1.391, allocations: 1.54 MB / 0.8632 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001861/1.392, allocations: 1.048 MB / 0.8643 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002623/1.395, allocations: 0.5408 MB / 0.8648 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.395, allocations: 301.1 kB / 0.8651 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005557/1.401, allocations: 2.186 MB / 0.8672 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005851/1.407, allocations: 2.521 MB / 0.8697 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/1.418, allocations: 4.705 MB / 0.8743 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.42e-05/1.418, allocations: 112 / 0.8743 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01594/1.434, allocations: 5.812 MB / 0.88 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/1.434, allocations: 8 kB / 0.88 GB, free: 8.859 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.434, allocations: 4 kB / 0.88 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/1.436, allocations: 0.8513 MB / 0.8808 GB, free: 8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004506/1.441, allocations: 0.809 MB / 0.8816 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.452, allocations: 7.561 MB / 0.889 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005033/1.457, allocations: 0.5906 MB / 0.8895 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.458, allocations: 119.9 kB / 0.8897 GB, free: 14.84 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.003952/1.462, allocations: 1.034 MB / 0.8907 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001736/1.464, allocations: 308.2 kB / 0.891 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01873/1.483, allocations: 6.381 MB / 0.8972 GB, free: 7.102 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.33e-05/1.483, allocations: 32 kB / 0.8972 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.114e-05/1.483, allocations: 8 kB / 0.8972 GB, free: 7.062 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-05/1.483, allocations: 15.94 kB / 0.8972 GB, free: 7.047 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02655/1.509, allocations: 10.73 MB / 0.9077 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.51, allocations: 0 / 0.9077 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004437/1.514, allocations: 0.7682 MB / 0.9085 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/1.516, allocations: 0.7447 MB / 0.9092 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007326/1.517, allocations: 83.94 kB / 0.9093 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/1.529, allocations: 10.68 MB / 0.9197 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.529, allocations: 0 / 0.9197 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02269/1.552, allocations: 9.073 MB / 0.9286 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002949/1.555, allocations: 0.8908 MB / 0.9294 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/1.557, allocations: 63.91 kB / 0.9295 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004337/1.561, allocations: 437.7 kB / 0.9299 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008496/1.562, allocations: 214.3 kB / 0.9301 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005801/1.562, allocations: 107.9 kB / 0.9302 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003953/1.566, allocations: 1.928 MB / 0.9321 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.31e-07/1.566, allocations: 0 / 0.9321 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005381/1.572, allocations: 1.227 MB / 0.9333 GB, free: 1.637 MB / 0.7012 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.003226/1.575, allocations: 1.042 MB / 0.9343 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02445/1.6, allocations: 9.327 MB / 0.9434 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/1.6, allocations: 2.531 kB / 0.9434 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008233/1.608, allocations: 3.313 MB / 0.9467 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006134/1.614, allocations: 0.7787 MB / 0.9474 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.636, allocations: 10.62 MB / 0.9578 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003908/1.64, allocations: 2.633 MB / 0.9604 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002928/1.643, allocations: 315.2 kB / 0.9607 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of SimCode: time 1.082e-06/1.643, allocations: 0 / 0.9607 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of Templates: time 0.4518/2.095, allocations: 101.6 MB / 1.06 GB, free: 350 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++14 -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:597:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[457] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:593:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[453] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:598:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[458] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:595: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