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.000919/0.0009191, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 180.1 kB / 16.92 MB, free: 6.906 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9244/0.9244, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.000448, allocations: 8.938 kB / 0.5082 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1836, allocations: 82.32 MB / 0.5886 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5331/0.7168, allocations: 196.9 MB / 0.7809 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02327/0.7401, allocations: 14.96 MB / 0.7955 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/0.7438, allocations: 83.56 kB / 0.7956 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002581/0.7464, allocations: 1.143 MB / 0.7967 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00916/0.7556, allocations: 2.422 MB / 0.7991 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004937/0.7606, allocations: 1.948 MB / 0.801 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008646/0.7692, allocations: 7.361 MB / 0.8082 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00614/0.7754, allocations: 4.589 MB / 0.8127 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.7783, allocations: 1.835 MB / 0.8145 GB, free: 5 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003592/0.7819, allocations: 2.487 MB / 0.8169 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.7824, allocations: 156 kB / 0.817 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003497/0.7859, allocations: 1.688 MB / 0.8187 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.7869, allocations: 1.097 MB / 0.8198 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.7892, allocations: 2.079 MB / 0.8218 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005747/0.7949, allocations: 5.845 MB / 0.8275 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.795, allocations: 0 / 0.8275 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.843e-06/0.795, allocations: 4 kB / 0.8275 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001393/0.7951, allocations: 0 / 0.8275 GB, free: 7.602 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.009566/0.8047, allocations: 4.758 MB / 0.8322 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.8047, allocations: 11.97 kB / 0.8322 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01503/0.8198, allocations: 3.122 MB / 0.8352 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004904/0.8247, allocations: 2.675 MB / 0.8378 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.8249, allocations: 312.2 kB / 0.8381 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007126/0.8257, allocations: 411.9 kB / 0.8385 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01292/0.8386, allocations: 6.277 MB / 0.8446 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.395e-05/0.8387, allocations: 3.938 kB / 0.8446 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004349/0.8391, allocations: 176 kB / 0.8448 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001212/0.8393, allocations: 144 kB / 0.845 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/0.8556, allocations: 7.438 MB / 0.8522 GB, free: 13.99 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.369/1.225, allocations: 18.92 MB / 0.8707 GB, free: 205.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008964/1.234, allocations: 4.841 MB / 0.8754 GB, free: 205 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005404/1.239, allocations: 3.177 MB / 0.8785 GB, free: 204 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008411/1.24, allocations: 0.6972 MB / 0.8792 GB, free: 203.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005312/1.245, allocations: 2.95 MB / 0.8821 GB, free: 202.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 5.11e-06/1.245, allocations: 0 / 0.8821 GB, free: 202.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.03786/1.283, allocations: 16.37 MB / 0.8981 GB, free: 197 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.283, allocations: 224.5 kB / 0.8983 GB, free: 196.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00465/1.288, allocations: 2.901 MB / 0.9011 GB, free: 195.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005308/1.288, allocations: 89.94 kB / 0.9012 GB, free: 195.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001584/1.29, allocations: 1.681 MB / 0.9028 GB, free: 194.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/1.291, allocations: 1.154 MB / 0.904 GB, free: 193.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004375/1.292, allocations: 246.3 kB / 0.9042 GB, free: 193.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.869e-05/1.292, allocations: 305 kB / 0.9045 GB, free: 193.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005871/1.298, allocations: 2.352 MB / 0.9068 GB, free: 192.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006365/1.304, allocations: 2.699 MB / 0.9094 GB, free: 191.5 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.3508/1.655, allocations: 88.29 MB / 0.9956 GB, free: 125.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.655, allocations: 4 kB / 0.9957 GB, free: 125.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01367/1.669, allocations: 6.237 MB / 1.002 GB, free: 119.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/1.669, allocations: 33.7 kB / 1.002 GB, free: 119.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.669, allocations: 4 kB / 1.002 GB, free: 119.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/1.67, allocations: 0.8279 MB / 1.003 GB, free: 118.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/1.675, allocations: 0.8736 MB / 1.003 GB, free: 117.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008609/1.683, allocations: 6.94 MB / 1.01 GB, free: 110.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/1.688, allocations: 0.4964 MB / 1.011 GB, free: 110.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007084/1.689, allocations: 131.9 kB / 1.011 GB, free: 110 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 sytem: 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.002943/1.692, allocations: 1.139 MB / 1.012 GB, free: 108.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.693, allocations: 343.7 kB / 1.012 GB, free: 108.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.707, allocations: 6.803 MB / 1.019 GB, free: 101.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/1.707, allocations: 35.94 kB / 1.019 GB, free: 101.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/1.707, allocations: 12 kB / 1.019 GB, free: 101.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01145/1.719, allocations: 5.947 MB / 1.025 GB, free: 95.56 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02215/1.741, allocations: 11.76 MB / 1.036 GB, free: 83.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/1.741, allocations: 4.469 kB / 1.036 GB, free: 83.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003966/1.745, allocations: 0.862 MB / 1.037 GB, free: 82.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/1.746, allocations: 0.698 MB / 1.038 GB, free: 82.15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003965/1.747, allocations: 95.94 kB / 1.038 GB, free: 82.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008798/1.756, allocations: 9.197 MB / 1.047 GB, free: 72.48 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.756, allocations: 7.938 kB / 1.047 GB, free: 72.47 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01823/1.774, allocations: 9.85 MB / 1.056 GB, free: 62.48 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.776, allocations: 0.9571 MB / 1.057 GB, free: 61.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008993/1.777, allocations: 80 kB / 1.057 GB, free: 61.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003813/1.781, allocations: 494.8 kB / 1.058 GB, free: 60.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005584/1.781, allocations: 246.3 kB / 1.058 GB, free: 60.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/1.782, allocations: 119.9 kB / 1.058 GB, free: 60.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002549/1.784, allocations: 2.107 MB / 1.06 GB, free: 58.48 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.784, allocations: 0 / 1.06 GB, free: 58.48 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003511/1.788, allocations: 1.107 MB / 1.061 GB, free: 57.39 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.002362/1.79, allocations: 1.059 MB / 1.062 GB, free: 56.76 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.801, allocations: 5.953 MB / 1.068 GB, free: 50.77 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.801, allocations: 0 / 1.068 GB, free: 50.77 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006176/1.808, allocations: 3.552 MB / 1.072 GB, free: 47.18 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006068/1.814, allocations: 0.9731 MB / 1.073 GB, free: 46.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.829, allocations: 11.92 MB / 1.084 GB, free: 34.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/1.831, allocations: 2.861 MB / 1.087 GB, free: 31.34 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002076/1.834, allocations: 347.1 kB / 1.087 GB, free: 31 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/1.834, allocations: 0 / 1.087 GB, free: 31 MB / 0.67 GB Notification: Performance of Templates: time 0.4125/2.246, allocations: 102.4 MB / 1.187 GB, free: 169.5 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