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.001625/0.001625, allocations: 107.8 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.001347/0.001347, allocations: 185.6 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8421/0.8421, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.53 kB / 0.5864 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1926, allocations: 80.93 MB / 0.6654 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.7025/0.8951, allocations: 202.6 MB / 0.8633 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02745/0.9225, allocations: 15.15 MB / 0.8781 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005477/0.928, allocations: 91.56 kB / 0.8781 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004246/0.9322, allocations: 1.344 MB / 0.8795 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009409/0.9416, allocations: 2.72 MB / 0.8821 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006643/0.9483, allocations: 2.194 MB / 0.8843 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0114/0.9597, allocations: 6.695 MB / 0.8908 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007405/0.9671, allocations: 4.549 MB / 0.8952 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/0.9721, allocations: 2.656 MB / 0.8978 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006249/0.9784, allocations: 3.104 MB / 0.9009 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001482/0.9799, allocations: 0.5703 MB / 0.9014 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005147/0.985, allocations: 1.946 MB / 0.9033 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.987, allocations: 1.636 MB / 0.9049 GB, free: 9.773 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004136/0.9911, allocations: 2.651 MB / 0.9075 GB, free: 7.109 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/1.004, allocations: 7.785 MB / 0.9151 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.004, allocations: 3.938 kB / 0.9151 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.134e-06/1.004, allocations: 4 kB / 0.9151 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002451/1.004, allocations: 0 / 0.9151 GB, free: 15.29 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.01732/1.021, allocations: 5.77 MB / 0.9207 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.021, allocations: 9.109 kB / 0.9208 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/1.037, allocations: 3.016 MB / 0.9237 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006657/1.044, allocations: 2.763 MB / 0.9264 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/1.044, allocations: 316.2 kB / 0.9267 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/1.045, allocations: 400 kB / 0.9271 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/1.06, allocations: 6.222 MB / 0.9332 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.58e-05/1.06, allocations: 7.953 kB / 0.9332 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004645/1.06, allocations: 168 kB / 0.9333 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001406/1.061, allocations: 144 kB / 0.9335 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/1.079, allocations: 7.333 MB / 0.9406 GB, free: 4.855 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.03876/1.118, allocations: 18.8 MB / 0.959 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/1.129, allocations: 4.523 MB / 0.9634 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006731/1.135, allocations: 2.921 MB / 0.9662 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/1.137, allocations: 0.7014 MB / 0.9669 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00699/1.144, allocations: 2.928 MB / 0.9698 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 5.771e-06/1.144, allocations: 0 / 0.9698 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.044/1.188, allocations: 16.27 MB / 0.9857 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/1.188, allocations: 222.7 kB / 0.9859 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004447/1.192, allocations: 2.896 MB / 0.9887 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0007722/1.193, allocations: 93.64 kB / 0.9888 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001794/1.195, allocations: 1.715 MB / 0.9905 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/1.197, allocations: 1.212 MB / 0.9917 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/1.198, allocations: 0.5885 MB / 0.9923 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.198, allocations: 301.1 kB / 0.9925 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005792/1.204, allocations: 2.332 MB / 0.9948 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006345/1.21, allocations: 2.687 MB / 0.9974 GB, free: 9.375 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.756/1.966, allocations: 86.68 MB / 1.082 GB, free: 314.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/1.966, allocations: 1.5 kB / 1.082 GB, free: 314.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01521/1.981, allocations: 6.183 MB / 1.088 GB, free: 312.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/1.981, allocations: 32.05 kB / 1.088 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.981, allocations: 4.688 kB / 1.088 GB, free: 312.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/1.983, allocations: 0.8297 MB / 1.089 GB, free: 312.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0046/1.988, allocations: 0.8692 MB / 1.09 GB, free: 312.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009434/1.997, allocations: 7.503 MB / 1.097 GB, free: 308.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004576/2.002, allocations: 443.3 kB / 1.098 GB, free: 308.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007392/2.003, allocations: 129.8 kB / 1.098 GB, free: 308.2 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.002556/2.005, allocations: 1.138 MB / 1.099 GB, free: 307.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008838/2.006, allocations: 360.5 kB / 1.099 GB, free: 307.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/2.02, allocations: 6.723 MB / 1.106 GB, free: 304.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-05/2.02, allocations: 35.44 kB / 1.106 GB, free: 304.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/2.02, allocations: 17.23 kB / 1.106 GB, free: 304.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01173/2.031, allocations: 5.878 MB / 1.112 GB, free: 301.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/2.053, allocations: 11.69 MB / 1.123 GB, free: 292.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/2.053, allocations: 4 kB / 1.123 GB, free: 292.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003963/2.057, allocations: 0.8599 MB / 1.124 GB, free: 291.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001424/2.058, allocations: 0.7008 MB / 1.124 GB, free: 291.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004027/2.059, allocations: 91.94 kB / 1.125 GB, free: 291.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008797/2.068, allocations: 10.07 MB / 1.134 GB, free: 280.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.068, allocations: 4 kB / 1.134 GB, free: 280.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/2.086, allocations: 9.791 MB / 1.144 GB, free: 270.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00218/2.088, allocations: 0.9346 MB / 1.145 GB, free: 269.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007588/2.089, allocations: 90.73 kB / 1.145 GB, free: 269.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003433/2.092, allocations: 424.3 kB / 1.145 GB, free: 269.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000567/2.093, allocations: 254.3 kB / 1.146 GB, free: 269.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002687/2.093, allocations: 119.9 kB / 1.146 GB, free: 269 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002472/2.096, allocations: 2.107 MB / 1.148 GB, free: 266.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/2.096, allocations: 0 / 1.148 GB, free: 266.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003359/2.099, allocations: 1.102 MB / 1.149 GB, free: 265.8 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.003512/2.102, allocations: 1.062 MB / 1.15 GB, free: 265.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01161/2.114, allocations: 5.742 MB / 1.155 GB, free: 259.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/2.114, allocations: 0 / 1.155 GB, free: 259.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006459/2.12, allocations: 3.346 MB / 1.159 GB, free: 256 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004901/2.125, allocations: 1.03 MB / 1.16 GB, free: 255.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/2.142, allocations: 9.984 MB / 1.169 GB, free: 245 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/2.143, allocations: 2.861 MB / 1.172 GB, free: 242.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/2.146, allocations: 339.2 kB / 1.173 GB, free: 241.8 MB / 0.8262 GB Notification: Performance of SimCode: time 9.72e-07/2.146, allocations: 0 / 1.173 GB, free: 241.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.1058/2.251, allocations: 103.6 MB / 1.274 GB, free: 138.2 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