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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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.006179/0.006179, allocations: 101.5 kB / 15.88 MB, free: 5.871 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.001349/0.001349, allocations: 190.8 kB / 16.79 MB, free: 5.816 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.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9348/0.9348, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 60.16 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1749, allocations: 80.92 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.522/0.6969, allocations: 199.7 MB / 0.7794 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.7201, allocations: 15.15 MB / 0.7942 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00485/0.725, allocations: 87.56 kB / 0.7943 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003556/0.7286, allocations: 1.135 MB / 0.7954 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007725/0.7364, allocations: 2.426 MB / 0.7977 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005446/0.7418, allocations: 1.945 MB / 0.7996 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.7519, allocations: 7.365 MB / 0.8068 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008722/0.7606, allocations: 4.922 MB / 0.8116 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004843/0.7655, allocations: 2.195 MB / 0.8138 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007142/0.7727, allocations: 2.938 MB / 0.8166 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001859/0.7746, allocations: 312 kB / 0.8169 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005371/0.7799, allocations: 1.84 MB / 0.8187 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002552/0.7825, allocations: 1.331 MB / 0.82 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005298/0.7878, allocations: 2.362 MB / 0.8223 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008724/0.7966, allocations: 5.987 MB / 0.8282 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.7966, allocations: 0 / 0.8282 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7966, allocations: 0 / 0.8282 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003201/0.797, allocations: 0 / 0.8282 GB, free: 3.488 MB / 0.6387 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.01789/0.8149, allocations: 5.621 MB / 0.8337 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.8149, allocations: 8.031 kB / 0.8337 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.8309, allocations: 2.997 MB / 0.8366 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006491/0.8375, allocations: 2.683 MB / 0.8392 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/0.8377, allocations: 312.2 kB / 0.8395 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001104/0.8389, allocations: 407.9 kB / 0.8399 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.8535, allocations: 6.226 MB / 0.846 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-05/0.8537, allocations: 0 / 0.846 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004659/0.8541, allocations: 168 kB / 0.8462 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.8543, allocations: 151.9 kB / 0.8463 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/0.8725, allocations: 7.321 MB / 0.8535 GB, free: 9.312 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.3405/1.213, allocations: 18.86 MB / 0.8719 GB, free: 208 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008966/1.222, allocations: 4.815 MB / 0.8766 GB, free: 206.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005479/1.228, allocations: 3.159 MB / 0.8797 GB, free: 205.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008956/1.228, allocations: 0.6983 MB / 0.8803 GB, free: 204.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005522/1.234, allocations: 2.932 MB / 0.8832 GB, free: 203.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 5.63e-06/1.234, allocations: 3.469 kB / 0.8832 GB, free: 203.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.04045/1.274, allocations: 16.25 MB / 0.8991 GB, free: 198.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.275, allocations: 221.7 kB / 0.8993 GB, free: 198.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005137/1.28, allocations: 2.899 MB / 0.9021 GB, free: 197.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/1.281, allocations: 90.16 kB / 0.9022 GB, free: 197.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001732/1.283, allocations: 1.681 MB / 0.9038 GB, free: 195.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001851/1.284, allocations: 1.151 MB / 0.905 GB, free: 195 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/1.286, allocations: 0.5843 MB / 0.9055 GB, free: 194.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/1.286, allocations: 302.1 kB / 0.9058 GB, free: 194.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005647/1.291, allocations: 2.333 MB / 0.9081 GB, free: 193.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006436/1.298, allocations: 2.686 MB / 0.9107 GB, free: 192.9 MB / 0.67 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.3404/1.638, allocations: 86.7 MB / 0.9954 GB, free: 124.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/1.638, allocations: 0 / 0.9954 GB, free: 124.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01441/1.653, allocations: 6.207 MB / 1.001 GB, free: 118.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/1.653, allocations: 33.7 kB / 1.001 GB, free: 118.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/1.653, allocations: 7.375 kB / 1.001 GB, free: 118.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/1.655, allocations: 0.8279 MB / 1.002 GB, free: 117.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004781/1.659, allocations: 0.8622 MB / 1.003 GB, free: 116.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008383/1.668, allocations: 6.944 MB / 1.01 GB, free: 109.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005149/1.673, allocations: 483.2 kB / 1.01 GB, free: 109.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008715/1.674, allocations: 127.9 kB / 1.011 GB, free: 109.2 MB / 0.67 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.002938/1.677, allocations: 1.139 MB / 1.012 GB, free: 108.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.678, allocations: 343.8 kB / 1.012 GB, free: 107.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/1.691, allocations: 6.768 MB / 1.019 GB, free: 100.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/1.691, allocations: 40 kB / 1.019 GB, free: 100.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.691, allocations: 8 kB / 1.019 GB, free: 100.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01105/1.703, allocations: 5.915 MB / 1.024 GB, free: 94.84 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02045/1.723, allocations: 11.73 MB / 1.036 GB, free: 83.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.723, allocations: 4 kB / 1.036 GB, free: 83.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004112/1.727, allocations: 0.8507 MB / 1.037 GB, free: 82.17 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/1.729, allocations: 0.7019 MB / 1.037 GB, free: 81.46 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000513/1.729, allocations: 95.92 kB / 1.037 GB, free: 81.37 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008488/1.738, allocations: 9.192 MB / 1.046 GB, free: 71.78 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.738, allocations: 7.938 kB / 1.046 GB, free: 71.77 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/1.757, allocations: 9.799 MB / 1.056 GB, free: 61.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/1.76, allocations: 0.9105 MB / 1.057 GB, free: 60.91 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000911/1.761, allocations: 87.78 kB / 1.057 GB, free: 60.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004018/1.765, allocations: 471.7 kB / 1.057 GB, free: 60.36 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006096/1.765, allocations: 246.3 kB / 1.058 GB, free: 60.12 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002713/1.766, allocations: 124 kB / 1.058 GB, free: 60 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002737/1.768, allocations: 2.107 MB / 1.06 GB, free: 57.89 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/1.768, allocations: 0 / 1.06 GB, free: 57.89 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004229/1.773, allocations: 1.11 MB / 1.061 GB, free: 56.8 MB / 0.67 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.002559/1.775, allocations: 1.064 MB / 1.062 GB, free: 56.17 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01208/1.787, allocations: 5.915 MB / 1.068 GB, free: 50.21 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.787, allocations: 7.938 kB / 1.068 GB, free: 50.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006533/1.794, allocations: 3.518 MB / 1.071 GB, free: 46.65 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005031/1.799, allocations: 0.976 MB / 1.072 GB, free: 45.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.816, allocations: 11.75 MB / 1.084 GB, free: 33.87 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/1.818, allocations: 2.857 MB / 1.086 GB, free: 30.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/1.821, allocations: 347.2 kB / 1.087 GB, free: 30.65 MB / 0.67 GB Notification: Performance of SimCode: time 1.683e-06/1.821, allocations: 3.938 kB / 1.087 GB, free: 30.64 MB / 0.67 GB Notification: Performance of Templates: time 0.4364/2.257, allocations: 103 MB / 1.187 GB, free: 173 MB / 0.67 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++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.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:619:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[485] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:615:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[481] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:620:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[486] ^ ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:617: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