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.001099/0.001099, allocations: 100.1 kB / 15.88 MB, free: 12 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.001083/0.001083, allocations: 196.9 kB / 16.79 MB, free: 6.809 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.344/1.344, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9267/0.9267, allocations: 135.1 MB / 425.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.09 kB / 0.5053 GB, free: 5.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1662, allocations: 80.92 MB / 0.5843 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4723/0.6386, allocations: 160.7 MB / 0.7413 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03734/0.676, allocations: 27.26 MB / 0.7679 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005422/0.6815, allocations: 75.62 kB / 0.768 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003679/0.6852, allocations: 0.9954 MB / 0.7689 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006709/0.692, allocations: 1.711 MB / 0.7706 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005886/0.6979, allocations: 1.762 MB / 0.7723 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008849/0.7067, allocations: 6.157 MB / 0.7783 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00627/0.713, allocations: 4.352 MB / 0.7826 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00427/0.7173, allocations: 1.911 MB / 0.7844 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004697/0.7221, allocations: 2.658 MB / 0.787 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008315/0.7229, allocations: 288 kB / 0.7873 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.7255, allocations: 0.878 MB / 0.7882 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.7265, allocations: 1.109 MB / 0.7893 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.729, allocations: 2.129 MB / 0.7913 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.7342, allocations: 5.235 MB / 0.7965 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7342, allocations: 4 kB / 0.7965 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7342, allocations: 0 / 0.7965 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001404/0.7344, allocations: 0 / 0.7965 GB, free: 4.035 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.01075/0.7451, allocations: 5.1 MB / 0.8014 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.7452, allocations: 8.031 kB / 0.8014 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/0.7594, allocations: 2.838 MB / 0.8042 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/0.7651, allocations: 2.512 MB / 0.8067 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.7653, allocations: 283.5 kB / 0.8069 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007415/0.7661, allocations: 371.9 kB / 0.8073 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.7797, allocations: 5.724 MB / 0.8129 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.031e-05/0.7798, allocations: 0 / 0.8129 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004188/0.7802, allocations: 152 kB / 0.813 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/0.7803, allocations: 95.94 kB / 0.8131 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/0.796, allocations: 6.862 MB / 0.8198 GB, free: 11.88 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.03065/0.8267, allocations: 17.37 MB / 0.8368 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009151/0.8359, allocations: 4.481 MB / 0.8412 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005661/0.8416, allocations: 2.951 MB / 0.844 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000964/0.8426, allocations: 0.6738 MB / 0.8447 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006061/0.8486, allocations: 2.729 MB / 0.8474 GB, free: 14.74 MB / 0.67 GB Notification: Performance of pre-optimization done (n=315): time 6.131e-06/0.8487, allocations: 4 kB / 0.8474 GB, free: 14.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=315): time 0.02568/0.8744, allocations: 9.69 MB / 0.8568 GB, free: 4.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.8745, allocations: 218.4 kB / 0.857 GB, free: 4.652 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/0.8799, allocations: 2.654 MB / 0.8596 GB, free: 1.984 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007043/0.8806, allocations: 81.7 kB / 0.8597 GB, free: 1.898 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001778/0.8824, allocations: 1.538 MB / 0.8612 GB, free: 352 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.3482/1.231, allocations: 1.046 MB / 0.8622 GB, free: 215.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/1.232, allocations: 0.5413 MB / 0.8628 GB, free: 215.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.346e-05/1.232, allocations: 301.1 kB / 0.863 GB, free: 214.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004394/1.236, allocations: 2.184 MB / 0.8652 GB, free: 214.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/1.241, allocations: 2.524 MB / 0.8676 GB, free: 214.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009377/1.25, allocations: 4.701 MB / 0.8722 GB, free: 212.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/1.25, allocations: 6.562 kB / 0.8722 GB, free: 212.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01228/1.263, allocations: 5.801 MB / 0.8779 GB, free: 211 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/1.263, allocations: 9.844 kB / 0.8779 GB, free: 211 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.263, allocations: 10.12 kB / 0.8779 GB, free: 211 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/1.264, allocations: 0.8414 MB / 0.8787 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003725/1.268, allocations: 0.8057 MB / 0.8795 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008559/1.277, allocations: 7 MB / 0.8864 GB, free: 206.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/1.281, allocations: 0.5851 MB / 0.8869 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004407/1.281, allocations: 125.1 kB / 0.8871 GB, free: 206.6 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.001996/1.283, allocations: 1.024 MB / 0.8881 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006933/1.284, allocations: 313.5 kB / 0.8884 GB, free: 206 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/1.298, allocations: 6.386 MB / 0.8946 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/1.298, allocations: 39.02 kB / 0.8946 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/1.298, allocations: 9.594 kB / 0.8946 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-05/1.299, allocations: 14.48 kB / 0.8947 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/1.322, allocations: 10.71 MB / 0.9051 GB, free: 199.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/1.322, allocations: 5.25 kB / 0.9051 GB, free: 199.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004184/1.326, allocations: 0.7676 MB / 0.9059 GB, free: 199.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002103/1.328, allocations: 0.7392 MB / 0.9066 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004596/1.328, allocations: 85.56 kB / 0.9067 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/1.339, allocations: 9.793 MB / 0.9162 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.339, allocations: 0.9688 kB / 0.9162 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/1.36, allocations: 9.074 MB / 0.9251 GB, free: 189.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002178/1.362, allocations: 0.8986 MB / 0.926 GB, free: 188.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000597/1.363, allocations: 67.69 kB / 0.926 GB, free: 188.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00307/1.366, allocations: 424.4 kB / 0.9264 GB, free: 188.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005716/1.366, allocations: 215.2 kB / 0.9266 GB, free: 188.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/1.367, allocations: 107.7 kB / 0.9268 GB, free: 188.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002628/1.369, allocations: 1.924 MB / 0.9286 GB, free: 188 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.369, allocations: 0.5469 kB / 0.9286 GB, free: 188 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003804/1.373, allocations: 1.233 MB / 0.9298 GB, free: 187.7 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.002434/1.376, allocations: 1.039 MB / 0.9308 GB, free: 187.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01088/1.387, allocations: 5.503 MB / 0.9362 GB, free: 185.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.387, allocations: 1.406 kB / 0.9362 GB, free: 185.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006018/1.393, allocations: 3.323 MB / 0.9395 GB, free: 183.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003624/1.396, allocations: 0.7131 MB / 0.9402 GB, free: 182.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/1.411, allocations: 10.63 MB / 0.9505 GB, free: 171.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/1.412, allocations: 2.632 MB / 0.9531 GB, free: 169.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/1.414, allocations: 323.1 kB / 0.9534 GB, free: 168.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.153e-06/1.414, allocations: 0 / 0.9534 GB, free: 168.8 MB / 0.67 GB Notification: Performance of Templates: time 0.09301/1.507, allocations: 101.6 MB / 1.053 GB, free: 67.27 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