Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001161/0.001161, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001166/0.001166, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8062/0.8062, allocations: 132.2 MB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 55.91 kB / 0.5024 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3963, allocations: 80.19 MB / 0.5807 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5737/0.97, allocations: 202.1 MB / 0.7781 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0266/0.9967, allocations: 15.13 MB / 0.7929 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006437/1.003, allocations: 92 kB / 0.7929 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00369/1.007, allocations: 1.3 MB / 0.7942 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009393/1.016, allocations: 2.65 MB / 0.7968 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006261/1.023, allocations: 2.191 MB / 0.7989 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01108/1.034, allocations: 6.663 MB / 0.8054 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00872/1.042, allocations: 5.53 MB / 0.8108 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007051/1.05, allocations: 2.607 MB / 0.8134 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007228/1.057, allocations: 3.099 MB / 0.8164 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001775/1.059, allocations: 0.5702 MB / 0.817 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005666/1.064, allocations: 1.912 MB / 0.8188 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001851/1.066, allocations: 1.615 MB / 0.8204 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004023/1.07, allocations: 2.652 MB / 0.823 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/1.082, allocations: 7.631 MB / 0.8305 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.082, allocations: 2.812 kB / 0.8305 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.312e-06/1.082, allocations: 4 kB / 0.8305 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002596/1.082, allocations: 0 / 0.8305 GB, free: 8.074 MB / 0.5919 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.01399/1.096, allocations: 5.62 MB / 0.836 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/1.096, allocations: 10.34 kB / 0.836 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/1.112, allocations: 2.997 MB / 0.8389 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007123/1.119, allocations: 2.679 MB / 0.8415 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/1.119, allocations: 316.2 kB / 0.8418 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/1.121, allocations: 404 kB / 0.8422 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/1.14, allocations: 6.223 MB / 0.8483 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001472/1.14, allocations: 6.562 kB / 0.8483 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/1.141, allocations: 176 kB / 0.8484 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/1.142, allocations: 140 kB / 0.8486 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02017/1.162, allocations: 7.33 MB / 0.8557 GB, free: 140 kB / 0.6075 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.04239/1.204, allocations: 18.89 MB / 0.8742 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/1.216, allocations: 4.819 MB / 0.8789 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007066/1.223, allocations: 3.171 MB / 0.882 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.224, allocations: 0.7005 MB / 0.8827 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007658/1.232, allocations: 2.924 MB / 0.8855 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=345): time 6.041e-06/1.232, allocations: 4 kB / 0.8855 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of matching and sorting (n=347): time 0.04876/1.281, allocations: 16.23 MB / 0.9014 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/1.281, allocations: 225.2 kB / 0.9016 GB, free: 448 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005335/1.286, allocations: 2.899 MB / 0.9044 GB, free: 13.52 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007299/1.287, allocations: 89.7 kB / 0.9045 GB, free: 13.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.289, allocations: 1.679 MB / 0.9062 GB, free: 11.73 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001657/1.29, allocations: 1.151 MB / 0.9073 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001927/1.292, allocations: 0.5807 MB / 0.9078 GB, free: 10 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.293, allocations: 301.1 kB / 0.9081 GB, free: 9.707 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006035/1.299, allocations: 2.34 MB / 0.9104 GB, free: 7.363 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00628/1.305, allocations: 2.688 MB / 0.913 GB, free: 4.613 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.3868/1.692, allocations: 86.73 MB / 0.9977 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/1.692, allocations: 3.938 kB / 0.9977 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01962/1.711, allocations: 6.202 MB / 1.004 GB, free: 7.504 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.085e-05/1.711, allocations: 33.7 kB / 1.004 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.712, allocations: 4 kB / 1.004 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002026/1.714, allocations: 0.8357 MB / 1.005 GB, free: 6.621 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005297/1.719, allocations: 0.8648 MB / 1.005 GB, free: 5.785 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.731, allocations: 7.499 MB / 1.013 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005397/1.737, allocations: 444.8 kB / 1.013 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/1.738, allocations: 131.9 kB / 1.013 GB, free: 13.61 MB / 0.7794 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.004102/1.742, allocations: 1.141 MB / 1.014 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/1.744, allocations: 339.8 kB / 1.015 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02064/1.764, allocations: 6.777 MB / 1.021 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.835e-05/1.764, allocations: 36 kB / 1.021 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/1.764, allocations: 8 kB / 1.021 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01708/1.781, allocations: 5.927 MB / 1.027 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0323/1.814, allocations: 11.72 MB / 1.039 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-05/1.814, allocations: 4 kB / 1.039 GB, free: 3.527 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005305/1.819, allocations: 0.8551 MB / 1.04 GB, free: 2.699 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/1.821, allocations: 0.7006 MB / 1.04 GB, free: 1.992 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009677/1.822, allocations: 99.92 kB / 1.04 GB, free: 1.895 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3604/2.183, allocations: 10.06 MB / 1.05 GB, free: 366.3 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/2.183, allocations: 7.25 kB / 1.05 GB, free: 366.3 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0231/2.206, allocations: 9.803 MB / 1.06 GB, free: 363 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002375/2.208, allocations: 0.9108 MB / 1.061 GB, free: 362.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000656/2.209, allocations: 82.77 kB / 1.061 GB, free: 362.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003461/2.212, allocations: 425.1 kB / 1.061 GB, free: 362.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000592/2.213, allocations: 258.1 kB / 1.061 GB, free: 362.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002706/2.213, allocations: 119.2 kB / 1.061 GB, free: 362.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002704/2.216, allocations: 2.105 MB / 1.064 GB, free: 361.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/2.216, allocations: 0 / 1.064 GB, free: 361.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00326/2.219, allocations: 1.099 MB / 1.065 GB, free: 361.6 MB / 0.795 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.002486/2.222, allocations: 1.059 MB / 1.066 GB, free: 361.4 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02525/2.247, allocations: 10.37 MB / 1.076 GB, free: 355.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.247, allocations: 0 / 1.076 GB, free: 355.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007754/2.255, allocations: 3.535 MB / 1.079 GB, free: 352.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006548/2.261, allocations: 1.032 MB / 1.08 GB, free: 351.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/2.281, allocations: 9.945 MB / 1.09 GB, free: 341.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00313/2.284, allocations: 2.862 MB / 1.093 GB, free: 339 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002749/2.286, allocations: 351.1 kB / 1.093 GB, free: 338.7 MB / 0.795 GB Notification: Performance of SimCode: time 8.02e-07/2.286, allocations: 0 / 1.093 GB, free: 338.7 MB / 0.795 GB Notification: Performance of Templates: time 0.11/2.396, allocations: 103 MB / 1.194 GB, free: 235.9 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.o OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp:17: ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:618:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[485] ^ ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:614:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[481] ^ ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:619:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[486] ^ ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:616:13: note: previous definition is here #define _const1_P_y_ _pointerToRealVars[483] ^ In file included from OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.o] Error 1