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.001517/0.001517, allocations: 104.7 kB / 16.27 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.001485/0.001485, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8483/0.8483, allocations: 135.2 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.88 kB / 0.506 GB, free: 8.344 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3802, allocations: 80.91 MB / 0.585 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1871/0.5673, allocations: 163.1 MB / 0.7443 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3511/0.9184, allocations: 27.43 MB / 0.7711 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004134/0.9226, allocations: 85.03 kB / 0.7712 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.9258, allocations: 1.134 MB / 0.7723 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006521/0.9324, allocations: 1.891 MB / 0.7741 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005423/0.9378, allocations: 1.972 MB / 0.7761 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00875/0.9466, allocations: 5.836 MB / 0.7818 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006938/0.9535, allocations: 4.889 MB / 0.7865 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005199/0.9588, allocations: 2.3 MB / 0.7888 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004829/0.9636, allocations: 2.819 MB / 0.7915 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00185/0.9655, allocations: 0.52 MB / 0.792 GB, free: 16.6 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.9695, allocations: 1.112 MB / 0.7931 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002393/0.972, allocations: 1.364 MB / 0.7945 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005935/0.9779, allocations: 2.388 MB / 0.7968 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00951/0.9874, allocations: 6.646 MB / 0.8033 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9875, allocations: 0 / 0.8033 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9875, allocations: 0 / 0.8033 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000234/0.9877, 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.01397/1.002, allocations: 5.104 MB / 0.8083 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.002, allocations: 9.453 kB / 0.8083 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01446/1.016, allocations: 2.829 MB / 0.811 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006628/1.023, allocations: 2.497 MB / 0.8135 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000367/1.023, allocations: 280.2 kB / 0.8137 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001779/1.025, allocations: 367.6 kB / 0.8141 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/1.041, allocations: 5.738 MB / 0.8197 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.514e-05/1.041, allocations: 2.688 kB / 0.8197 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005061/1.041, allocations: 150.7 kB / 0.8198 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-05/1.041, allocations: 91.56 kB / 0.8199 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/1.061, allocations: 6.867 MB / 0.8266 GB, free: 1.809 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.03832/1.1, allocations: 17.38 MB / 0.8436 GB, free: 28 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.11, allocations: 4.489 MB / 0.848 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006553/1.117, allocations: 2.943 MB / 0.8509 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/1.118, allocations: 0.6705 MB / 0.8515 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006775/1.125, allocations: 2.732 MB / 0.8542 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=315): time 6.142e-06/1.125, allocations: 0 / 0.8542 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of matching and sorting (n=315): time 0.0281/1.153, allocations: 9.689 MB / 0.8637 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/1.153, allocations: 217.5 kB / 0.8639 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004586/1.158, allocations: 2.67 MB / 0.8665 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0009836/1.159, allocations: 81.7 kB / 0.8665 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001847/1.161, allocations: 1.533 MB / 0.868 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001938/1.162, allocations: 1.057 MB / 0.8691 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/1.164, allocations: 0.5369 MB / 0.8696 GB, free: 5.105 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.164, allocations: 305.1 kB / 0.8699 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005418/1.169, allocations: 2.176 MB / 0.872 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005959/1.175, allocations: 2.527 MB / 0.8745 GB, free: 28 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/1.187, allocations: 4.706 MB / 0.8791 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/1.187, allocations: 0 / 0.8791 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.0164/1.204, allocations: 5.809 MB / 0.8848 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/1.204, allocations: 8 kB / 0.8848 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/1.204, allocations: 4 kB / 0.8848 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002137/1.206, allocations: 0.8475 MB / 0.8856 GB, free: 4.594 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004818/1.211, allocations: 0.8042 MB / 0.8864 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/1.224, allocations: 7.574 MB / 0.8938 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005057/1.229, allocations: 0.5734 MB / 0.8943 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/1.23, allocations: 115.9 kB / 0.8944 GB, free: 11.45 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.004124/1.235, allocations: 1.033 MB / 0.8955 GB, free: 10.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/1.236, allocations: 308.1 kB / 0.8957 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/1.256, allocations: 6.38 MB / 0.902 GB, free: 3.715 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/1.256, allocations: 28 kB / 0.902 GB, free: 3.688 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.7e-05/1.256, allocations: 12 kB / 0.902 GB, free: 3.676 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.813e-05/1.257, allocations: 15.94 kB / 0.902 GB, free: 3.66 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02862/1.285, allocations: 10.73 MB / 0.9125 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/1.285, allocations: 0 / 0.9125 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004665/1.29, allocations: 0.7697 MB / 0.9133 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/1.292, allocations: 0.7471 MB / 0.914 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008386/1.293, allocations: 83.94 kB / 0.9141 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/1.307, allocations: 10.67 MB / 0.9245 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.308, allocations: 0 / 0.9245 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02451/1.332, allocations: 9.074 MB / 0.9334 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002763/1.335, allocations: 0.8947 MB / 0.9342 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/1.336, allocations: 79.02 kB / 0.9343 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004034/1.34, allocations: 399.4 kB / 0.9347 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008677/1.341, allocations: 210.3 kB / 0.9349 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006011/1.342, allocations: 107.9 kB / 0.935 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00415/1.346, allocations: 1.936 MB / 0.9369 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.21e-07/1.346, allocations: 3.938 kB / 0.9369 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005289/1.351, allocations: 1.215 MB / 0.9381 GB, free: 14.27 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.004247/1.355, allocations: 1.037 MB / 0.9391 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02569/1.381, allocations: 9.336 MB / 0.9482 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/1.381, allocations: 0 / 0.9482 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.009143/1.39, allocations: 3.316 MB / 0.9514 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0061/1.397, allocations: 0.7693 MB / 0.9522 GB, free: 324 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/1.42, allocations: 8.987 MB / 0.961 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004032/1.424, allocations: 2.629 MB / 0.9635 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002822/1.427, allocations: 315.2 kB / 0.9638 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of SimCode: time 1.463e-06/1.427, allocations: 0 / 0.9638 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of Templates: time 0.4581/1.885, allocations: 101.7 MB / 1.063 GB, free: 349.5 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