Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_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.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="AixLib_latest_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.001376/0.001376, 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.001383/0.001383, allocations: 196 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.609 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.1976/0.1976, allocations: 12 MB / 302.6 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005529/0.0005531, allocations: 31.89 kB / 355.7 MB, free: 4.086 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.959/1.959, allocations: 272.2 MB / 0.665 GB, free: 13.15 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 107.7 kB / 0.7848 GB, free: 31.81 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2496, allocations: 109.2 MB / 0.8914 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.7015/0.9511, allocations: 160.7 MB / 1.048 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03682/0.988, allocations: 27.26 MB / 1.075 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005428/0.9935, allocations: 80.05 kB / 1.075 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003192/0.9967, allocations: 0.998 MB / 1.076 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006995/1.004, allocations: 1.715 MB / 1.078 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006112/1.01, allocations: 1.757 MB / 1.079 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009493/1.019, allocations: 6.167 MB / 1.085 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00704/1.026, allocations: 4.344 MB / 1.09 GB, free: 21.3 MB / 0.7482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004594/1.031, allocations: 1.925 MB / 1.092 GB, free: 20.98 MB / 0.7482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006126/1.037, allocations: 2.645 MB / 1.094 GB, free: 20.52 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.001266/1.039, allocations: 288.4 kB / 1.094 GB, free: 20.52 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/1.042, allocations: 0.8933 MB / 1.095 GB, free: 20.44 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/1.043, allocations: 1.106 MB / 1.096 GB, free: 19.91 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.0034/1.047, allocations: 2.119 MB / 1.098 GB, free: 18.6 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.005666/1.052, allocations: 5.243 MB / 1.104 GB, free: 17.12 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.052, allocations: 4.562 kB / 1.104 GB, free: 17.11 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.564e-06/1.052, allocations: 3.469 kB / 1.104 GB, free: 17.11 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.0001992/1.053, allocations: 0 / 1.104 GB, free: 17.11 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01214/1.065, allocations: 5.09 MB / 1.109 GB, free: 13.77 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.065, allocations: 15.5 kB / 1.109 GB, free: 13.77 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/1.079, allocations: 2.831 MB / 1.111 GB, free: 12.41 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005886/1.085, allocations: 2.513 MB / 1.114 GB, free: 10.78 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/1.085, allocations: 282.8 kB / 1.114 GB, free: 10.65 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008692/1.086, allocations: 364.7 kB / 1.114 GB, free: 10.54 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/1.099, allocations: 5.737 MB / 1.12 GB, free: 7.27 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.762e-05/1.099, allocations: 10.22 kB / 1.12 GB, free: 7.266 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004174/1.099, allocations: 150.7 kB / 1.12 GB, free: 7.148 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/1.099, allocations: 95.34 kB / 1.12 GB, free: 7.145 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/1.117, allocations: 6.856 MB / 1.127 GB, free: 3.801 MB / 0.7482 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.03997/1.157, allocations: 17.36 MB / 1.144 GB, free: 4.336 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01059/1.168, allocations: 4.5 MB / 1.148 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006378/1.174, allocations: 2.939 MB / 1.151 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1.176, allocations: 0.6754 MB / 1.152 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007294/1.183, allocations: 2.732 MB / 1.154 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=315): time 8.626e-06/1.183, allocations: 0 / 1.154 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of matching and sorting (n=315): time 0.02802/1.211, allocations: 9.696 MB / 1.164 GB, free: 15.55 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.211, allocations: 218.4 kB / 1.164 GB, free: 15.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005183/1.216, allocations: 2.65 MB / 1.167 GB, free: 12.63 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0007997/1.217, allocations: 77.7 kB / 1.167 GB, free: 12.55 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/1.219, allocations: 1.551 MB / 1.168 GB, free: 10.99 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001713/1.221, allocations: 1.045 MB / 1.169 GB, free: 9.953 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002306/1.223, allocations: 0.5408 MB / 1.17 GB, free: 9.406 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.223, allocations: 309.1 kB / 1.17 GB, free: 9.102 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00544/1.229, allocations: 2.176 MB / 1.172 GB, free: 6.918 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005873/1.234, allocations: 2.524 MB / 1.175 GB, free: 4.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.246, allocations: 4.709 MB / 1.179 GB, free: 15.55 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/1.246, allocations: 0 / 1.179 GB, free: 15.55 MB / 0.8107 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.0151/1.261, allocations: 5.806 MB / 1.185 GB, free: 9.746 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/1.261, allocations: 8 kB / 1.185 GB, free: 9.738 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.261, allocations: 7.984 kB / 1.185 GB, free: 9.73 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/1.263, allocations: 0.8383 MB / 1.186 GB, free: 8.895 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004472/1.267, allocations: 0.8077 MB / 1.187 GB, free: 8.113 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.279, allocations: 6.996 MB / 1.193 GB, free: 1 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005066/1.284, allocations: 0.5828 MB / 1.194 GB, free: 424 kB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/1.285, allocations: 123.9 kB / 1.194 GB, free: 300 kB / 0.8107 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.004743/1.29, allocations: 1.026 MB / 1.195 GB, free: 15.29 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002639/1.292, allocations: 312.1 kB / 1.195 GB, free: 14.98 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/1.312, allocations: 6.387 MB / 1.202 GB, free: 8.562 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.136e-05/1.312, allocations: 35.94 kB / 1.202 GB, free: 8.527 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.34e-05/1.312, allocations: 12 kB / 1.202 GB, free: 8.516 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.098e-05/1.312, allocations: 15.94 kB / 1.202 GB, free: 8.5 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02565/1.338, allocations: 10.72 MB / 1.212 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.338, allocations: 4 kB / 1.212 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004059/1.342, allocations: 0.7702 MB / 1.213 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/1.344, allocations: 0.7341 MB / 1.214 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005107/1.344, allocations: 82.38 kB / 1.214 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/1.357, allocations: 9.789 MB / 1.223 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.357, allocations: 6.375 kB / 1.223 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02294/1.379, allocations: 9.07 MB / 1.232 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002799/1.382, allocations: 0.9024 MB / 1.233 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/1.384, allocations: 71.84 kB / 1.233 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00399/1.388, allocations: 427.3 kB / 1.234 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007769/1.388, allocations: 214.2 kB / 1.234 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005068/1.389, allocations: 107.9 kB / 1.234 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003859/1.393, allocations: 1.92 MB / 1.236 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.647e-06/1.393, allocations: 0 / 1.236 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005646/1.399, allocations: 1.231 MB / 1.237 GB, free: 4.004 MB / 0.8575 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.00366/1.402, allocations: 1.04 MB / 1.238 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01443/1.417, allocations: 5.5 MB / 1.243 GB, free: 13.85 MB / 0.8732 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.417, allocations: 8.688 kB / 1.243 GB, free: 13.84 MB / 0.8732 GB Notification: Performance of simCode: created simulation system equations: time 0.00778/1.424, allocations: 3.324 MB / 1.247 GB, free: 10.54 MB / 0.8732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00519/1.43, allocations: 0.7176 MB / 1.247 GB, free: 9.832 MB / 0.8732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/1.451, allocations: 10.62 MB / 1.258 GB, free: 15.17 MB / 0.8888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003638/1.454, allocations: 2.621 MB / 1.26 GB, free: 12.52 MB / 0.8888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003005/1.457, allocations: 323.2 kB / 1.261 GB, free: 12.21 MB / 0.8888 GB Notification: Performance of SimCode: time 1.413e-06/1.457, allocations: 0 / 1.261 GB, free: 12.21 MB / 0.8888 GB Notification: Performance of Templates: time 0.1353/1.593, allocations: 101.6 MB / 1.36 GB, free: 6.781 MB / 0.9825 GB make -j1 -f AixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile make -j1 -f AixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElementsCalcHelperMain.o OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp In file included from OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:17: ./OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:597:13: warning: '_const1_P_k_' macro redefined [-Wmacro-redefined] #define _const1_P_k_ _pointerToRealVars[457] ^ ./OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:593:13: note: previous definition is here #define _const1_P_k_ _pointerToRealVars[453] ^ ./OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:598:13: warning: '_const1_P_y_' macro redefined [-Wmacro-redefined] #define _const1_P_y_ _pointerToRealVars[458] ^ ./OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.h:595:13: note: previous definition is here #define _const1_P_y_ _pointerToRealVars[455] ^ In file included from OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsFunctions.cpp:7: /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.SimpleRoomFourElementsCalcHelperMain.o] Error 1