Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="AixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="AixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 103.1 kB / 16.41 MB, free: 6.508 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.001221/0.001221, allocations: 185.8 kB / 17.34 MB, free: 5.738 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05839/0.05839, allocations: 12.05 MB / 303.3 MB, free: 3.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005665/0.0005663, allocations: 43.86 kB / 356.3 MB, free: 13.95 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.559/1.559, allocations: 268.2 MB / 0.6617 GB, free: 2.602 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 108.2 kB / 0.888 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6989/0.7009, allocations: 108.4 MB / 0.9938 GB, free: 11.76 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1851/0.886, allocations: 163.1 MB / 1.153 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.03652/0.9226, allocations: 27.45 MB / 1.18 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00484/0.9275, allocations: 87.56 kB / 1.18 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.931, allocations: 1.13 MB / 1.181 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006989/0.938, allocations: 1.934 MB / 1.183 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005855/0.9439, allocations: 1.989 MB / 1.185 GB, free: 2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008681/0.9526, allocations: 5.863 MB / 1.191 GB, free: 12.12 MB / 0.8732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006788/0.9594, allocations: 4.873 MB / 1.195 GB, free: 7.172 MB / 0.8732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005181/0.9646, allocations: 2.346 MB / 1.198 GB, free: 4.82 MB / 0.8732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004837/0.9695, allocations: 2.824 MB / 1.2 GB, free: 1.988 MB / 0.8732 GB Notification: Performance of NFPackage.collectConstants: time 0.001558/0.9711, allocations: 0.5195 MB / 1.201 GB, free: 1.469 MB / 0.8732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.9744, allocations: 1.136 MB / 1.202 GB, free: 340 kB / 0.8732 GB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.9758, allocations: 1.356 MB / 1.203 GB, free: 14.97 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.003326/0.9791, allocations: 2.398 MB / 1.206 GB, free: 12.56 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.009425/0.9886, allocations: 6.78 MB / 1.212 GB, free: 5.758 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.9886, allocations: 0 / 1.212 GB, free: 5.758 MB / 0.8888 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9886, allocations: 0 / 1.212 GB, free: 5.758 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 0.0002217/0.9888, allocations: 0 / 1.212 GB, free: 5.758 MB / 0.8888 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01259/1.001, allocations: 5.24 MB / 1.217 GB, free: 444 kB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.002, allocations: 12.03 kB / 1.218 GB, free: 432 kB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/1.015, allocations: 2.856 MB / 1.22 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006264/1.022, allocations: 2.565 MB / 1.223 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/1.022, allocations: 279.5 kB / 1.223 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009353/1.023, allocations: 368 kB / 1.223 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/1.036, allocations: 5.728 MB / 1.229 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-05/1.037, allocations: 0 / 1.229 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004171/1.037, allocations: 163.9 kB / 1.229 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-05/1.037, allocations: 92 kB / 1.229 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01668/1.054, allocations: 6.854 MB / 1.236 GB, free: 13.38 MB / 0.92 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.03689/1.091, allocations: 17.3 MB / 1.253 GB, free: 11.33 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/1.101, allocations: 4.477 MB / 1.257 GB, free: 6.848 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006573/1.108, allocations: 2.947 MB / 1.26 GB, free: 3.895 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/1.109, allocations: 0.6738 MB / 1.261 GB, free: 3.09 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006944/1.116, allocations: 2.721 MB / 1.263 GB, free: 340 kB / 0.9357 GB Notification: Performance of pre-optimization done (n=315): time 8.245e-06/1.116, allocations: 0 / 1.263 GB, free: 340 kB / 0.9357 GB Notification: Performance of matching and sorting (n=315): time 0.02811/1.144, allocations: 9.708 MB / 1.273 GB, free: 6.488 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/1.144, allocations: 214.4 kB / 1.273 GB, free: 6.234 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0051/1.149, allocations: 2.67 MB / 1.276 GB, free: 3.551 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.0008025/1.15, allocations: 81.7 kB / 1.276 GB, free: 3.465 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/1.152, allocations: 1.568 MB / 1.277 GB, free: 1.883 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.001776/1.154, allocations: 1.092 MB / 1.278 GB, free: 0.7812 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002138/1.156, allocations: 0.5448 MB / 1.279 GB, free: 236 kB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.5865/1.743, allocations: 305.4 kB / 1.279 GB, free: 265.3 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00694/1.75, allocations: 2.18 MB / 1.281 GB, free: 265.3 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006778/1.756, allocations: 2.528 MB / 1.284 GB, free: 264.7 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/1.769, allocations: 4.703 MB / 1.288 GB, free: 263.1 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.8e-05/1.769, allocations: 2.312 kB / 1.288 GB, free: 263.1 MB / 0.9513 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01454/1.784, allocations: 5.819 MB / 1.294 GB, free: 261.3 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/1.784, allocations: 10.38 kB / 1.294 GB, free: 261.3 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/1.784, allocations: 3.25 kB / 1.294 GB, free: 261.3 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/1.786, allocations: 0.8417 MB / 1.295 GB, free: 261.1 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/1.79, allocations: 0.8074 MB / 1.296 GB, free: 261 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/1.801, allocations: 7.574 MB / 1.303 GB, free: 256 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004523/1.805, allocations: 0.5741 MB / 1.304 GB, free: 255.8 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008685/1.806, allocations: 122.5 kB / 1.304 GB, free: 255.8 MB / 0.9513 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * 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.003282/1.809, allocations: 1.025 MB / 1.305 GB, free: 255.1 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/1.811, allocations: 324.5 kB / 1.305 GB, free: 255 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/1.827, allocations: 6.379 MB / 1.311 GB, free: 251.5 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/1.827, allocations: 31.53 kB / 1.311 GB, free: 251.5 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-05/1.827, allocations: 11.47 kB / 1.311 GB, free: 251.5 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.252e-05/1.827, allocations: 15.94 kB / 1.311 GB, free: 251.5 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02218/1.85, allocations: 10.72 MB / 1.322 GB, free: 245.3 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.85, allocations: 0 / 1.322 GB, free: 245.3 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003644/1.853, allocations: 0.7712 MB / 1.323 GB, free: 244.6 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/1.855, allocations: 0.744 MB / 1.323 GB, free: 243.8 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004137/1.855, allocations: 83.92 kB / 1.323 GB, free: 243.7 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009742/1.865, allocations: 10.67 MB / 1.334 GB, free: 232.7 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.865, allocations: 4 kB / 1.334 GB, free: 232.7 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/1.884, allocations: 9.101 MB / 1.343 GB, free: 223.5 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002568/1.887, allocations: 0.9095 MB / 1.344 GB, free: 222.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009987/1.888, allocations: 72.31 kB / 1.344 GB, free: 222.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003564/1.891, allocations: 400.8 kB / 1.344 GB, free: 222.1 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000622/1.892, allocations: 206.3 kB / 1.344 GB, free: 221.9 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003997/1.893, allocations: 112.2 kB / 1.344 GB, free: 221.8 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.003045/1.896, allocations: 1.932 MB / 1.346 GB, free: 219.9 MB / 0.9513 GB Notification: Performance of sort global known variables: time 1.51e-07/1.896, allocations: 0 / 1.346 GB, free: 219.9 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.004124/1.9, allocations: 1.229 MB / 1.347 GB, free: 218.8 MB / 0.9513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002779/1.903, allocations: 1.043 MB / 1.348 GB, free: 218.2 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.914, allocations: 5.527 MB / 1.354 GB, free: 212.7 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.914, allocations: 0 / 1.354 GB, free: 212.7 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.006914/1.921, allocations: 3.337 MB / 1.357 GB, free: 209.3 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005662/1.927, allocations: 0.7804 MB / 1.358 GB, free: 208.5 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/1.945, allocations: 8.983 MB / 1.367 GB, free: 199.5 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/1.948, allocations: 2.629 MB / 1.369 GB, free: 196.9 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00249/1.95, allocations: 323.2 kB / 1.37 GB, free: 196.6 MB / 0.9513 GB Notification: Performance of SimCode: time 1.223e-06/1.95, allocations: 0 / 1.37 GB, free: 196.6 MB / 0.9513 GB Notification: Performance of Templates: time 0.104/2.054, allocations: 102.1 MB / 1.469 GB, free: 94.53 MB / 0.9513 GB make -j1 -f AixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile make -j1 -f AixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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/AixLib 1.3.2/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.3.2/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o OMCppAixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp In file included from OMCppAixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:17: ./OMCppAixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:596:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[457] ^ ./OMCppAixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:592:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[453] ^ ./OMCppAixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:597:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[458] ^ ./OMCppAixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:594:13: note: previous definition is here #define _const1_P_y_ _pointerToRealVars[455] ^ In file included from OMCppAixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.o] Error 1