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.001242/0.001242, allocations: 111.5 kB / 16.37 MB, free: 6.344 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.001182/0.001183, allocations: 192.1 kB / 17.3 MB, free: 5.898 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7131/0.7131, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 66.95 kB / 0.5862 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1294, allocations: 80.92 MB / 0.6652 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4603/0.5897, allocations: 163.1 MB / 0.8245 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02902/0.6187, allocations: 27.45 MB / 0.8513 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.6218, allocations: 85.53 kB / 0.8514 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.6241, allocations: 1.133 MB / 0.8525 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004863/0.6289, allocations: 1.878 MB / 0.8543 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.6332, allocations: 1.992 MB / 0.8563 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005941/0.6392, allocations: 5.861 MB / 0.862 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005215/0.6444, allocations: 4.879 MB / 0.8667 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003585/0.648, allocations: 2.304 MB / 0.869 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003552/0.6516, allocations: 2.822 MB / 0.8718 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008854/0.6525, allocations: 0.5195 MB / 0.8723 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.6546, allocations: 1.148 MB / 0.8734 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.6557, allocations: 1.355 MB / 0.8747 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002444/0.6581, allocations: 2.395 MB / 0.877 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006839/0.665, allocations: 6.745 MB / 0.8836 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.665, allocations: 0 / 0.8836 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.665, allocations: 4 kB / 0.8836 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000132/0.6652, allocations: 0 / 0.8836 GB, free: 15.52 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.0092/0.6744, allocations: 5.11 MB / 0.8886 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.6744, allocations: 13.05 kB / 0.8886 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/0.6872, allocations: 2.834 MB / 0.8914 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004611/0.6918, allocations: 2.539 MB / 0.8939 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.692, allocations: 283.5 kB / 0.8942 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006437/0.6927, allocations: 364 kB / 0.8945 GB, free: 4.234 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.7035, allocations: 5.732 MB / 0.9001 GB, free: 14.44 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.875e-05/0.7036, allocations: 0 / 0.9001 GB, free: 14.44 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/0.704, allocations: 156 kB / 0.9002 GB, free: 14.29 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.623e-05/0.704, allocations: 91.94 kB / 0.9003 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/0.7188, allocations: 6.869 MB / 0.907 GB, free: 7.32 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.02552/0.7444, allocations: 17.25 MB / 0.9239 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008472/0.7529, allocations: 4.484 MB / 0.9283 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005211/0.7581, allocations: 2.943 MB / 0.9311 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008155/0.7589, allocations: 0.6738 MB / 0.9318 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005144/0.7641, allocations: 2.726 MB / 0.9345 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=315): time 4.438e-06/0.7641, allocations: 0 / 0.9345 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=315): time 0.02272/0.7868, allocations: 9.694 MB / 0.9439 GB, free: 500 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.787, allocations: 222.3 kB / 0.9441 GB, free: 232 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/0.7903, allocations: 2.658 MB / 0.9467 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004591/0.7907, allocations: 81.7 kB / 0.9468 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.7919, allocations: 1.538 MB / 0.9483 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009584/0.7929, allocations: 1.051 MB / 0.9493 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008958/0.7938, allocations: 0.5369 MB / 0.9499 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.7939, allocations: 309.1 kB / 0.9502 GB, free: 10 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004601/0.7985, allocations: 2.176 MB / 0.9523 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004877/0.8034, allocations: 2.529 MB / 0.9547 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009493/0.8129, allocations: 4.704 MB / 0.9593 GB, free: 440 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.8129, allocations: 4 kB / 0.9593 GB, free: 436 kB / 0.7169 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01184/0.8248, allocations: 5.804 MB / 0.965 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.8248, allocations: 4 kB / 0.965 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.8249, allocations: 8.094 kB / 0.965 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.8265, allocations: 0.8473 MB / 0.9659 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/0.8303, allocations: 0.8034 MB / 0.9666 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009447/0.8398, allocations: 7.557 MB / 0.974 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/0.8436, allocations: 0.5689 MB / 0.9746 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/0.8439, allocations: 119.9 kB / 0.9747 GB, free: 0.5117 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.001855/0.8458, allocations: 1.033 MB / 0.9757 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006411/0.8465, allocations: 304.2 kB / 0.976 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/0.8595, allocations: 6.38 MB / 0.9822 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.8595, allocations: 28 kB / 0.9822 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.8595, allocations: 12 kB / 0.9823 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-05/0.8596, allocations: 15.94 kB / 0.9823 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.8778, allocations: 10.72 MB / 0.9927 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.8779, allocations: 0 / 0.9927 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003562/0.8814, allocations: 0.7644 MB / 0.9935 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.8831, allocations: 0.738 MB / 0.9942 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/0.8834, allocations: 83.94 kB / 0.9943 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/0.894, allocations: 10.66 MB / 1.005 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.8941, allocations: 3.938 kB / 1.005 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01784/0.9119, allocations: 9.076 MB / 1.014 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/0.9136, allocations: 0.8947 MB / 1.014 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004438/0.9141, allocations: 72.09 kB / 1.015 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/0.9169, allocations: 409.1 kB / 1.015 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/0.9174, allocations: 210.3 kB / 1.015 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/0.9176, allocations: 107.9 kB / 1.015 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002757/0.9204, allocations: 1.932 MB / 1.017 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9204, allocations: 3.938 kB / 1.017 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003207/0.9236, allocations: 1.219 MB / 1.018 GB, free: 3.09 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.002252/0.9259, allocations: 1.034 MB / 1.019 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01149/0.9374, allocations: 5.524 MB / 1.025 GB, free: 12.83 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.9374, allocations: 4.688 kB / 1.025 GB, free: 12.83 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006305/0.9437, allocations: 3.321 MB / 1.028 GB, free: 9.465 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/0.9471, allocations: 0.7617 MB / 1.029 GB, free: 8.734 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.9617, allocations: 8.888 MB / 1.037 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/0.9638, allocations: 2.621 MB / 1.04 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/0.9656, allocations: 319.2 kB / 1.04 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of SimCode: time 5.91e-07/0.9656, allocations: 4 kB / 1.04 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of Templates: time 0.3652/1.331, allocations: 101.7 MB / 1.14 GB, free: 267.8 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