Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.VDI6007.TestCase4,fileNamePrefix="AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.931/1.931, allocations: 265.1 MB / 272.6 MB, free: 8.492 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.001136/0.001136, allocations: 184.9 kB / 330.1 MB, free: 4 kB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.5 MB / 0.5946 GB, free: 14.18 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.001005/0.001006, allocations: 102.5 kB / 0.6998 GB, free: 2.316 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05267/0.05267, allocations: 11.9 MB / 0.8165 GB, free: 65.24 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.0006132/0.0006129, allocations: 27.22 kB / 0.9245 GB, free: 87.07 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.992e-05, allocations: 0 / 1.04 GB, free: 8.578 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2897, allocations: 110.2 MB / 1.147 GB, free: 10.25 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.725/7.015, allocations: 2.172 GB / 3.32 GB, free: 21.05 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/7.015, allocations: 91.94 kB / 3.32 GB, free: 20.96 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 0.9002/7.916, allocations: 64.25 MB / 3.383 GB, free: 272.5 MB / 0.9324 GB Notification: Performance of FrontEnd: time 1.433e-06/7.916, allocations: 0 / 3.383 GB, free: 272.5 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.0001836/7.916, allocations: 26.83 kB / 3.383 GB, free: 272.5 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003191/7.919, allocations: 1.228 MB / 3.384 GB, free: 271.8 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/7.919, allocations: 9.906 kB / 3.384 GB, free: 271.8 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000619/7.92, allocations: 137.2 kB / 3.384 GB, free: 271.7 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/7.924, allocations: 1.447 MB / 3.385 GB, free: 271.3 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/7.924, allocations: 65.89 kB / 3.385 GB, free: 271.3 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/7.924, allocations: 28.44 kB / 3.385 GB, free: 271.3 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007867/7.925, allocations: 320.5 kB / 3.386 GB, free: 271.2 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007782/7.926, allocations: 421.6 kB / 3.386 GB, free: 271 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/7.926, allocations: 3.906 kB / 3.386 GB, free: 271 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/7.926, allocations: 0 / 3.386 GB, free: 271 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/7.926, allocations: 14.3 kB / 3.386 GB, free: 271 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/7.93, allocations: 2.631 MB / 3.389 GB, free: 269.3 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/7.931, allocations: 364.7 kB / 3.389 GB, free: 269.1 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/7.932, allocations: 239.5 kB / 3.389 GB, free: 269 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/7.932, allocations: 7.484 kB / 3.389 GB, free: 269 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/7.932, allocations: 250 kB / 3.39 GB, free: 268.9 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=45): time 2.575e-06/7.932, allocations: 3.938 kB / 3.39 GB, free: 268.9 MB / 0.9324 GB Notification: Performance of matching and sorting (n=45): time 0.001276/7.933, allocations: 0.5863 MB / 3.39 GB, free: 268.7 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/7.933, allocations: 57.81 kB / 3.39 GB, free: 268.6 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/7.936, allocations: 1.463 MB / 3.392 GB, free: 268.1 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/7.936, allocations: 28.73 kB / 3.392 GB, free: 268 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/7.937, allocations: 0.5104 MB / 3.392 GB, free: 267.6 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/7.937, allocations: 133.5 kB / 3.392 GB, free: 267.5 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/7.937, allocations: 0 / 3.392 GB, free: 267.5 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/7.937, allocations: 330.6 kB / 3.393 GB, free: 267.2 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/7.937, allocations: 147.3 kB / 3.393 GB, free: 267.2 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/7.938, allocations: 257.8 kB / 3.393 GB, free: 267 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/7.938, allocations: 180 kB / 3.393 GB, free: 266.9 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/7.938, allocations: 3 kB / 3.393 GB, free: 266.9 MB / 0.9324 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001251/7.939, allocations: 0.6665 MB / 3.394 GB, free: 266.6 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/7.939, allocations: 6.375 kB / 3.394 GB, free: 266.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/7.939, allocations: 2.938 kB / 3.394 GB, free: 266.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004571/7.94, allocations: 156.9 kB / 3.394 GB, free: 266.6 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/7.94, allocations: 102.8 kB / 3.394 GB, free: 266.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/7.943, allocations: 2.514 MB / 3.397 GB, free: 264.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/7.943, allocations: 79 kB / 3.397 GB, free: 264.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/7.943, allocations: 23.7 kB / 3.397 GB, free: 264.6 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001488/7.944, allocations: 127.8 kB / 3.397 GB, free: 264.5 MB / 0.9324 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001077/7.945, allocations: 0.5984 MB / 3.397 GB, free: 264.2 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/7.945, allocations: 122.6 kB / 3.397 GB, free: 264.2 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/7.946, allocations: 0.6427 MB / 3.398 GB, free: 263.9 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/7.946, allocations: 9.875 kB / 3.398 GB, free: 263.9 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/7.946, allocations: 2.938 kB / 3.398 GB, free: 263.9 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/7.946, allocations: 3.422 kB / 3.398 GB, free: 263.9 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/7.949, allocations: 1.607 MB / 3.4 GB, free: 263.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/7.949, allocations: 3.156 kB / 3.4 GB, free: 263.2 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/7.949, allocations: 47.33 kB / 3.4 GB, free: 263.2 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004155/7.95, allocations: 171.5 kB / 3.4 GB, free: 263.1 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/7.95, allocations: 10.64 kB / 3.4 GB, free: 263.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00316/7.953, allocations: 3.816 MB / 3.404 GB, free: 259.9 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/7.953, allocations: 0 / 3.404 GB, free: 259.9 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/7.954, allocations: 0.9108 MB / 3.404 GB, free: 259.4 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005076/7.955, allocations: 298.6 kB / 3.405 GB, free: 259.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/7.955, allocations: 10.12 kB / 3.405 GB, free: 259.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004165/7.955, allocations: 46.91 kB / 3.405 GB, free: 259.2 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/7.956, allocations: 57.17 kB / 3.405 GB, free: 259.2 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/7.956, allocations: 16.92 kB / 3.405 GB, free: 259.2 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.001697/7.957, allocations: 1.146 MB / 3.406 GB, free: 258.8 MB / 0.9324 GB Notification: Performance of sort global known variables: time 3.11e-07/7.957, allocations: 0 / 3.406 GB, free: 258.8 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001277/7.959, allocations: 292.1 kB / 3.406 GB, free: 258.7 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003294/7.962, allocations: 2.335 MB / 3.409 GB, free: 257.4 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.001149/7.963, allocations: 0.5775 MB / 3.409 GB, free: 257.1 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/7.963, allocations: 0 / 3.409 GB, free: 257.1 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0007067/7.964, allocations: 0.4908 MB / 3.41 GB, free: 256.8 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/7.965, allocations: 169.4 kB / 3.41 GB, free: 256.8 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/7.97, allocations: 2.252 MB / 3.412 GB, free: 256 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009095/7.971, allocations: 1.178 MB / 3.413 GB, free: 255.2 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.0004385/7.971, allocations: 149.2 kB / 3.413 GB, free: 255.2 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/7.972, allocations: 392.6 kB / 3.414 GB, free: 254.9 MB / 0.9324 GB Notification: Performance of SimCode: time 1.543e-06/7.972, allocations: 0 / 3.414 GB, free: 254.9 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0698/8.042, allocations: 24.6 MB / 3.438 GB, free: 252.8 MB / 0.9324 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/8.042, allocations: 173.1 kB / 3.438 GB, free: 252.6 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. -DOMC_MODEL_PREFIX=AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c In file included from AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:439: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_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:439:82: error: expected expression AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:440:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:847:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:861:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:877:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:887:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:898:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:924:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:951:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:963:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:976:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:985:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:992:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:1002:1: error: expected '}' ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o] Error 1