Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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 2.107/2.107, allocations: 265.1 MB / 272.6 MB, free: 8.457 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.001977/0.001977, allocations: 181 kB / 330.1 MB, free: 15.98 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.679/1.679, allocations: 221.5 MB / 0.5946 GB, free: 14.24 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.001495/0.001495, allocations: 103.1 kB / 0.6998 GB, free: 2.367 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0548/0.0548, allocations: 11.9 MB / 0.8165 GB, free: 65.25 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.0003911/0.0003912, allocations: 15.34 kB / 0.9245 GB, free: 87 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.978e-05, allocations: 11.92 kB / 1.04 GB, free: 8.582 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3172, allocations: 110.2 MB / 1.147 GB, free: 10.25 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.092/6.409, allocations: 2.172 GB / 3.32 GB, free: 19.85 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/6.409, allocations: 89.08 kB / 3.32 GB, free: 19.76 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 0.8342/7.243, allocations: 64.24 MB / 3.383 GB, free: 273 MB / 0.9324 GB Notification: Performance of FrontEnd: time 2.504e-06/7.244, allocations: 0 / 3.383 GB, free: 273 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.0002503/7.244, allocations: 23.47 kB / 3.383 GB, free: 273 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.003872/7.248, allocations: 1.229 MB / 3.384 GB, free: 272.3 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/7.248, allocations: 9.812 kB / 3.384 GB, free: 272.3 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007587/7.249, allocations: 141.4 kB / 3.384 GB, free: 272.2 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004805/7.253, allocations: 1.444 MB / 3.385 GB, free: 271.6 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/7.254, allocations: 67.66 kB / 3.385 GB, free: 271.6 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/7.254, allocations: 29.97 kB / 3.385 GB, free: 271.6 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009065/7.255, allocations: 319.8 kB / 3.386 GB, free: 271.5 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009144/7.256, allocations: 423.9 kB / 3.386 GB, free: 271.3 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/7.256, allocations: 3.906 kB / 3.386 GB, free: 271.3 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/7.256, allocations: 0 / 3.386 GB, free: 271.3 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/7.256, allocations: 14.45 kB / 3.386 GB, free: 271.3 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004885/7.261, allocations: 2.565 MB / 3.389 GB, free: 269.6 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007511/7.261, allocations: 353.8 kB / 3.389 GB, free: 269.4 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/7.262, allocations: 266.4 kB / 3.389 GB, free: 269.3 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/7.262, allocations: 10.77 kB / 3.389 GB, free: 269.3 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/7.262, allocations: 233.7 kB / 3.389 GB, free: 269.2 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=44): time 3.176e-06/7.262, allocations: 0 / 3.389 GB, free: 269.2 MB / 0.9324 GB Notification: Performance of matching and sorting (n=44): time 0.001394/7.264, allocations: 0.5602 MB / 3.39 GB, free: 269 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/7.264, allocations: 62.09 kB / 3.39 GB, free: 268.9 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/7.267, allocations: 1.468 MB / 3.392 GB, free: 268.4 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/7.267, allocations: 28.67 kB / 3.392 GB, free: 268.3 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/7.268, allocations: 0.5199 MB / 3.392 GB, free: 267.9 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/7.268, allocations: 137.8 kB / 3.392 GB, free: 267.8 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/7.268, allocations: 0 / 3.392 GB, free: 267.8 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/7.268, allocations: 326.8 kB / 3.393 GB, free: 267.5 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/7.268, allocations: 147.8 kB / 3.393 GB, free: 267.5 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/7.269, allocations: 271.8 kB / 3.393 GB, free: 267.3 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/7.269, allocations: 182.5 kB / 3.393 GB, free: 267.2 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/7.269, allocations: 2.938 kB / 3.393 GB, free: 267.2 MB / 0.9324 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001329/7.271, allocations: 0.6512 MB / 3.394 GB, free: 266.9 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/7.271, allocations: 6.062 kB / 3.394 GB, free: 266.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/7.271, allocations: 6.906 kB / 3.394 GB, free: 266.9 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004448/7.271, allocations: 139.4 kB / 3.394 GB, free: 266.9 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/7.271, allocations: 111.7 kB / 3.394 GB, free: 266.8 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/7.274, allocations: 2.251 MB / 3.396 GB, free: 265.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007717/7.275, allocations: 82.06 kB / 3.396 GB, free: 265 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/7.275, allocations: 20 kB / 3.396 GB, free: 265 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/7.275, allocations: 131.2 kB / 3.396 GB, free: 264.9 MB / 0.9324 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001175/7.277, allocations: 0.562 MB / 3.397 GB, free: 264.7 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/7.277, allocations: 127.5 kB / 3.397 GB, free: 264.6 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/7.278, allocations: 0.6143 MB / 3.398 GB, free: 264.3 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/7.278, allocations: 10.41 kB / 3.398 GB, free: 264.3 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/7.278, allocations: 7.156 kB / 3.398 GB, free: 264.3 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/7.278, allocations: 3.328 kB / 3.398 GB, free: 264.3 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/7.282, allocations: 1.55 MB / 3.399 GB, free: 263.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/7.282, allocations: 0 / 3.399 GB, free: 263.6 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/7.283, allocations: 54.44 kB / 3.399 GB, free: 263.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/7.283, allocations: 157.4 kB / 3.399 GB, free: 263.6 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/7.283, allocations: 10.64 kB / 3.399 GB, free: 263.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003894/7.287, allocations: 3.529 MB / 3.403 GB, free: 260.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/7.287, allocations: 3.938 kB / 3.403 GB, free: 260.5 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/7.289, allocations: 0.8628 MB / 3.404 GB, free: 260.1 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007157/7.289, allocations: 294.4 kB / 3.404 GB, free: 259.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/7.29, allocations: 10.31 kB / 3.404 GB, free: 259.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/7.29, allocations: 47.08 kB / 3.404 GB, free: 259.9 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/7.291, allocations: 51.77 kB / 3.404 GB, free: 259.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/7.291, allocations: 15.17 kB / 3.404 GB, free: 259.9 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.002096/7.293, allocations: 1.152 MB / 3.405 GB, free: 259.4 MB / 0.9324 GB Notification: Performance of sort global known variables: time 1.7e-07/7.293, allocations: 0 / 3.405 GB, free: 259.4 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001428/7.294, allocations: 289.2 kB / 3.406 GB, free: 259.4 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003927/7.298, allocations: 2.29 MB / 3.408 GB, free: 258.1 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.00131/7.299, allocations: 0.5551 MB / 3.408 GB, free: 257.9 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/7.299, allocations: 256 / 3.408 GB, free: 257.9 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0007251/7.3, allocations: 482.4 kB / 3.409 GB, free: 257.5 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/7.302, allocations: 181.6 kB / 3.409 GB, free: 257.5 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/7.307, allocations: 2.241 MB / 3.411 GB, free: 256.7 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/7.308, allocations: 1.175 MB / 3.412 GB, free: 255.9 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.0005239/7.309, allocations: 143 kB / 3.412 GB, free: 255.9 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/7.31, allocations: 402.7 kB / 3.413 GB, free: 255.6 MB / 0.9324 GB Notification: Performance of SimCode: time 1.512e-06/7.31, allocations: 0 / 3.413 GB, free: 255.6 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07675/7.386, allocations: 24.41 MB / 3.437 GB, free: 253.5 MB / 0.9324 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/7.387, allocations: 176.8 kB / 3.437 GB, free: 253.3 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_TestCase1 -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_TestCase1_FMU.o AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c In file included from AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_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_TestCase1_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_TestCase1_FMU.c:441: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_TestCase1_FMU.c:441:82: error: expected expression AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:442:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:851:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:865:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:881:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:891:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:902:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:928:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:955:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:967:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:980:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:989:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:996:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1006:1: error: expected '}' ^ AixLib_AixLib_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_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_TestCase1_FMU.o] Error 1