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.001046/0.001046, allocations: 107.2 kB / 16.41 MB, free: 6.492 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.0009698/0.0009698, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.779/0.779, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 62.25 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1632, allocations: 80.92 MB / 0.6653 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.6347/0.798, allocations: 202.1 MB / 0.8627 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0245/0.8225, allocations: 15.11 MB / 0.8774 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005243/0.8278, allocations: 91.56 kB / 0.8775 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003219/0.831, allocations: 1.325 MB / 0.8788 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008426/0.8395, allocations: 2.725 MB / 0.8815 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005834/0.8454, allocations: 2.203 MB / 0.8836 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009593/0.855, allocations: 6.699 MB / 0.8902 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007225/0.8622, allocations: 5.535 MB / 0.8956 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.8672, allocations: 2.652 MB / 0.8982 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00558/0.8728, allocations: 3.102 MB / 0.9012 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001277/0.8741, allocations: 0.5703 MB / 0.9018 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004888/0.879, allocations: 1.954 MB / 0.9037 GB, free: 10.96 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.8808, allocations: 1.605 MB / 0.9052 GB, free: 9.348 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004295/0.8851, allocations: 2.659 MB / 0.9078 GB, free: 6.676 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.896, allocations: 7.746 MB / 0.9154 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.896, allocations: 4 kB / 0.9154 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.044e-06/0.896, allocations: 4 kB / 0.9154 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000199/0.8962, allocations: 0 / 0.9154 GB, free: 14.9 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.01267/0.9089, allocations: 5.625 MB / 0.9209 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.9089, allocations: 13.11 kB / 0.9209 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.9238, allocations: 2.993 MB / 0.9238 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005924/0.9298, allocations: 2.741 MB / 0.9265 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/0.93, allocations: 308.2 kB / 0.9268 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008796/0.9309, allocations: 408 kB / 0.9272 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.9448, allocations: 6.218 MB / 0.9333 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.066e-05/0.9449, allocations: 4 kB / 0.9333 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00043/0.9454, allocations: 168 kB / 0.9334 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.9455, allocations: 152 kB / 0.9336 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/0.9623, allocations: 7.324 MB / 0.9407 GB, free: 4.664 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.0357/0.9981, allocations: 18.77 MB / 0.9591 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/1.009, allocations: 4.797 MB / 0.9637 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006583/1.016, allocations: 3.167 MB / 0.9668 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/1.017, allocations: 0.6975 MB / 0.9675 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006873/1.024, allocations: 2.94 MB / 0.9704 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 7.625e-06/1.024, allocations: 0 / 0.9704 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.04322/1.067, allocations: 16.24 MB / 0.9862 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/1.067, allocations: 214.7 kB / 0.9864 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005546/1.073, allocations: 2.903 MB / 0.9893 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005777/1.073, allocations: 85.7 kB / 0.9894 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001881/1.075, allocations: 1.68 MB / 0.991 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001548/1.077, allocations: 1.151 MB / 0.9921 GB, free: 14.79 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/1.078, allocations: 0.5884 MB / 0.9927 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.079, allocations: 305.1 kB / 0.993 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005681/1.084, allocations: 2.332 MB / 0.9953 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005907/1.09, allocations: 2.689 MB / 0.9979 GB, free: 8.797 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.8083/1.899, allocations: 86.69 MB / 1.083 GB, free: 315 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/1.899, allocations: 0 / 1.083 GB, free: 315 MB / 0.8262 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01465/1.913, allocations: 6.201 MB / 1.089 GB, free: 313.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/1.913, allocations: 35.97 kB / 1.089 GB, free: 313.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.913, allocations: 2.844 kB / 1.089 GB, free: 313.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/1.915, allocations: 0.8257 MB / 1.089 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004176/1.919, allocations: 0.8715 MB / 1.09 GB, free: 312.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009094/1.929, allocations: 7.485 MB / 1.098 GB, free: 308.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004689/1.933, allocations: 443.5 kB / 1.098 GB, free: 308.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005076/1.934, allocations: 128 kB / 1.098 GB, free: 308.6 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.002272/1.936, allocations: 1.136 MB / 1.099 GB, free: 308.1 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007363/1.937, allocations: 347.4 kB / 1.1 GB, free: 308.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.95, allocations: 6.76 MB / 1.106 GB, free: 304.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.858e-05/1.95, allocations: 34.28 kB / 1.106 GB, free: 304.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.95, allocations: 18.33 kB / 1.106 GB, free: 304.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01043/1.96, allocations: 5.913 MB / 1.112 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01936/1.98, allocations: 11.71 MB / 1.123 GB, free: 292.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-05/1.98, allocations: 4 kB / 1.123 GB, free: 292.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003968/1.984, allocations: 0.86 MB / 1.124 GB, free: 291.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/1.985, allocations: 0.6992 MB / 1.125 GB, free: 290.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002853/1.986, allocations: 99.92 kB / 1.125 GB, free: 290.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008684/1.994, allocations: 10.05 MB / 1.135 GB, free: 280.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.994, allocations: 7.938 kB / 1.135 GB, free: 280.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/2.012, allocations: 9.809 MB / 1.144 GB, free: 270.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/2.014, allocations: 0.9125 MB / 1.145 GB, free: 269.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000948/2.015, allocations: 83.97 kB / 1.145 GB, free: 269.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003712/2.019, allocations: 430.7 kB / 1.146 GB, free: 268.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005854/2.02, allocations: 254.2 kB / 1.146 GB, free: 268.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003034/2.02, allocations: 123.9 kB / 1.146 GB, free: 268.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003191/2.023, allocations: 2.103 MB / 1.148 GB, free: 266.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9.22e-07/2.023, allocations: 0 / 1.148 GB, free: 266.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004478/2.028, allocations: 1.099 MB / 1.149 GB, free: 265.3 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.003291/2.031, allocations: 1.064 MB / 1.15 GB, free: 264.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01217/2.043, allocations: 5.951 MB / 1.156 GB, free: 258.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/2.043, allocations: 4 kB / 1.156 GB, free: 258.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006567/2.05, allocations: 3.514 MB / 1.16 GB, free: 255.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/2.055, allocations: 1.028 MB / 1.161 GB, free: 254.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/2.072, allocations: 9.845 MB / 1.17 GB, free: 244.3 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002567/2.074, allocations: 2.861 MB / 1.173 GB, free: 241.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002319/2.077, allocations: 347.1 kB / 1.173 GB, free: 241.1 MB / 0.8262 GB Notification: Performance of SimCode: time 7.01e-07/2.077, allocations: 0 / 1.173 GB, free: 241.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.1059/2.183, allocations: 103.4 MB / 1.274 GB, free: 137.7 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