Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) 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/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) 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 AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo) Running command: "" <> buildModelFMU(AixLib.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo): time 1.69/1.69, allocations: 265.1 MB / 272.6 MB, free: 8.488 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 177 kB / 330.1 MB, free: 15.99 MB / 282.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 221.5 MB / 0.5946 GB, free: 14.17 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008517/0.0008518, allocations: 94.66 kB / 0.6998 GB, free: 2.32 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04837/0.04837, allocations: 11.9 MB / 0.8165 GB, free: 65.22 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003131/0.0003132, allocations: 10 kB / 0.9245 GB, free: 87.14 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 1.629e-05/1.631e-05, allocations: 0 / 1.04 GB, free: 8.574 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2138, allocations: 110.2 MB / 1.147 GB, free: 10.24 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.536/5.75, allocations: 2.179 GB / 3.326 GB, free: 256.7 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/5.75, allocations: 87.3 kB / 3.326 GB, free: 256.7 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 1.921/7.671, allocations: 0.633 GB / 3.959 GB, free: 43.1 MB / 0.9324 GB Notification: Performance of FrontEnd: time 2.124e-06/7.671, allocations: 0 / 3.959 GB, free: 43.1 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.000512/7.672, allocations: 67.66 kB / 3.959 GB, free: 43.04 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.009138/7.681, allocations: 2.641 MB / 3.962 GB, free: 40.34 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/7.681, allocations: 12.03 kB / 3.962 GB, free: 40.32 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/7.684, allocations: 463.7 kB / 3.962 GB, free: 39.87 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008741/7.693, allocations: 2.682 MB / 3.965 GB, free: 37.21 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/7.693, allocations: 96.16 kB / 3.965 GB, free: 37.11 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006085/7.694, allocations: 79.95 kB / 3.965 GB, free: 37.03 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002895/7.697, allocations: 1.051 MB / 3.966 GB, free: 35.97 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002937/7.7, allocations: 1.222 MB / 3.967 GB, free: 34.71 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/7.7, allocations: 3.906 kB / 3.967 GB, free: 34.7 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/7.7, allocations: 0 / 3.967 GB, free: 34.7 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.307e-05/7.7, allocations: 50.38 kB / 3.967 GB, free: 34.65 MB / 0.9324 GB Warning: The model contains alias variables with conflicting start and/or 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.01188/7.712, allocations: 6.419 MB / 3.974 GB, free: 27.9 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/7.714, allocations: 1.052 MB / 3.975 GB, free: 26.82 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008038/7.714, allocations: 0.5669 MB / 3.975 GB, free: 26.26 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004307/7.715, allocations: 300.4 kB / 3.975 GB, free: 25.91 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008545/7.716, allocations: 0.5767 MB / 3.976 GB, free: 25.32 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=113): time 4.017e-06/7.716, allocations: 0 / 3.976 GB, free: 25.32 MB / 0.9324 GB Notification: Performance of matching and sorting (n=113): time 0.003508/7.719, allocations: 1.405 MB / 3.977 GB, free: 23.9 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/7.719, allocations: 72.66 kB / 3.977 GB, free: 23.81 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00785/7.727, allocations: 3.362 MB / 3.981 GB, free: 20.44 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.0001872/7.727, allocations: 33.7 kB / 3.981 GB, free: 20.4 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.001291/7.729, allocations: 1.306 MB / 3.982 GB, free: 19.08 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/7.729, allocations: 358.7 kB / 3.982 GB, free: 18.73 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/7.729, allocations: 0 / 3.982 GB, free: 18.73 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0001222/7.729, allocations: 357.9 kB / 3.983 GB, free: 18.38 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006528/7.73, allocations: 402.5 kB / 3.983 GB, free: 17.98 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/7.731, allocations: 0.6656 MB / 3.984 GB, free: 17.21 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/7.732, allocations: 0.5279 MB / 3.984 GB, free: 16.69 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/7.732, allocations: 0 / 3.984 GB, free: 16.69 MB / 0.9324 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003269/7.735, allocations: 1.557 MB / 3.986 GB, free: 15.12 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/7.735, allocations: 4 kB / 3.986 GB, free: 15.11 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/7.735, allocations: 8 kB / 3.986 GB, free: 15.11 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005836/7.736, allocations: 219.6 kB / 3.986 GB, free: 14.89 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/7.737, allocations: 243.6 kB / 3.986 GB, free: 14.65 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/7.74, allocations: 4.034 MB / 3.99 GB, free: 10.38 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/7.742, allocations: 174.9 kB / 3.99 GB, free: 10.21 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/7.743, allocations: 48 kB / 3.99 GB, free: 10.16 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003291/7.743, allocations: 161.8 kB / 3.991 GB, free: 10 MB / 0.9324 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003078/7.746, allocations: 1.374 MB / 3.992 GB, free: 8.609 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009323/7.747, allocations: 288.5 kB / 3.992 GB, free: 8.324 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003751/7.751, allocations: 1.503 MB / 3.994 GB, free: 6.809 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/7.751, allocations: 8 kB / 3.994 GB, free: 6.801 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/7.751, allocations: 7.953 kB / 3.994 GB, free: 6.793 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002002/7.753, allocations: 1.307 MB / 3.995 GB, free: 5.43 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/7.764, allocations: 3.845 MB / 3.999 GB, free: 1.539 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/7.764, allocations: 160 / 3.999 GB, free: 1.539 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008039/7.765, allocations: 183.8 kB / 3.999 GB, free: 1.359 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005131/7.765, allocations: 201.5 kB / 3.999 GB, free: 1.156 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/7.765, allocations: 19.98 kB / 3.999 GB, free: 1.137 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8962/8.661, allocations: 4.039 MB / 4.003 GB, free: 162.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/8.661, allocations: 2.688 kB / 4.003 GB, free: 162.5 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005404/8.667, allocations: 2.301 MB / 4.005 GB, free: 162.2 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/8.668, allocations: 0.6266 MB / 4.006 GB, free: 161.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/8.669, allocations: 17.94 kB / 4.006 GB, free: 161.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/8.67, allocations: 101.2 kB / 4.006 GB, free: 161.9 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/8.67, allocations: 107.5 kB / 4.006 GB, free: 161.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.359e-05/8.67, allocations: 42.97 kB / 4.006 GB, free: 161.9 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.004668/8.675, allocations: 2.633 MB / 4.009 GB, free: 161.8 MB / 0.9324 GB Notification: Performance of sort global known variables: time 5e-07/8.675, allocations: 0 / 4.009 GB, free: 161.8 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.003129/8.678, allocations: 0.7155 MB / 4.009 GB, free: 161.7 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008329/8.686, allocations: 4.867 MB / 4.014 GB, free: 160.2 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.002859/8.689, allocations: 1.34 MB / 4.015 GB, free: 159.9 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/8.689, allocations: 0 / 4.015 GB, free: 159.9 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/8.691, allocations: 0.8421 MB / 4.016 GB, free: 159.7 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/8.695, allocations: 0.5127 MB / 4.017 GB, free: 159.7 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/8.71, allocations: 5.598 MB / 4.022 GB, free: 158.7 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/8.712, allocations: 1.98 MB / 4.024 GB, free: 157.9 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.001913/8.714, allocations: 432.6 kB / 4.025 GB, free: 157.9 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/8.715, allocations: 1.095 MB / 4.026 GB, free: 157.9 MB / 0.9324 GB Notification: Performance of SimCode: time 1.302e-06/8.715, allocations: 0 / 4.026 GB, free: 157.9 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1445/8.86, allocations: 59.8 MB / 4.084 GB, free: 156.2 MB / 0.9324 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/8.86, allocations: 195.5 kB / 4.084 GB, free: 156 MB / 0.9324 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c In file included from AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:963:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:963:82: error: expected expression AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:964:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1919:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1933:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1949:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1959:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1970:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2036:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2103:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2124:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2146:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2155:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2162:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2172:1: error: expected '}' ^ AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: AixLib_latest_AixLib_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o] Error 1