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.000815/0.000815, allocations: 92.62 kB / 16.02 MB, free: 80 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.0009048/0.0009048, allocations: 176.9 kB / 16.92 MB, free: 6.652 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.293 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.2047/0.2047, allocations: 12.03 MB / 304.1 MB, free: 1.605 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002301/0.0002301, allocations: 15.97 kB / 358.2 MB, free: 3.059 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.85/1.85, allocations: 270.9 MB / 0.6672 GB, free: 15.26 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004985, allocations: 14.78 kB / 0.7887 GB, free: 31.3 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.204, allocations: 111 MB / 0.8971 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6005/0.8045, allocations: 158.5 MB / 1.052 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03186/0.8364, allocations: 26.97 MB / 1.078 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004258/0.8407, allocations: 76.09 kB / 1.078 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.8433, allocations: 0.9963 MB / 1.079 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006684/0.85, allocations: 1.719 MB / 1.081 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005661/0.8557, allocations: 1.754 MB / 1.083 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009076/0.8648, allocations: 6.152 MB / 1.089 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006648/0.8715, allocations: 3.98 MB / 1.093 GB, free: 20.99 MB / 0.7482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.8756, allocations: 1.587 MB / 1.094 GB, free: 20.99 MB / 0.7482 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004381/0.88, allocations: 2.223 MB / 1.096 GB, free: 20.64 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.8811, allocations: 138.8 kB / 1.096 GB, free: 20.64 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003063/0.8841, allocations: 0.7409 MB / 1.097 GB, free: 20.61 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.0009046/0.8851, allocations: 0.8766 MB / 1.098 GB, free: 20.44 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.00299/0.8881, allocations: 1.851 MB / 1.1 GB, free: 19.73 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.005373/0.8934, allocations: 5.114 MB / 1.105 GB, free: 19.15 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8935, allocations: 0 / 1.105 GB, free: 19.15 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8935, allocations: 0 / 1.105 GB, free: 19.15 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.0002018/0.8937, allocations: 0 / 1.105 GB, free: 19.15 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.008918/0.9026, allocations: 4.322 MB / 1.109 GB, free: 16.53 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9027, allocations: 8.844 kB / 1.109 GB, free: 16.53 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.9166, allocations: 2.945 MB / 1.112 GB, free: 15.18 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.9219, allocations: 2.525 MB / 1.114 GB, free: 14.13 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/0.9221, allocations: 275.5 kB / 1.115 GB, free: 14.12 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009836/0.9231, allocations: 368.8 kB / 1.115 GB, free: 14.05 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.9368, allocations: 5.78 MB / 1.121 GB, free: 10.79 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.987e-05/0.9369, allocations: 2.156 kB / 1.121 GB, free: 10.79 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004271/0.9373, allocations: 152 kB / 1.121 GB, free: 10.67 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.899e-05/0.9374, allocations: 96.75 kB / 1.121 GB, free: 10.67 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/0.9543, allocations: 6.948 MB / 1.128 GB, free: 7.316 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.03536/0.9897, allocations: 17.41 MB / 1.145 GB, free: 9.867 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/1, allocations: 4.493 MB / 1.149 GB, free: 5.391 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006756/1.007, allocations: 2.951 MB / 1.152 GB, free: 2.43 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/1.008, allocations: 0.6832 MB / 1.153 GB, free: 1.633 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006943/1.015, allocations: 2.723 MB / 1.155 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=315): time 6.442e-06/1.015, allocations: 0 / 1.155 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=315): time 0.02877/1.044, allocations: 9.756 MB / 1.165 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.044, allocations: 220.9 kB / 1.165 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004506/1.049, allocations: 2.654 MB / 1.168 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0008833/1.05, allocations: 85.7 kB / 1.168 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001493/1.051, allocations: 1.534 MB / 1.169 GB, free: 468 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001709/1.053, allocations: 1.058 MB / 1.17 GB, free: 15.41 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008909/1.054, allocations: 223.4 kB / 1.17 GB, free: 15.19 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/1.054, allocations: 301.1 kB / 1.171 GB, free: 14.89 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005685/1.06, allocations: 2.187 MB / 1.173 GB, free: 12.7 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006012/1.066, allocations: 2.539 MB / 1.175 GB, free: 10.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.077, allocations: 4.715 MB / 1.18 GB, free: 5.301 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/1.077, allocations: 0 / 1.18 GB, free: 5.301 MB / 0.795 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01619/1.094, allocations: 5.818 MB / 1.186 GB, free: 15.49 MB / 0.8107 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.094, allocations: 4 kB / 1.186 GB, free: 15.48 MB / 0.8107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.094, allocations: 4 kB / 1.186 GB, free: 15.48 MB / 0.8107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/1.096, allocations: 0.8459 MB / 1.186 GB, free: 14.64 MB / 0.8107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/1.1, allocations: 0.8079 MB / 1.187 GB, free: 13.86 MB / 0.8107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.111, allocations: 7.004 MB / 1.194 GB, free: 6.734 MB / 0.8107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00467/1.116, allocations: 0.6023 MB / 1.195 GB, free: 6.129 MB / 0.8107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008367/1.116, allocations: 119.9 kB / 1.195 GB, free: 6.012 MB / 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.003284/1.12, allocations: 1.031 MB / 1.196 GB, free: 5 MB / 0.8107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.121, allocations: 312.1 kB / 1.196 GB, free: 4.691 MB / 0.8107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01626/1.137, allocations: 6.391 MB / 1.202 GB, free: 14.27 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.428e-05/1.137, allocations: 35.94 kB / 1.202 GB, free: 14.23 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/1.137, allocations: 8 kB / 1.202 GB, free: 14.23 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.855e-05/1.137, allocations: 22.84 kB / 1.202 GB, free: 14.21 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/1.161, allocations: 10.73 MB / 1.213 GB, free: 3.461 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.161, allocations: 0 / 1.213 GB, free: 3.461 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004135/1.165, allocations: 0.7718 MB / 1.214 GB, free: 2.711 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/1.167, allocations: 0.7369 MB / 1.214 GB, free: 1.965 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005507/1.167, allocations: 91.92 kB / 1.214 GB, free: 1.875 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/1.179, allocations: 9.813 MB / 1.224 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.179, allocations: 2.906 kB / 1.224 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02218/1.201, allocations: 9.086 MB / 1.233 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00267/1.204, allocations: 0.9335 MB / 1.234 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.205, allocations: 64 kB / 1.234 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004085/1.209, allocations: 444 kB / 1.234 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007831/1.21, allocations: 217.1 kB / 1.234 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005282/1.211, allocations: 107.9 kB / 1.235 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003539/1.214, allocations: 1.924 MB / 1.236 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.044e-06/1.214, allocations: 4.094 kB / 1.236 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004753/1.219, allocations: 1.231 MB / 1.238 GB, free: 9.602 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.003075/1.222, allocations: 1.032 MB / 1.239 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01389/1.236, allocations: 5.512 MB / 1.244 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.236, allocations: 0 / 1.244 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.008067/1.244, allocations: 3.34 MB / 1.247 GB, free: 116 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005381/1.25, allocations: 0.7243 MB / 1.248 GB, free: 15.4 MB / 0.8732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/1.27, allocations: 10.76 MB / 1.258 GB, free: 4.605 MB / 0.8732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003158/1.273, allocations: 2.629 MB / 1.261 GB, free: 1.945 MB / 0.8732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002533/1.276, allocations: 315.2 kB / 1.261 GB, free: 1.637 MB / 0.8732 GB Notification: Performance of SimCode: time 9.01e-07/1.276, allocations: 0 / 1.261 GB, free: 1.637 MB / 0.8732 GB Notification: Performance of Templates: time 0.1255/1.401, allocations: 101 MB / 1.36 GB, free: 12.81 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