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.001299/0.001299, allocations: 102 kB / 16.27 MB, free: 5.859 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.001324/0.001325, allocations: 185.3 kB / 17.19 MB, free: 5.508 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.458/1.458, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8327/0.8327, allocations: 135.2 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002916/0.002916, allocations: 63.89 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4299, allocations: 80.92 MB / 0.5851 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6527/1.083, allocations: 202.1 MB / 0.7824 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02471/1.107, allocations: 15.12 MB / 0.7972 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006195/1.114, allocations: 96.25 kB / 0.7973 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003425/1.117, allocations: 1.298 MB / 0.7985 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008399/1.126, allocations: 2.649 MB / 0.8011 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005942/1.131, allocations: 2.187 MB / 0.8033 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009156/1.141, allocations: 6.671 MB / 0.8098 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007332/1.148, allocations: 5.535 MB / 0.8152 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/1.153, allocations: 2.6 MB / 0.8177 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005733/1.158, allocations: 3.094 MB / 0.8207 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001333/1.16, allocations: 0.5694 MB / 0.8213 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005442/1.165, allocations: 1.924 MB / 0.8232 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002087/1.167, allocations: 1.608 MB / 0.8247 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004249/1.171, allocations: 2.65 MB / 0.8273 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/1.183, allocations: 7.629 MB / 0.8348 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.183, allocations: 0 / 0.8348 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/1.183, allocations: 2.844 kB / 0.8348 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002404/1.183, allocations: 0 / 0.8348 GB, free: 6.746 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.0135/1.196, allocations: 5.629 MB / 0.8403 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.196, allocations: 9.109 kB / 0.8403 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/1.211, allocations: 2.993 MB / 0.8432 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006692/1.218, allocations: 2.681 MB / 0.8458 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/1.218, allocations: 308.2 kB / 0.8461 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/1.22, allocations: 411.9 kB / 0.8465 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/1.235, allocations: 6.219 MB / 0.8526 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.104e-05/1.235, allocations: 6.469 kB / 0.8526 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000459/1.236, allocations: 168 kB / 0.8528 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/1.236, allocations: 148 kB / 0.8529 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/1.255, allocations: 7.322 MB / 0.86 GB, free: 13.83 MB / 0.6231 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.0364/1.291, allocations: 18.91 MB / 0.8785 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01115/1.302, allocations: 4.813 MB / 0.8832 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006875/1.309, allocations: 3.163 MB / 0.8863 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/1.31, allocations: 0.701 MB / 0.887 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007015/1.317, allocations: 2.928 MB / 0.8899 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=345): time 6.021e-06/1.317, allocations: 0 / 0.8899 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=347): time 0.04341/1.361, allocations: 16.24 MB / 0.9057 GB, free: 14.39 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/1.361, allocations: 218.7 kB / 0.9059 GB, free: 14.13 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004579/1.366, allocations: 2.91 MB / 0.9088 GB, free: 11.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005539/1.366, allocations: 81.7 kB / 0.9088 GB, free: 11.12 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.368, allocations: 1.679 MB / 0.9105 GB, free: 9.426 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.369, allocations: 1.152 MB / 0.9116 GB, free: 8.285 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001165/1.371, allocations: 0.5885 MB / 0.9122 GB, free: 7.688 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.371, allocations: 301.1 kB / 0.9125 GB, free: 7.391 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005687/1.376, allocations: 2.332 MB / 0.9147 GB, free: 5.055 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006103/1.383, allocations: 2.688 MB / 0.9174 GB, free: 2.305 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.3715/1.754, allocations: 86.73 MB / 1.002 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/1.754, allocations: 3.938 kB / 1.002 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01458/1.769, allocations: 6.201 MB / 1.008 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-05/1.769, allocations: 37.69 kB / 1.008 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.769, allocations: 4 kB / 1.008 GB, free: 5.137 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/1.771, allocations: 0.8318 MB / 1.009 GB, free: 4.301 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/1.775, allocations: 0.8653 MB / 1.01 GB, free: 3.465 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/1.786, allocations: 7.492 MB / 1.017 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00473/1.791, allocations: 450.5 kB / 1.018 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005508/1.792, allocations: 131.9 kB / 1.018 GB, free: 11.29 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.002683/1.794, allocations: 1.143 MB / 1.019 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000986/1.795, allocations: 339.8 kB / 1.019 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/1.811, allocations: 6.777 MB / 1.026 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/1.811, allocations: 32 kB / 1.026 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.811, allocations: 8 kB / 1.026 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01306/1.824, allocations: 5.929 MB / 1.032 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.848, allocations: 11.73 MB / 1.043 GB, free: 1.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.848, allocations: 4 kB / 1.043 GB, free: 1.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004661/1.853, allocations: 0.8512 MB / 1.044 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4395/2.292, allocations: 0.6971 MB / 1.045 GB, free: 208.3 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001139/2.294, allocations: 99.73 kB / 1.045 GB, free: 208.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/2.312, allocations: 10.05 MB / 1.054 GB, free: 203.8 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/2.312, allocations: 12.16 kB / 1.054 GB, free: 203.8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03542/2.347, allocations: 9.799 MB / 1.064 GB, free: 203.3 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003261/2.351, allocations: 0.9096 MB / 1.065 GB, free: 203.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001061/2.352, allocations: 83.64 kB / 1.065 GB, free: 203.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006391/2.358, allocations: 431.1 kB / 1.065 GB, free: 203.2 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009264/2.359, allocations: 251.1 kB / 1.066 GB, free: 203.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004832/2.36, allocations: 121.4 kB / 1.066 GB, free: 203.2 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004502/2.364, allocations: 2.102 MB / 1.068 GB, free: 203.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.643e-06/2.364, allocations: 0.9062 kB / 1.068 GB, free: 203.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005234/2.369, allocations: 1.097 MB / 1.069 GB, free: 203.1 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.005147/2.374, allocations: 1.066 MB / 1.07 GB, free: 202.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.04421/2.419, allocations: 10.37 MB / 1.08 GB, free: 202.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/2.419, allocations: 2.062 kB / 1.08 GB, free: 202.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0117/2.43, allocations: 3.524 MB / 1.084 GB, free: 202.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007821/2.438, allocations: 1.038 MB / 1.085 GB, free: 202.1 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02697/2.465, allocations: 9.953 MB / 1.094 GB, free: 197.7 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/2.468, allocations: 2.857 MB / 1.097 GB, free: 195.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/2.47, allocations: 350.5 kB / 1.097 GB, free: 195.4 MB / 0.795 GB Notification: Performance of SimCode: time 9.11e-07/2.47, allocations: 0 / 1.097 GB, free: 195.4 MB / 0.795 GB Notification: Performance of Templates: time 0.09384/2.564, allocations: 103 MB / 1.198 GB, free: 96.21 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++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