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.001182/0.001182, allocations: 112.1 kB / 16.41 MB, free: 6.488 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.001163/0.001163, allocations: 183 kB / 17.34 MB, free: 5.766 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7944/0.7944, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 61.88 kB / 0.5862 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 80.93 MB / 0.6653 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5952/0.7528, allocations: 163.1 MB / 0.8245 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03881/0.7917, allocations: 27.45 MB / 0.8514 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006448/0.7982, allocations: 86.09 kB / 0.8514 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.8016, allocations: 1.134 MB / 0.8525 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006265/0.8079, allocations: 1.929 MB / 0.8544 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004912/0.8128, allocations: 1.98 MB / 0.8564 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007847/0.8207, allocations: 5.87 MB / 0.8621 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006169/0.8269, allocations: 4.868 MB / 0.8669 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004604/0.8315, allocations: 2.353 MB / 0.8691 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004434/0.8359, allocations: 2.826 MB / 0.8719 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.837, allocations: 0.5195 MB / 0.8724 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.8402, allocations: 1.14 MB / 0.8735 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.8417, allocations: 1.352 MB / 0.8748 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003681/0.8453, allocations: 2.395 MB / 0.8772 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009326/0.8547, allocations: 6.753 MB / 0.8838 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.8547, allocations: 0 / 0.8838 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8547, allocations: 4 kB / 0.8838 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001668/0.8549, allocations: 0 / 0.8838 GB, free: 15.27 MB / 0.6544 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.01105/0.866, allocations: 5.102 MB / 0.8888 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.866, allocations: 13.11 kB / 0.8888 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/0.8794, allocations: 2.83 MB / 0.8915 GB, free: 7.242 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005371/0.8848, allocations: 2.551 MB / 0.894 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.8851, allocations: 279.5 kB / 0.8943 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005711/0.8857, allocations: 364 kB / 0.8946 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.8976, allocations: 5.736 MB / 0.9002 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.289e-05/0.8977, allocations: 3.938 kB / 0.9003 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003896/0.8981, allocations: 152 kB / 0.9004 GB, free: 14.04 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.871e-05/0.8982, allocations: 99.94 kB / 0.9005 GB, free: 13.94 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01529/0.9135, allocations: 6.858 MB / 0.9072 GB, free: 7.07 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.036/0.9495, allocations: 17.25 MB / 0.924 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.9604, allocations: 4.473 MB / 0.9284 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006526/0.9669, allocations: 2.947 MB / 0.9313 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.9681, allocations: 0.6738 MB / 0.9319 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00683/0.9749, allocations: 2.721 MB / 0.9346 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 5.48e-06/0.975, allocations: 7.938 kB / 0.9346 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.02872/1.004, allocations: 9.694 MB / 0.9441 GB, free: 248 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/1.004, allocations: 210.4 kB / 0.9443 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004929/1.009, allocations: 2.658 MB / 0.9469 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007008/1.01, allocations: 89.69 kB / 0.947 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/1.011, allocations: 1.538 MB / 0.9485 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001534/1.013, allocations: 1.047 MB / 0.9495 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001964/1.015, allocations: 0.5408 MB / 0.95 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.015, allocations: 305.1 kB / 0.9503 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005396/1.02, allocations: 2.179 MB / 0.9524 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005757/1.026, allocations: 2.525 MB / 0.9549 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.037, allocations: 4.712 MB / 0.9595 GB, free: 188 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.038, allocations: 0 / 0.9595 GB, free: 188 kB / 0.7169 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01413/1.052, allocations: 5.804 MB / 0.9652 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/1.052, allocations: 14.11 kB / 0.9652 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/1.052, allocations: 7.938 kB / 0.9652 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/1.054, allocations: 0.8396 MB / 0.966 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/1.058, allocations: 0.8035 MB / 0.9668 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.069, allocations: 7.565 MB / 0.9742 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004384/1.074, allocations: 0.5594 MB / 0.9747 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000763/1.075, allocations: 123.9 kB / 0.9748 GB, free: 272 kB / 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.003145/1.078, allocations: 1.029 MB / 0.9758 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/1.079, allocations: 312.2 kB / 0.9761 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.096, allocations: 6.378 MB / 0.9824 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/1.096, allocations: 32 kB / 0.9824 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-05/1.096, allocations: 12 kB / 0.9824 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.486e-05/1.096, allocations: 15.94 kB / 0.9824 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/1.12, allocations: 10.72 MB / 0.9929 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.12, allocations: 0 / 0.9929 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003938/1.124, allocations: 0.7684 MB / 0.9936 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/1.126, allocations: 0.7379 MB / 0.9944 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003547/1.126, allocations: 79.94 kB / 0.9944 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/1.139, allocations: 10.66 MB / 1.005 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.14, allocations: 3.938 kB / 1.005 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02126/1.161, allocations: 9.076 MB / 1.014 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002623/1.163, allocations: 0.8986 MB / 1.015 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009674/1.164, allocations: 71.83 kB / 1.015 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003533/1.168, allocations: 401.1 kB / 1.015 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/1.169, allocations: 210.3 kB / 1.015 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004009/1.169, allocations: 111.9 kB / 1.015 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003498/1.173, allocations: 1.928 MB / 1.017 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.173, allocations: 0 / 1.017 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003952/1.177, allocations: 1.219 MB / 1.018 GB, free: 2.852 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.00282/1.179, allocations: 1.037 MB / 1.019 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01321/1.193, allocations: 5.524 MB / 1.025 GB, free: 12.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.193, allocations: 4 kB / 1.025 GB, free: 12.58 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007232/1.2, allocations: 3.321 MB / 1.028 GB, free: 9.219 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004613/1.205, allocations: 0.7671 MB / 1.029 GB, free: 8.488 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/1.224, allocations: 8.875 MB / 1.038 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002891/1.227, allocations: 2.629 MB / 1.04 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002067/1.229, allocations: 319.2 kB / 1.04 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of SimCode: time 1.293e-06/1.229, allocations: 4 kB / 1.04 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of Templates: time 0.4947/1.724, allocations: 102 MB / 1.14 GB, free: 267.2 MB / 0.8262 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