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.0009572/0.0009569, allocations: 98.64 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 183 kB / 16.92 MB, free: 6.918 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9187/0.9187, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003216, allocations: 8.281 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1667, allocations: 82.31 MB / 0.5886 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5113/0.6781, allocations: 158.4 MB / 0.7433 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03778/0.7159, allocations: 26.98 MB / 0.7697 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005431/0.7214, allocations: 75.62 kB / 0.7697 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003413/0.7248, allocations: 0.9876 MB / 0.7707 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007029/0.7319, allocations: 1.704 MB / 0.7724 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005612/0.7375, allocations: 1.755 MB / 0.7741 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009368/0.7469, allocations: 6.146 MB / 0.7801 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006727/0.7536, allocations: 3.979 MB / 0.784 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.7571, allocations: 1.594 MB / 0.7855 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003721/0.7608, allocations: 2.225 MB / 0.7877 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.7618, allocations: 136 kB / 0.7878 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.7644, allocations: 0.7413 MB / 0.7885 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.7658, allocations: 0.8829 MB / 0.7894 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00327/0.7691, allocations: 1.857 MB / 0.7912 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006237/0.7753, allocations: 5.108 MB / 0.7962 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7753, allocations: 0 / 0.7962 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7753, allocations: 0 / 0.7962 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000232/0.7756, allocations: 0 / 0.7962 GB, free: 7.125 MB / 0.6075 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.01059/0.7862, allocations: 4.321 MB / 0.8004 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.7862, allocations: 8.031 kB / 0.8004 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.8008, allocations: 2.951 MB / 0.8033 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005518/0.8064, allocations: 2.52 MB / 0.8058 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.8066, allocations: 283.5 kB / 0.806 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000873/0.8075, allocations: 364 kB / 0.8064 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.8212, allocations: 5.771 MB / 0.812 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.8214, allocations: 4 kB / 0.812 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004729/0.8219, allocations: 152 kB / 0.8122 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.099e-05/0.822, allocations: 99.88 kB / 0.8123 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01641/0.8384, allocations: 6.952 MB / 0.8191 GB, free: 15.49 MB / 0.6387 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.03232/0.8708, allocations: 17.41 MB / 0.8361 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.8809, allocations: 4.492 MB / 0.8404 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006179/0.8871, allocations: 2.955 MB / 0.8433 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/0.8881, allocations: 0.6738 MB / 0.844 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00639/0.8946, allocations: 2.736 MB / 0.8467 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=315): time 6.191e-06/0.8946, allocations: 0 / 0.8467 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=315): time 0.02703/0.9216, allocations: 9.764 MB / 0.8562 GB, free: 8.395 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.9218, allocations: 210.4 kB / 0.8564 GB, free: 8.145 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004374/0.9262, allocations: 2.658 MB / 0.859 GB, free: 5.473 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000508/0.9267, allocations: 77.7 kB / 0.8591 GB, free: 5.391 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.9282, allocations: 1.534 MB / 0.8606 GB, free: 3.84 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/0.9295, allocations: 1.055 MB / 0.8616 GB, free: 2.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005469/0.93, allocations: 227.4 kB / 0.8618 GB, free: 2.543 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.9301, allocations: 301.1 kB / 0.8621 GB, free: 2.246 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005198/0.9353, allocations: 2.183 MB / 0.8642 GB, free: 60 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.336/1.271, allocations: 2.53 MB / 0.8667 GB, free: 211.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.282, allocations: 4.72 MB / 0.8713 GB, free: 211.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.282, allocations: 1.75 kB / 0.8713 GB, free: 211.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.0123/1.294, allocations: 5.817 MB / 0.877 GB, free: 209.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.294, allocations: 6.562 kB / 0.877 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.294, allocations: 3.312 kB / 0.877 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/1.296, allocations: 0.8442 MB / 0.8778 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003769/1.3, allocations: 0.8108 MB / 0.8786 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008393/1.308, allocations: 6.996 MB / 0.8854 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/1.312, allocations: 0.6037 MB / 0.886 GB, free: 205.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003906/1.313, allocations: 120.4 kB / 0.8862 GB, free: 205.9 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.001909/1.315, allocations: 1.035 MB / 0.8872 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/1.315, allocations: 308.4 kB / 0.8875 GB, free: 205.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/1.329, allocations: 6.39 MB / 0.8937 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/1.33, allocations: 32.06 kB / 0.8937 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.96e-05/1.33, allocations: 11.61 kB / 0.8937 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-05/1.33, allocations: 20.69 kB / 0.8938 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/1.352, allocations: 10.72 MB / 0.9042 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.352, allocations: 0 / 0.9042 GB, free: 199.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004223/1.356, allocations: 0.772 MB / 0.905 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/1.358, allocations: 0.7348 MB / 0.9057 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004803/1.359, allocations: 94.7 kB / 0.9058 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/1.37, allocations: 9.808 MB / 0.9154 GB, free: 191.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.37, allocations: 0.7812 kB / 0.9154 GB, free: 191.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02488/1.395, allocations: 9.094 MB / 0.9243 GB, free: 188.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002899/1.398, allocations: 0.9385 MB / 0.9252 GB, free: 188 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/1.399, allocations: 61.06 kB / 0.9252 GB, free: 188 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00437/1.403, allocations: 445.3 kB / 0.9256 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009395/1.404, allocations: 211.2 kB / 0.9259 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005869/1.405, allocations: 109.7 kB / 0.926 GB, free: 187.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004416/1.409, allocations: 1.927 MB / 0.9278 GB, free: 187.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.9e-07/1.409, allocations: 0 / 0.9278 GB, free: 187.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005239/1.415, allocations: 1.233 MB / 0.929 GB, free: 186.9 MB / 0.67 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.003177/1.418, allocations: 1.031 MB / 0.93 GB, free: 186.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.43, allocations: 5.524 MB / 0.9354 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.43, allocations: 0 / 0.9354 GB, free: 184.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006667/1.437, allocations: 3.332 MB / 0.9387 GB, free: 183.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004724/1.442, allocations: 0.7211 MB / 0.9394 GB, free: 183.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/1.458, allocations: 10.77 MB / 0.9499 GB, free: 173 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/1.46, allocations: 2.639 MB / 0.9525 GB, free: 170.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/1.462, allocations: 315.2 kB / 0.9528 GB, free: 170 MB / 0.67 GB Notification: Performance of SimCode: time 9.61e-07/1.462, allocations: 4 kB / 0.9528 GB, free: 170 MB / 0.67 GB Notification: Performance of Templates: time 0.09729/1.559, allocations: 100.9 MB / 1.051 GB, free: 69.07 MB / 0.67 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