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.00118/0.001179, allocations: 102.1 kB / 16.41 MB, free: 6.5 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.001203/0.001203, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7945/0.7945, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 66.98 kB / 0.582 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1714, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.7309/0.9023, allocations: 202.1 MB / 0.8577 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0266/0.929, allocations: 15.12 MB / 0.8725 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005242/0.9342, allocations: 95.5 kB / 0.8726 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004057/0.9383, allocations: 1.321 MB / 0.8738 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009466/0.9479, allocations: 2.725 MB / 0.8765 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007012/0.9549, allocations: 2.193 MB / 0.8786 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.9668, allocations: 6.708 MB / 0.8852 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.979, allocations: 5.53 MB / 0.8906 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006288/0.9853, allocations: 2.663 MB / 0.8932 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006679/0.992, allocations: 3.098 MB / 0.8962 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002569/0.9946, allocations: 0.5703 MB / 0.8968 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006093/1.001, allocations: 1.95 MB / 0.8987 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00297/1.004, allocations: 1.613 MB / 0.9003 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006294/1.01, allocations: 2.655 MB / 0.9029 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01432/1.024, allocations: 7.746 MB / 0.9104 GB, free: 5.652 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.024, allocations: 0 / 0.9104 GB, free: 5.652 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.994e-06/1.024, allocations: 0 / 0.9104 GB, free: 5.652 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003433/1.025, allocations: 4 kB / 0.9104 GB, free: 5.648 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.018/1.043, allocations: 5.634 MB / 0.9159 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.043, allocations: 8.031 kB / 0.9159 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/1.058, allocations: 2.989 MB / 0.9189 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006438/1.065, allocations: 2.745 MB / 0.9215 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/1.065, allocations: 316.2 kB / 0.9218 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/1.066, allocations: 400 kB / 0.9222 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/1.081, allocations: 6.222 MB / 0.9283 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-05/1.081, allocations: 7.906 kB / 0.9283 GB, free: 3.062 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004654/1.082, allocations: 168 kB / 0.9285 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001303/1.082, allocations: 144 kB / 0.9286 GB, free: 2.754 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/1.101, allocations: 7.329 MB / 0.9358 GB, free: 11.4 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.03732/1.138, allocations: 18.76 MB / 0.9541 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/1.148, allocations: 4.806 MB / 0.9588 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006223/1.154, allocations: 3.167 MB / 0.9619 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.155, allocations: 0.7013 MB / 0.9625 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006203/1.162, allocations: 2.936 MB / 0.9654 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 6.021e-06/1.162, allocations: 0 / 0.9654 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.03976/1.201, allocations: 16.24 MB / 0.9813 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.202, allocations: 218.7 kB / 0.9815 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004367/1.206, allocations: 2.903 MB / 0.9843 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0008268/1.207, allocations: 89.7 kB / 0.9844 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001844/1.209, allocations: 1.68 MB / 0.986 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001594/1.21, allocations: 1.151 MB / 0.9872 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/1.211, allocations: 0.5883 MB / 0.9877 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.212, allocations: 301.1 kB / 0.988 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00529/1.217, allocations: 2.336 MB / 0.9903 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005801/1.223, allocations: 2.685 MB / 0.9929 GB, free: 15.55 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.9253/2.148, allocations: 86.69 MB / 1.078 GB, free: 303 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/2.148, allocations: 0 / 1.078 GB, free: 303 MB / 0.8106 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.02323/2.171, allocations: 6.204 MB / 1.084 GB, free: 300 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.619e-05/2.171, allocations: 32.23 kB / 1.084 GB, free: 300 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/2.171, allocations: 3.688 kB / 1.084 GB, free: 300 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/2.174, allocations: 0.8316 MB / 1.084 GB, free: 299.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008198/2.182, allocations: 0.8624 MB / 1.085 GB, free: 299.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01667/2.199, allocations: 7.49 MB / 1.093 GB, free: 294.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008031/2.207, allocations: 437.9 kB / 1.093 GB, free: 294.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/2.208, allocations: 134 kB / 1.093 GB, free: 294.2 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.004124/2.213, allocations: 1.14 MB / 1.094 GB, free: 293.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/2.214, allocations: 345.1 kB / 1.095 GB, free: 293.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02548/2.239, allocations: 6.765 MB / 1.101 GB, free: 288.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.752e-05/2.24, allocations: 36 kB / 1.101 GB, free: 288.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/2.24, allocations: 11.94 kB / 1.101 GB, free: 288.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02152/2.261, allocations: 5.917 MB / 1.107 GB, free: 282.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/2.282, allocations: 11.72 MB / 1.119 GB, free: 270.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/2.282, allocations: 5.031 kB / 1.119 GB, free: 270.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003868/2.286, allocations: 0.8546 MB / 1.119 GB, free: 270 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/2.287, allocations: 0.6942 MB / 1.12 GB, free: 269.3 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002977/2.287, allocations: 99.64 kB / 1.12 GB, free: 269.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008765/2.296, allocations: 10.05 MB / 1.13 GB, free: 258.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/2.296, allocations: 7.938 kB / 1.13 GB, free: 258.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01779/2.314, allocations: 9.797 MB / 1.14 GB, free: 248.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/2.316, allocations: 0.9167 MB / 1.14 GB, free: 248 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000579/2.317, allocations: 83.97 kB / 1.14 GB, free: 247.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/2.32, allocations: 431.3 kB / 1.141 GB, free: 247.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005353/2.32, allocations: 258.2 kB / 1.141 GB, free: 247.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/2.321, allocations: 116.5 kB / 1.141 GB, free: 247.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002353/2.323, allocations: 2.107 MB / 1.143 GB, free: 245 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/2.323, allocations: 0 / 1.143 GB, free: 245 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002992/2.326, allocations: 1.097 MB / 1.144 GB, free: 243.9 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.002768/2.329, allocations: 1.057 MB / 1.145 GB, free: 243.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01187/2.341, allocations: 5.948 MB / 1.151 GB, free: 237.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/2.341, allocations: 0 / 1.151 GB, free: 237.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006008/2.347, allocations: 3.525 MB / 1.155 GB, free: 233.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/2.351, allocations: 1.033 MB / 1.156 GB, free: 232.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/2.365, allocations: 9.846 MB / 1.165 GB, free: 223 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/2.367, allocations: 2.857 MB / 1.168 GB, free: 220.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/2.369, allocations: 347.1 kB / 1.168 GB, free: 219.8 MB / 0.8106 GB Notification: Performance of SimCode: time 8.92e-07/2.369, allocations: 4 kB / 1.168 GB, free: 219.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.1276/2.497, allocations: 103.4 MB / 1.269 GB, free: 116.4 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