Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001303/0.001303, allocations: 187 kB / 17.34 MB, free: 5.754 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8838/0.8838, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 57.81 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1796, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.701/0.8806, allocations: 202.1 MB / 0.8627 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0257/0.9063, allocations: 15.13 MB / 0.8774 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005524/0.9119, allocations: 95.5 kB / 0.8775 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.916, allocations: 1.301 MB / 0.8788 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008924/0.925, allocations: 2.646 MB / 0.8814 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00642/0.9314, allocations: 2.2 MB / 0.8835 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01058/0.942, allocations: 6.694 MB / 0.8901 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.9523, allocations: 5.533 MB / 0.8955 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00596/0.9583, allocations: 2.644 MB / 0.8981 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006854/0.9651, allocations: 3.1 MB / 0.9011 GB, free: 13.65 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003579/0.9688, allocations: 0.5703 MB / 0.9016 GB, free: 13.08 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007017/0.9758, allocations: 1.946 MB / 0.9035 GB, free: 11.13 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003069/0.9789, allocations: 1.609 MB / 0.9051 GB, free: 9.52 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.006105/0.985, allocations: 2.647 MB / 0.9077 GB, free: 6.859 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.9989, allocations: 7.762 MB / 0.9153 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.999, allocations: 0 / 0.9153 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.965e-06/0.999, allocations: 0 / 0.9153 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003213/0.9993, allocations: 0 / 0.9153 GB, free: 15.07 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01816/1.017, allocations: 5.632 MB / 0.9208 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.062e-05/1.018, allocations: 9.109 kB / 0.9208 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/1.034, allocations: 2.993 MB / 0.9237 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008234/1.042, allocations: 2.741 MB / 0.9264 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/1.042, allocations: 312.2 kB / 0.9267 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001863/1.044, allocations: 404 kB / 0.9271 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/1.063, allocations: 6.215 MB / 0.9331 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001513/1.063, allocations: 11.92 kB / 0.9331 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001197/1.064, allocations: 168 kB / 0.9333 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/1.064, allocations: 144 kB / 0.9334 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01975/1.084, allocations: 7.325 MB / 0.9406 GB, free: 4.832 MB / 0.7012 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.04144/1.126, allocations: 18.76 MB / 0.9589 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/1.137, allocations: 4.808 MB / 0.9636 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007197/1.145, allocations: 3.175 MB / 0.9667 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/1.146, allocations: 0.6897 MB / 0.9674 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007441/1.153, allocations: 2.94 MB / 0.9703 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 6.853e-06/1.153, allocations: 0 / 0.9703 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.04678/1.2, allocations: 16.24 MB / 0.9861 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/1.2, allocations: 226.6 kB / 0.9863 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005463/1.206, allocations: 2.892 MB / 0.9892 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005677/1.207, allocations: 89.7 kB / 0.9892 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/1.208, allocations: 1.676 MB / 0.9909 GB, free: 136 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001475/1.21, allocations: 1.151 MB / 0.992 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/1.212, allocations: 0.5884 MB / 0.9926 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/1.212, allocations: 305.1 kB / 0.9929 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005617/1.217, allocations: 2.332 MB / 0.9951 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005924/1.223, allocations: 2.689 MB / 0.9978 GB, free: 8.977 MB / 0.7637 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.8357/2.059, allocations: 86.69 MB / 1.082 GB, free: 314.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/2.059, allocations: 1.125 kB / 1.082 GB, free: 314.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01565/2.075, allocations: 6.198 MB / 1.088 GB, free: 313 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/2.075, allocations: 32.64 kB / 1.089 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/2.075, allocations: 4.469 kB / 1.089 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/2.077, allocations: 0.8364 MB / 1.089 GB, free: 312.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004812/2.081, allocations: 0.8655 MB / 1.09 GB, free: 312.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/2.092, allocations: 7.489 MB / 1.097 GB, free: 308.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/2.097, allocations: 439.9 kB / 1.098 GB, free: 308.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008904/2.098, allocations: 137.8 kB / 1.098 GB, free: 308.5 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.intGai.nextTimeEvent,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 1 * 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.002983/2.101, allocations: 1.131 MB / 1.099 GB, free: 308 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009284/2.102, allocations: 343.8 kB / 1.099 GB, free: 308 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/2.115, allocations: 6.765 MB / 1.106 GB, free: 305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/2.115, allocations: 35.75 kB / 1.106 GB, free: 305 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/2.115, allocations: 10.62 kB / 1.106 GB, free: 305 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01148/2.127, allocations: 5.916 MB / 1.112 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02139/2.148, allocations: 11.73 MB / 1.123 GB, free: 292.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/2.148, allocations: 4 kB / 1.123 GB, free: 292.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004002/2.152, allocations: 0.8542 MB / 1.124 GB, free: 291.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/2.154, allocations: 0.6942 MB / 1.125 GB, free: 290.9 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003875/2.154, allocations: 95.94 kB / 1.125 GB, free: 290.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008755/2.163, allocations: 10.06 MB / 1.135 GB, free: 280.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.163, allocations: 4 kB / 1.135 GB, free: 280.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/2.181, allocations: 9.805 MB / 1.144 GB, free: 270.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/2.183, allocations: 0.9125 MB / 1.145 GB, free: 269.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007455/2.184, allocations: 82 kB / 1.145 GB, free: 269.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003442/2.187, allocations: 431.3 kB / 1.146 GB, free: 269.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005229/2.188, allocations: 250.3 kB / 1.146 GB, free: 268.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/2.188, allocations: 119.9 kB / 1.146 GB, free: 268.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002306/2.19, allocations: 2.103 MB / 1.148 GB, free: 266.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/2.191, allocations: 0 / 1.148 GB, free: 266.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002972/2.193, allocations: 1.101 MB / 1.149 GB, free: 265.5 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002265/2.196, allocations: 1.071 MB / 1.15 GB, free: 264.9 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01092/2.207, allocations: 5.947 MB / 1.156 GB, free: 258.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/2.207, allocations: 3.391 kB / 1.156 GB, free: 258.9 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005926/2.213, allocations: 3.522 MB / 1.16 GB, free: 255.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004585/2.217, allocations: 1.025 MB / 1.161 GB, free: 254.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/2.232, allocations: 9.855 MB / 1.17 GB, free: 244.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/2.234, allocations: 2.85 MB / 1.173 GB, free: 241.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002371/2.237, allocations: 347.2 kB / 1.173 GB, free: 241.3 MB / 0.8262 GB Notification: Performance of SimCode: time 1.883e-06/2.237, allocations: 0 / 1.173 GB, free: 241.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.1045/2.341, allocations: 104 MB / 1.275 GB, free: 137.3 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.o OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp:17: ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:618:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[485] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:614:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[481] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:619:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[486] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:616:13: note: previous definition is here #define _const1_P_y_ _pointerToRealVars[483] ^ In file included from OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceFunctions.cpp:8: /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.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.o] Error 1