Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.824/1.824, allocations: 265.3 MB / 272.8 MB, free: 13.46 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 173.4 kB / 330.2 MB, free: 6.824 MB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.963/1.963, allocations: 221.5 MB / 0.5947 GB, free: 9.641 MB / 442.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 94.81 kB / 0.7 GB, free: 2.875 MB / 0.5262 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.6131/0.6131, allocations: 11.88 MB / 0.8167 GB, free: 131.8 MB / 0.6355 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.0004125/0.0004127, allocations: 11.98 kB / 0.9247 GB, free: 66.25 MB / 0.6355 GB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.195e-05, allocations: 4 kB / 1.04 GB, free: 12.08 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7799/0.78, allocations: 110.2 MB / 1.148 GB, free: 159.4 MB / 0.7293 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.802/7.582, allocations: 2.173 GB / 3.32 GB, free: 272.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/7.582, allocations: 91.05 kB / 3.32 GB, free: 272.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1379/7.72, allocations: 67.39 MB / 3.386 GB, free: 204.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.905e-06/7.72, allocations: 0 / 3.386 GB, free: 204.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002758/7.72, allocations: 28 kB / 3.386 GB, free: 204.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00415/7.725, allocations: 1.373 MB / 3.388 GB, free: 203.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/7.725, allocations: 11.97 kB / 3.388 GB, free: 203.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009371/7.726, allocations: 166 kB / 3.388 GB, free: 203.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004687/7.73, allocations: 1.552 MB / 3.389 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/7.731, allocations: 59 kB / 3.389 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/7.731, allocations: 39.92 kB / 3.389 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008865/7.732, allocations: 346.5 kB / 3.39 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/7.733, allocations: 461.1 kB / 3.39 GB, free: 200.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/7.733, allocations: 7.891 kB / 3.39 GB, free: 200.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/7.733, allocations: 7.953 kB / 3.39 GB, free: 200.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/7.733, allocations: 12 kB / 3.39 GB, free: 200.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00509/7.738, allocations: 2.851 MB / 3.393 GB, free: 197.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/7.739, allocations: 399.8 kB / 3.393 GB, free: 197.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/7.739, allocations: 263.3 kB / 3.394 GB, free: 196.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/7.739, allocations: 12.33 kB / 3.394 GB, free: 196.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004403/7.739, allocations: 272.4 kB / 3.394 GB, free: 196.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 4.558e-06/7.74, allocations: 3.984 kB / 3.394 GB, free: 196.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.001455/7.741, allocations: 0.6599 MB / 3.394 GB, free: 195.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/7.741, allocations: 59.84 kB / 3.394 GB, free: 195.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003238/7.744, allocations: 1.768 MB / 3.396 GB, free: 194 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/7.744, allocations: 29.69 kB / 3.396 GB, free: 194 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000461/7.745, allocations: 0.597 MB / 3.397 GB, free: 193.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/7.745, allocations: 157.7 kB / 3.397 GB, free: 193.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/7.745, allocations: 0 / 3.397 GB, free: 193.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.598e-05/7.745, allocations: 338 kB / 3.397 GB, free: 192.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/7.745, allocations: 165.5 kB / 3.397 GB, free: 192.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/7.746, allocations: 269.6 kB / 3.398 GB, free: 192.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/7.746, allocations: 194.3 kB / 3.398 GB, free: 192.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/7.746, allocations: 7.953 kB / 3.398 GB, free: 192.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001359/7.747, allocations: 0.7303 MB / 3.399 GB, free: 191.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/7.747, allocations: 8 kB / 3.399 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/7.747, allocations: 7.938 kB / 3.399 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/7.748, allocations: 153.3 kB / 3.399 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/7.748, allocations: 119.8 kB / 3.399 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/7.751, allocations: 2.541 MB / 3.401 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/7.752, allocations: 83.55 kB / 3.401 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/7.752, allocations: 24 kB / 3.401 GB, free: 188.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001768/7.752, allocations: 127.1 kB / 3.402 GB, free: 188.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001272/7.754, allocations: 0.6676 MB / 3.402 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/7.754, allocations: 142.2 kB / 3.402 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/7.755, allocations: 0.7212 MB / 3.403 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/7.755, allocations: 8 kB / 3.403 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/7.755, allocations: 0 / 3.403 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/7.755, allocations: 3.984 kB / 3.403 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/7.758, allocations: 1.836 MB / 3.405 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/7.758, allocations: 0 / 3.405 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/7.758, allocations: 67.89 kB / 3.405 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004093/7.759, allocations: 175.4 kB / 3.405 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.936e-05/7.759, allocations: 4 kB / 3.405 GB, free: 184.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/7.762, allocations: 3.883 MB / 3.409 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/7.762, allocations: 3.047 kB / 3.409 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/7.764, allocations: 1.005 MB / 3.41 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/7.764, allocations: 347.2 kB / 3.41 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/7.764, allocations: 15.94 kB / 3.41 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/7.765, allocations: 47.91 kB / 3.41 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/7.765, allocations: 60.47 kB / 3.41 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/7.765, allocations: 19.98 kB / 3.41 GB, free: 178.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001672/7.767, allocations: 1.388 MB / 3.412 GB, free: 177.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.767, allocations: 0 / 3.412 GB, free: 177.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001285/7.768, allocations: 331.4 kB / 3.412 GB, free: 177.2 MB / 0.948 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003303/7.771, allocations: 2.445 MB / 3.414 GB, free: 174.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001171/7.772, allocations: 0.6254 MB / 3.415 GB, free: 174.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/7.772, allocations: 4.062 kB / 3.415 GB, free: 174.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/7.773, allocations: 0.509 MB / 3.416 GB, free: 173.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/7.774, allocations: 192.2 kB / 3.416 GB, free: 173.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/7.778, allocations: 2.677 MB / 3.418 GB, free: 170.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007693/7.779, allocations: 1.282 MB / 3.42 GB, free: 169.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004092/7.78, allocations: 157.9 kB / 3.42 GB, free: 169.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/7.78, allocations: 499.3 kB / 3.42 GB, free: 168.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.01e-07/7.78, allocations: 0 / 3.42 GB, free: 168.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06247/7.843, allocations: 27.7 MB / 3.447 GB, free: 141.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/7.843, allocations: 179.7 kB / 3.447 GB, free: 141.1 MB / 0.948 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_TestCase6 -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_TestCase6_FMU.o AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c In file included from AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_TestCase6_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_TestCase6_FMU.c:513: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_TestCase6_FMU.c:513:82: error: expected expression AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:514:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:999:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1013:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1029:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1039:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1050:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1080:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1111:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1125:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1140:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1149:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1156:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1166:1: error: expected '}' ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_TestCase6_FMU.o] Error 1