Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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(AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.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.001396/0.001396, allocations: 100.1 kB / 15.88 MB, free: 12 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.001819/0.001819, allocations: 195.7 kB / 16.79 MB, free: 6.809 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1889/0.1889, allocations: 12.01 MB / 302.6 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005312/0.0005311, allocations: 23.97 kB / 355.7 MB, free: 4.098 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.913/1.913, allocations: 272.2 MB / 0.665 GB, free: 13.17 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.001911, allocations: 109.5 kB / 0.7848 GB, free: 31.61 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2467, allocations: 109.2 MB / 0.8914 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.7788/1.025, allocations: 199.8 MB / 1.086 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02633/1.052, allocations: 15.15 MB / 1.101 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007423/1.059, allocations: 87.88 kB / 1.101 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004698/1.064, allocations: 1.143 MB / 1.102 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01272/1.077, allocations: 2.422 MB / 1.105 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007249/1.084, allocations: 1.941 MB / 1.107 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01144/1.096, allocations: 7.379 MB / 1.114 GB, free: 15.21 MB / 0.7482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009714/1.105, allocations: 4.915 MB / 1.119 GB, free: 12.5 MB / 0.7482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005888/1.111, allocations: 2.197 MB / 1.121 GB, free: 11.35 MB / 0.7482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006637/1.118, allocations: 2.944 MB / 1.124 GB, free: 9.609 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.002041/1.12, allocations: 313.4 kB / 1.124 GB, free: 9.609 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006304/1.126, allocations: 1.843 MB / 1.126 GB, free: 8.891 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.00278/1.129, allocations: 1.334 MB / 1.127 GB, free: 7.953 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.005964/1.135, allocations: 2.358 MB / 1.129 GB, free: 6.309 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.009447/1.145, allocations: 5.988 MB / 1.135 GB, free: 2.27 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/1.145, allocations: 0 / 1.135 GB, free: 2.27 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.573e-06/1.145, allocations: 0 / 1.135 GB, free: 2.27 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.0004158/1.145, allocations: 0 / 1.135 GB, free: 2.27 MB / 0.7482 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.0192/1.164, allocations: 5.62 MB / 1.141 GB, free: 14.49 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.164, allocations: 10.09 kB / 1.141 GB, free: 14.49 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/1.18, allocations: 2.993 MB / 1.144 GB, free: 13.07 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007715/1.188, allocations: 2.69 MB / 1.146 GB, free: 11.23 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/1.188, allocations: 312.6 kB / 1.147 GB, free: 11.09 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/1.19, allocations: 406.2 kB / 1.147 GB, free: 10.95 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02042/1.211, allocations: 6.221 MB / 1.153 GB, free: 5.773 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002/1.211, allocations: 7.906 kB / 1.153 GB, free: 5.766 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/1.213, allocations: 168 kB / 1.153 GB, free: 5.602 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/1.213, allocations: 148 kB / 1.153 GB, free: 5.453 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02159/1.234, allocations: 7.329 MB / 1.161 GB, free: 14.1 MB / 0.7794 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.04544/1.28, allocations: 18.87 MB / 1.179 GB, free: 10.64 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/1.292, allocations: 4.797 MB / 1.184 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007632/1.3, allocations: 3.167 MB / 1.187 GB, free: 2.652 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/1.301, allocations: 0.6958 MB / 1.187 GB, free: 1.844 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00798/1.309, allocations: 2.936 MB / 1.19 GB, free: 14.88 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=345): time 8.025e-06/1.309, allocations: 0 / 1.19 GB, free: 14.88 MB / 0.8107 GB Notification: Performance of matching and sorting (n=347): time 0.04837/1.358, allocations: 16.24 MB / 1.206 GB, free: 14.45 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/1.358, allocations: 222.6 kB / 1.206 GB, free: 14.19 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005601/1.364, allocations: 2.899 MB / 1.209 GB, free: 11.27 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 0.0007947/1.364, allocations: 85.7 kB / 1.209 GB, free: 11.18 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.00189/1.366, allocations: 1.679 MB / 1.211 GB, free: 9.488 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.001772/1.368, allocations: 1.152 MB / 1.212 GB, free: 8.348 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/1.37, allocations: 0.5884 MB / 1.213 GB, free: 7.75 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.371, allocations: 305.1 kB / 1.213 GB, free: 7.449 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005814/1.376, allocations: 2.336 MB / 1.215 GB, free: 5.109 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006246/1.383, allocations: 2.689 MB / 1.218 GB, free: 2.355 MB / 0.8263 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.3638/1.746, allocations: 86.69 MB / 1.302 GB, free: 11.46 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.026e-06/1.747, allocations: 8 kB / 1.302 GB, free: 11.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.0157/1.762, allocations: 6.198 MB / 1.309 GB, free: 5.215 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.729e-05/1.762, allocations: 33.7 kB / 1.309 GB, free: 5.176 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.762, allocations: 0 / 1.309 GB, free: 5.176 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/1.764, allocations: 0.8317 MB / 1.309 GB, free: 4.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005036/1.769, allocations: 0.862 MB / 1.31 GB, free: 3.477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.779, allocations: 6.945 MB / 1.317 GB, free: 12.4 MB / 0.9357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005221/1.785, allocations: 483.1 kB / 1.317 GB, free: 11.93 MB / 0.9357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000877/1.786, allocations: 143.8 kB / 1.318 GB, free: 11.79 MB / 0.9357 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.00293/1.789, allocations: 1.136 MB / 1.319 GB, free: 10.64 MB / 0.9357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009855/1.79, allocations: 339.8 kB / 1.319 GB, free: 10.31 MB / 0.9357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/1.805, allocations: 6.767 MB / 1.326 GB, free: 3.488 MB / 0.9357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/1.805, allocations: 39.94 kB / 1.326 GB, free: 3.449 MB / 0.9357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/1.805, allocations: 8 kB / 1.326 GB, free: 3.441 MB / 0.9357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01284/1.818, allocations: 5.917 MB / 1.331 GB, free: 13.4 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02764/1.846, allocations: 11.73 MB / 1.343 GB, free: 1.586 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.54e-05/1.846, allocations: 4 kB / 1.343 GB, free: 1.582 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004789/1.851, allocations: 0.8662 MB / 1.344 GB, free: 0.7148 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/1.853, allocations: 0.6942 MB / 1.344 GB, free: 12 kB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007933/1.853, allocations: 96.62 kB / 1.345 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/1.865, allocations: 9.196 MB / 1.354 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.865, allocations: 8 kB / 1.354 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0268/1.892, allocations: 9.795 MB / 1.363 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003188/1.895, allocations: 0.9066 MB / 1.364 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001623/1.897, allocations: 83.83 kB / 1.364 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004841/1.902, allocations: 469.1 kB / 1.365 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/1.903, allocations: 254.2 kB / 1.365 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007763/1.904, allocations: 119.9 kB / 1.365 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0045/1.908, allocations: 2.103 MB / 1.367 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.71e-07/1.908, allocations: 0 / 1.367 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005651/1.914, allocations: 1.105 MB / 1.368 GB, free: 7.344 MB / 0.9825 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.003469/1.917, allocations: 1.079 MB / 1.369 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0156/1.933, allocations: 5.918 MB / 1.375 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.933, allocations: 4 kB / 1.375 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.008799/1.942, allocations: 3.533 MB / 1.378 GB, free: 13.11 MB / 0.9982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007292/1.949, allocations: 0.9655 MB / 1.379 GB, free: 12.16 MB / 0.9982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/1.974, allocations: 11.74 MB / 1.391 GB, free: 352 kB / 0.9982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004549/1.979, allocations: 2.861 MB / 1.394 GB, free: 13.46 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00306/1.982, allocations: 343.2 kB / 1.394 GB, free: 13.12 MB / 1.014 GB Notification: Performance of SimCode: time 1.423e-06/1.982, allocations: 4 kB / 1.394 GB, free: 13.12 MB / 1.014 GB Notification: Performance of Templates: time 0.545/2.527, allocations: 103 MB / 1.494 GB, free: 343 MB / 1.014 GB make -j1 -f AixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile make -j1 -f AixLib_latest_AixLib.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/AixLib 1.4.0-development/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/AixLib 1.4.0-development/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.o OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp In file included from OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp:17: ./OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:619:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[485] ^ ./OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:615:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[481] ^ ./OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:620:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[486] ^ ./OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.h:617:13: note: previous definition is here #define _const1_P_y_ _pointerToRealVars[483] ^ In file included from OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceFunctions.cpp:8: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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: *** [: OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstanceCalcHelperMain.o] Error 1