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.001356/0.001356, allocations: 110.4 kB / 16.41 MB, free: 6.453 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.001305/0.001305, allocations: 185.6 kB / 17.34 MB, free: 5.738 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.869/0.869, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.16 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1796, allocations: 80.93 MB / 0.6653 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6507/0.8304, allocations: 163.5 MB / 0.825 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04243/0.8728, allocations: 27.5 MB / 0.8519 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004692/0.8775, allocations: 92.72 kB / 0.852 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.8809, allocations: 1.142 MB / 0.8531 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007486/0.8884, allocations: 1.932 MB / 0.855 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00615/0.8945, allocations: 1.98 MB / 0.8569 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01116/0.9057, allocations: 5.864 MB / 0.8626 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006969/0.9126, allocations: 3.975 MB / 0.8665 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006152/0.9188, allocations: 2.347 MB / 0.8688 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005492/0.9243, allocations: 2.826 MB / 0.8716 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001361/0.9256, allocations: 0.5195 MB / 0.8721 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.9289, allocations: 1.128 MB / 0.8732 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.9304, allocations: 1.375 MB / 0.8745 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004013/0.9344, allocations: 2.395 MB / 0.8769 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.9447, allocations: 6.784 MB / 0.8835 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.9447, allocations: 0 / 0.8835 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9447, allocations: 4 kB / 0.8835 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001856/0.9449, allocations: 0 / 0.8835 GB, free: 15.62 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.01249/0.9574, allocations: 5.233 MB / 0.8886 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.9574, allocations: 9.109 kB / 0.8886 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/0.9721, allocations: 2.852 MB / 0.8914 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006586/0.9786, allocations: 2.568 MB / 0.8939 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.9789, allocations: 279.5 kB / 0.8942 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008189/0.9797, allocations: 364 kB / 0.8945 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/0.9931, allocations: 5.736 MB / 0.9001 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.934e-05/0.9931, allocations: 0 / 0.9001 GB, free: 14.37 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004291/0.9936, allocations: 160 kB / 0.9003 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.658e-05/0.9937, allocations: 91.94 kB / 0.9004 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01903/1.013, allocations: 6.858 MB / 0.9071 GB, free: 7.254 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.03703/1.05, allocations: 17.29 MB / 0.9239 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/1.061, allocations: 4.219 MB / 0.9281 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006716/1.067, allocations: 2.721 MB / 0.9307 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/1.068, allocations: 0.6738 MB / 0.9314 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007192/1.076, allocations: 2.729 MB / 0.934 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 6.763e-06/1.076, allocations: 4 kB / 0.9341 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.02846/1.104, allocations: 9.665 MB / 0.9435 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/1.104, allocations: 222.4 kB / 0.9437 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/1.109, allocations: 2.662 MB / 0.9463 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008023/1.109, allocations: 81.64 kB / 0.9464 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001618/1.111, allocations: 1.568 MB / 0.9479 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/1.113, allocations: 1.1 MB / 0.949 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.114, allocations: 0.5409 MB / 0.9495 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.114, allocations: 305.1 kB / 0.9498 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005432/1.119, allocations: 2.179 MB / 0.9519 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006225/1.126, allocations: 2.529 MB / 0.9544 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01207/1.138, allocations: 4.704 MB / 0.959 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.138, allocations: 0 / 0.959 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.0149/1.153, allocations: 5.782 MB / 0.9646 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/1.153, allocations: 9.875 kB / 0.9647 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.153, allocations: 8.156 kB / 0.9647 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/1.155, allocations: 0.8356 MB / 0.9655 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005182/1.16, allocations: 0.8151 MB / 0.9663 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/1.173, allocations: 7.567 MB / 0.9737 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004503/1.177, allocations: 0.5717 MB / 0.9742 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007056/1.178, allocations: 119.9 kB / 0.9743 GB, free: 0.8594 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.002559/1.181, allocations: 1.037 MB / 0.9753 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009787/1.182, allocations: 321.9 kB / 0.9757 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02121/1.203, allocations: 6.35 MB / 0.9819 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.654e-05/1.203, allocations: 32 kB / 0.9819 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-05/1.203, allocations: 8 kB / 0.9819 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.717e-05/1.203, allocations: 15.94 kB / 0.9819 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03698/1.24, allocations: 10.67 MB / 0.9923 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.24, allocations: 0 / 0.9923 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004547/1.245, allocations: 0.7684 MB / 0.9931 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/1.247, allocations: 0.7418 MB / 0.9938 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007114/1.247, allocations: 83.94 kB / 0.9939 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/1.261, allocations: 10.68 MB / 1.004 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.261, allocations: 7.938 kB / 1.004 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02238/1.283, allocations: 9.051 MB / 1.013 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002799/1.286, allocations: 0.9042 MB / 1.014 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008308/1.287, allocations: 71.88 kB / 1.014 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003508/1.29, allocations: 401.5 kB / 1.014 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005895/1.291, allocations: 214.2 kB / 1.015 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003029/1.291, allocations: 115.9 kB / 1.015 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003154/1.294, allocations: 1.928 MB / 1.017 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/1.294, allocations: 96 / 1.017 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004023/1.298, allocations: 1.243 MB / 1.018 GB, free: 3.461 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.003902/1.302, allocations: 1.03 MB / 1.019 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01446/1.317, allocations: 5.333 MB / 1.024 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.317, allocations: 3.938 kB / 1.024 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.008465/1.325, allocations: 3.146 MB / 1.027 GB, free: 10.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004429/1.329, allocations: 0.764 MB / 1.028 GB, free: 9.477 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/1.349, allocations: 9.002 MB / 1.037 GB, free: 428 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002714/1.352, allocations: 2.648 MB / 1.039 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/1.354, allocations: 315.2 kB / 1.04 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of SimCode: time 2.014e-06/1.354, allocations: 0 / 1.04 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of Templates: time 0.4887/1.842, allocations: 102.2 MB / 1.139 GB, free: 267.4 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