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.00153/0.00153, allocations: 104.5 kB / 16.27 MB, free: 6.355 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.001492/0.001492, allocations: 194.9 kB / 17.2 MB, free: 5.953 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 / 240.9 MB, free: 15.2 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.05803/0.05803, allocations: 12.04 MB / 303.1 MB, free: 3.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000552/0.0005519, allocations: 31.94 kB / 356.2 MB, free: 14.05 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.516/1.516, allocations: 268.2 MB / 0.6616 GB, free: 2.652 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 111.4 kB / 0.7809 GB, free: 132 kB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2268, allocations: 108.4 MB / 0.8867 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.6126/0.8395, allocations: 163.1 MB / 1.046 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.037/0.8765, allocations: 27.46 MB / 1.073 GB, free: 0.5664 MB / 0.7482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004578/0.8811, allocations: 83.62 kB / 1.073 GB, free: 496 kB / 0.7482 GB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.8836, allocations: 1.13 MB / 1.074 GB, free: 15.34 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.005771/0.8893, allocations: 1.887 MB / 1.076 GB, free: 13.45 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.005031/0.8944, allocations: 1.971 MB / 1.078 GB, free: 11.5 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.007104/0.9015, allocations: 5.842 MB / 1.083 GB, free: 5.648 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005943/0.9075, allocations: 4.878 MB / 1.088 GB, free: 0.6914 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.9113, allocations: 2.309 MB / 1.09 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004311/0.9156, allocations: 2.813 MB / 1.093 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001543/0.9172, allocations: 0.5273 MB / 1.094 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.9205, allocations: 1.105 MB / 1.095 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.9219, allocations: 1.363 MB / 1.096 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002955/0.9248, allocations: 2.387 MB / 1.098 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.007353/0.9322, allocations: 6.641 MB / 1.105 GB, free: 15.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9322, allocations: 3.938 kB / 1.105 GB, free: 15.49 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9322, allocations: 0 / 1.105 GB, free: 15.49 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001381/0.9324, allocations: 4 kB / 1.105 GB, free: 15.49 MB / 0.795 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.01022/0.9426, allocations: 5.098 MB / 1.11 GB, free: 10.32 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.9426, allocations: 8.031 kB / 1.11 GB, free: 10.31 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/0.9563, allocations: 2.838 MB / 1.113 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005352/0.9616, allocations: 2.492 MB / 1.115 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.9619, allocations: 279.5 kB / 1.115 GB, free: 4.621 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007927/0.9627, allocations: 372 kB / 1.116 GB, free: 4.258 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.9751, allocations: 5.724 MB / 1.121 GB, free: 14.47 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.56e-05/0.9751, allocations: 7.984 kB / 1.121 GB, free: 14.46 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/0.9756, allocations: 156 kB / 1.122 GB, free: 14.31 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.12e-05/0.9756, allocations: 95.94 kB / 1.122 GB, free: 14.22 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0153/0.9909, allocations: 6.858 MB / 1.128 GB, free: 7.352 MB / 0.8107 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.03019/1.021, allocations: 17.4 MB / 1.145 GB, free: 5.188 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/1.031, allocations: 4.478 MB / 1.15 GB, free: 0.7109 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006162/1.037, allocations: 2.94 MB / 1.153 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/1.039, allocations: 0.6815 MB / 1.153 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005914/1.044, allocations: 2.728 MB / 1.156 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=315): time 6.572e-06/1.044, allocations: 3.984 kB / 1.156 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=315): time 0.02511/1.07, allocations: 9.686 MB / 1.165 GB, free: 368 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.07, allocations: 222.4 kB / 1.166 GB, free: 100 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004679/1.074, allocations: 2.662 MB / 1.168 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004244/1.075, allocations: 81.81 kB / 1.168 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/1.076, allocations: 1.538 MB / 1.17 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/1.078, allocations: 1.051 MB / 1.171 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/1.079, allocations: 0.5408 MB / 1.171 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.079, allocations: 301.1 kB / 1.172 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005251/1.085, allocations: 2.179 MB / 1.174 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005595/1.09, allocations: 2.529 MB / 1.176 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/1.101, allocations: 4.7 MB / 1.181 GB, free: 308 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/1.101, allocations: 4 kB / 1.181 GB, free: 304 kB / 0.8575 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01285/1.114, allocations: 5.808 MB / 1.186 GB, free: 10.44 MB / 0.8732 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.114, allocations: 8.156 kB / 1.186 GB, free: 10.43 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.114, allocations: 4 kB / 1.186 GB, free: 10.43 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/1.115, allocations: 0.8434 MB / 1.187 GB, free: 9.582 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/1.119, allocations: 0.8152 MB / 1.188 GB, free: 8.762 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/1.131, allocations: 7.564 MB / 1.195 GB, free: 1.055 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00552/1.136, allocations: 0.5698 MB / 1.196 GB, free: 496 kB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/1.137, allocations: 127.8 kB / 1.196 GB, free: 368 kB / 0.8732 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.00396/1.141, allocations: 1.026 MB / 1.197 GB, free: 15.32 MB / 0.8888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001516/1.143, allocations: 312.2 kB / 1.197 GB, free: 15.01 MB / 0.8888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/1.16, allocations: 6.379 MB / 1.204 GB, free: 8.57 MB / 0.8888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/1.16, allocations: 32 kB / 1.204 GB, free: 8.539 MB / 0.8888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/1.16, allocations: 8 kB / 1.204 GB, free: 8.531 MB / 0.8888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.46e-05/1.16, allocations: 19.94 kB / 1.204 GB, free: 8.512 MB / 0.8888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/1.184, allocations: 10.71 MB / 1.214 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/1.184, allocations: 0 / 1.214 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004017/1.188, allocations: 0.7723 MB / 1.215 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/1.19, allocations: 0.7418 MB / 1.216 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003815/1.19, allocations: 91.92 kB / 1.216 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/1.202, allocations: 10.66 MB / 1.226 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.202, allocations: 3.938 kB / 1.226 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5092/1.711, allocations: 9.058 MB / 1.235 GB, free: 297.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/1.714, allocations: 0.8914 MB / 1.236 GB, free: 296.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000607/1.714, allocations: 70.11 kB / 1.236 GB, free: 296.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003335/1.718, allocations: 412.5 kB / 1.236 GB, free: 296.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006328/1.718, allocations: 206.7 kB / 1.237 GB, free: 296.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002853/1.719, allocations: 112.4 kB / 1.237 GB, free: 296.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003221/1.722, allocations: 1.925 MB / 1.239 GB, free: 296.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.6e-07/1.722, allocations: 0 / 1.239 GB, free: 296.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004046/1.726, allocations: 1.234 MB / 1.24 GB, free: 295.9 MB / 0.9044 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.002625/1.729, allocations: 1.034 MB / 1.241 GB, free: 295.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.02477/1.753, allocations: 9.33 MB / 1.25 GB, free: 293.9 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.753, allocations: 0.5625 kB / 1.25 GB, free: 293.9 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00755/1.761, allocations: 3.32 MB / 1.253 GB, free: 292.6 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/1.765, allocations: 0.775 MB / 1.254 GB, free: 292.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/1.782, allocations: 8.969 MB / 1.263 GB, free: 288.7 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/1.785, allocations: 2.628 MB / 1.265 GB, free: 287.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00218/1.787, allocations: 315.9 kB / 1.265 GB, free: 287.6 MB / 0.9044 GB Notification: Performance of SimCode: time 7.42e-07/1.787, allocations: 3.609 kB / 1.265 GB, free: 287.6 MB / 0.9044 GB Notification: Performance of Templates: time 0.1044/1.892, allocations: 101.7 MB / 1.365 GB, free: 197.9 MB / 0.9044 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