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=336,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,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.001615/0.001615, allocations: 106.5 kB / 16.41 MB, free: 6.48 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.001719/0.001719, allocations: 191 kB / 17.34 MB, free: 5.75 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8127/0.8127, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001268, allocations: 68.03 kB / 0.582 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1829, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6894/0.8724, allocations: 202.1 MB / 0.8577 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02681/0.8993, allocations: 15.12 MB / 0.8725 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005408/0.9047, allocations: 95.5 kB / 0.8726 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00417/0.9089, allocations: 1.297 MB / 0.8738 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009503/0.9185, allocations: 2.651 MB / 0.8764 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006883/0.9254, allocations: 2.193 MB / 0.8786 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01045/0.9358, allocations: 6.701 MB / 0.8851 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009182/0.9451, allocations: 5.523 MB / 0.8905 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.9503, allocations: 2.655 MB / 0.8931 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005387/0.9558, allocations: 3.092 MB / 0.8961 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.9576, allocations: 0.5742 MB / 0.8967 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005165/0.9628, allocations: 1.95 MB / 0.8986 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002579/0.9654, allocations: 1.609 MB / 0.9001 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005314/0.9707, allocations: 2.651 MB / 0.9027 GB, free: 13.6 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.9834, allocations: 7.75 MB / 0.9103 GB, free: 5.832 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.9834, allocations: 0 / 0.9103 GB, free: 5.832 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9834, allocations: 0 / 0.9103 GB, free: 5.832 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002925/0.9837, allocations: 0 / 0.9103 GB, free: 5.832 MB / 0.67 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.01537/0.9991, allocations: 5.632 MB / 0.9158 GB, free: 116 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.9992, allocations: 8.031 kB / 0.9158 GB, free: 108 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/1.014, allocations: 3.001 MB / 0.9187 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006314/1.021, allocations: 2.737 MB / 0.9214 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/1.021, allocations: 308.2 kB / 0.9217 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001529/1.022, allocations: 404 kB / 0.9221 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/1.04, allocations: 6.222 MB / 0.9282 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/1.04, allocations: 7.906 kB / 0.9282 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001106/1.041, allocations: 164 kB / 0.9283 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/1.042, allocations: 151.9 kB / 0.9285 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01869/1.06, allocations: 7.329 MB / 0.9356 GB, free: 11.58 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.03825/1.099, allocations: 18.76 MB / 0.9539 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/1.109, allocations: 4.802 MB / 0.9586 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006721/1.116, allocations: 3.167 MB / 0.9617 GB, free: 92 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/1.117, allocations: 0.6975 MB / 0.9624 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007096/1.125, allocations: 2.944 MB / 0.9653 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 7.544e-06/1.125, allocations: 0 / 0.9653 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.04553/1.17, allocations: 16.24 MB / 0.9811 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/1.17, allocations: 218.7 kB / 0.9814 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005037/1.175, allocations: 2.903 MB / 0.9842 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005502/1.176, allocations: 85.7 kB / 0.9843 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001663/1.178, allocations: 1.68 MB / 0.9859 GB, free: 6.887 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/1.179, allocations: 1.151 MB / 0.987 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/1.181, allocations: 0.5845 MB / 0.9876 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.181, allocations: 309.1 kB / 0.9879 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005429/1.186, allocations: 2.332 MB / 0.9902 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005814/1.192, allocations: 2.693 MB / 0.9928 GB, free: 15.73 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.7967/1.989, allocations: 86.68 MB / 1.077 GB, free: 304 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.989, allocations: 0 / 1.077 GB, free: 304 MB / 0.8106 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01287/2.002, allocations: 6.205 MB / 1.084 GB, free: 301 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.753e-05/2.002, allocations: 37.56 kB / 1.084 GB, free: 301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/2.002, allocations: 3.906 kB / 1.084 GB, free: 301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/2.003, allocations: 0.8273 MB / 1.084 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003814/2.007, allocations: 0.8672 MB / 1.085 GB, free: 300.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009266/2.016, allocations: 7.495 MB / 1.093 GB, free: 295.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/2.021, allocations: 436.8 kB / 1.093 GB, free: 295.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003346/2.021, allocations: 134.6 kB / 1.093 GB, free: 295.1 MB / 0.8106 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.002364/2.023, allocations: 1.14 MB / 1.094 GB, free: 294.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007157/2.024, allocations: 345.3 kB / 1.095 GB, free: 294.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/2.037, allocations: 6.756 MB / 1.101 GB, free: 290 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/2.037, allocations: 36 kB / 1.101 GB, free: 289.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/2.038, allocations: 14.89 kB / 1.101 GB, free: 289.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01058/2.048, allocations: 5.919 MB / 1.107 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/2.067, allocations: 11.72 MB / 1.118 GB, free: 272.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/2.067, allocations: 8.094 kB / 1.118 GB, free: 272.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003779/2.071, allocations: 0.8574 MB / 1.119 GB, free: 271.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/2.073, allocations: 0.698 MB / 1.12 GB, free: 270.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003008/2.073, allocations: 91.94 kB / 1.12 GB, free: 270.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008797/2.082, allocations: 10.04 MB / 1.13 GB, free: 260.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/2.082, allocations: 7.938 kB / 1.13 GB, free: 260.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/2.1, allocations: 9.805 MB / 1.139 GB, free: 250.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/2.103, allocations: 0.916 MB / 1.14 GB, free: 249.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/2.104, allocations: 81.66 kB / 1.14 GB, free: 249.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003898/2.108, allocations: 429.5 kB / 1.141 GB, free: 248.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007182/2.109, allocations: 250.3 kB / 1.141 GB, free: 248.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003585/2.109, allocations: 126.2 kB / 1.141 GB, free: 248.4 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003858/2.113, allocations: 2.103 MB / 1.143 GB, free: 246.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/2.113, allocations: 0 / 1.143 GB, free: 246.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004751/2.118, allocations: 1.096 MB / 1.144 GB, free: 245.2 MB / 0.8106 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.003866/2.122, allocations: 1.067 MB / 1.145 GB, free: 244.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01336/2.135, allocations: 5.942 MB / 1.151 GB, free: 238.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/2.135, allocations: 4 kB / 1.151 GB, free: 238.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006964/2.142, allocations: 3.518 MB / 1.155 GB, free: 235.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006265/2.148, allocations: 1.026 MB / 1.156 GB, free: 234.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/2.168, allocations: 9.859 MB / 1.165 GB, free: 224.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003462/2.171, allocations: 2.86 MB / 1.168 GB, free: 221.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002875/2.174, allocations: 343.2 kB / 1.168 GB, free: 221 MB / 0.8106 GB Notification: Performance of SimCode: time 1.402e-06/2.174, allocations: 0 / 1.168 GB, free: 221 MB / 0.8106 GB Notification: Performance of Templates: time 0.1144/2.288, allocations: 104 MB / 1.27 GB, free: 117 MB / 0.8106 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