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.001527/0.001527, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001701/0.001701, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.401/1.401, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8405/0.8405, allocations: 135.2 MB / 425.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001948, allocations: 67.89 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4426, allocations: 80.92 MB / 0.5846 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6757/1.118, allocations: 199.4 MB / 0.7793 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02373/1.142, allocations: 14.92 MB / 0.7939 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006319/1.148, allocations: 86.88 kB / 0.794 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003576/1.152, allocations: 1.157 MB / 0.7951 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008996/1.161, allocations: 2.43 MB / 0.7975 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00582/1.167, allocations: 1.977 MB / 0.7994 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009745/1.177, allocations: 6.68 MB / 0.8059 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008814/1.186, allocations: 5.519 MB / 0.8113 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005885/1.192, allocations: 2.635 MB / 0.8139 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007536/1.199, allocations: 3.177 MB / 0.817 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001929/1.201, allocations: 0.5703 MB / 0.8176 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006232/1.207, allocations: 1.966 MB / 0.8195 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002052/1.209, allocations: 1.633 MB / 0.8211 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005232/1.215, allocations: 2.66 MB / 0.8237 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009921/1.225, allocations: 6.046 MB / 0.8296 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.225, allocations: 0 / 0.8296 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.515e-06/1.225, allocations: 1.312 kB / 0.8296 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003016/1.225, allocations: 0 / 0.8296 GB, free: 9.348 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.01544/1.24, allocations: 5.63 MB / 0.8351 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.24, allocations: 9.047 kB / 0.8351 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/1.256, allocations: 2.995 MB / 0.838 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006863/1.263, allocations: 2.681 MB / 0.8406 GB, free: 248 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000303/1.263, allocations: 312.4 kB / 0.8409 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/1.264, allocations: 414.4 kB / 0.8413 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/1.28, allocations: 6.22 MB / 0.8474 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.429e-05/1.28, allocations: 3.938 kB / 0.8474 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004834/1.28, allocations: 168 kB / 0.8476 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/1.28, allocations: 148 kB / 0.8477 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/1.299, allocations: 7.319 MB / 0.8548 GB, free: 1.566 MB / 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.04336/1.342, allocations: 18.87 MB / 0.8733 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/1.354, allocations: 4.818 MB / 0.878 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0075/1.362, allocations: 3.167 MB / 0.8811 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/1.363, allocations: 0.6969 MB / 0.8818 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00795/1.371, allocations: 2.931 MB / 0.8846 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=345): time 7.414e-06/1.371, allocations: 0 / 0.8846 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of matching and sorting (n=347): time 0.0501/1.421, allocations: 16.24 MB / 0.9005 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/1.421, allocations: 217.2 kB / 0.9007 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005905/1.427, allocations: 2.907 MB / 0.9035 GB, free: 14.98 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008552/1.428, allocations: 89.7 kB / 0.9036 GB, free: 14.88 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002059/1.43, allocations: 1.683 MB / 0.9053 GB, free: 13.19 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001905/1.432, allocations: 1.151 MB / 0.9064 GB, free: 12.05 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002562/1.435, allocations: 0.5807 MB / 0.9069 GB, free: 11.46 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.435, allocations: 305.1 kB / 0.9072 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006019/1.441, allocations: 2.336 MB / 0.9095 GB, free: 8.816 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006416/1.447, allocations: 2.684 MB / 0.9121 GB, free: 6.07 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.364/1.811, allocations: 86.72 MB / 0.9968 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/1.811, allocations: 3.938 kB / 0.9968 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01545/1.827, allocations: 6.201 MB / 1.003 GB, free: 8.961 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/1.827, allocations: 40.03 kB / 1.003 GB, free: 8.918 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.827, allocations: 4 kB / 1.003 GB, free: 8.914 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/1.829, allocations: 0.8396 MB / 1.004 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004702/1.834, allocations: 0.8666 MB / 1.005 GB, free: 7.234 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/1.846, allocations: 7.5 MB / 1.012 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005286/1.851, allocations: 489.4 kB / 1.012 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008379/1.852, allocations: 131.9 kB / 1.013 GB, free: 15.01 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.003365/1.855, allocations: 1.136 MB / 1.014 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.856, allocations: 343.7 kB / 1.014 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/1.874, allocations: 6.765 MB / 1.021 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-05/1.874, allocations: 40 kB / 1.021 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/1.874, allocations: 8 kB / 1.021 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01365/1.887, allocations: 5.918 MB / 1.026 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/1.913, allocations: 11.73 MB / 1.038 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/1.913, allocations: 4 kB / 1.038 GB, free: 4.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004488/1.917, allocations: 0.8543 MB / 1.039 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/1.919, allocations: 0.702 MB / 1.039 GB, free: 3.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005128/1.92, allocations: 99.92 kB / 1.039 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3517/2.272, allocations: 10.07 MB / 1.049 GB, free: 363.9 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/2.272, allocations: 4.812 kB / 1.049 GB, free: 363.9 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/2.292, allocations: 9.802 MB / 1.059 GB, free: 360.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/2.294, allocations: 0.9078 MB / 1.06 GB, free: 360.3 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006851/2.294, allocations: 87.48 kB / 1.06 GB, free: 360.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003519/2.298, allocations: 474.5 kB / 1.06 GB, free: 360.2 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006151/2.299, allocations: 252.7 kB / 1.061 GB, free: 360.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002764/2.299, allocations: 121.6 kB / 1.061 GB, free: 360.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002646/2.301, allocations: 2.106 MB / 1.063 GB, free: 359.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 3e-07/2.301, allocations: 1.719 kB / 1.063 GB, free: 359.5 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00339/2.305, allocations: 1.112 MB / 1.064 GB, free: 359.3 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.003566/2.308, allocations: 1.054 MB / 1.065 GB, free: 359.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02369/2.332, allocations: 10.37 MB / 1.075 GB, free: 353 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/2.332, allocations: 0 / 1.075 GB, free: 353 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007151/2.339, allocations: 3.536 MB / 1.078 GB, free: 349.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00658/2.346, allocations: 1.019 MB / 1.079 GB, free: 348.9 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/2.365, allocations: 11.76 MB / 1.091 GB, free: 337.4 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00317/2.368, allocations: 2.859 MB / 1.094 GB, free: 334.6 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002653/2.371, allocations: 343.2 kB / 1.094 GB, free: 334.2 MB / 0.795 GB Notification: Performance of SimCode: time 9.42e-07/2.371, allocations: 7.938 kB / 1.094 GB, free: 334.2 MB / 0.795 GB Notification: Performance of Templates: time 0.1095/2.481, allocations: 103 MB / 1.195 GB, free: 231.4 MB / 0.795 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