Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Airflow.Multizone.Examples.Orifice.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.Airflow.Multizone.Examples.Orifice,fileNamePrefix="AixLib_latest_AixLib_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Airflow.Multizone.Examples.Orifice,fileNamePrefix="AixLib_latest_AixLib_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). [/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.687/1.687, allocations: 265 MB / 272.3 MB, free: 8.812 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.001169/0.001169, allocations: 192.3 kB / 329.7 MB, free: 352 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.332/1.332, allocations: 221.3 MB / 0.5941 GB, free: 14.56 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.00106/0.00106, allocations: 98.45 kB / 0.6993 GB, free: 2.684 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04889/0.04889, allocations: 11.89 MB / 0.816 GB, free: 65.54 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.0003617/0.0003617, allocations: 15.7 kB / 0.924 GB, free: 86.98 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.24/0.2403, allocations: 117.8 MB / 1.039 GB, free: 9.148 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.4574, allocations: 110.2 MB / 1.147 GB, free: 10.82 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.041/4.499, allocations: 1.896 GB / 3.042 GB, free: 293.6 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/4.499, allocations: 78.45 kB / 3.043 GB, free: 293.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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 1.099/5.597, allocations: 360.7 MB / 3.395 GB, free: 225.5 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/5.597, allocations: 13.75 kB / 3.395 GB, free: 225.5 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/5.599, allocations: 188.3 kB / 3.395 GB, free: 225.5 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/5.6, allocations: 408.1 kB / 3.395 GB, free: 225.2 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/5.6, allocations: 7.75 kB / 3.395 GB, free: 225.2 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/5.6, allocations: 18.56 kB / 3.395 GB, free: 225.2 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004513/5.601, allocations: 263.2 kB / 3.396 GB, free: 225.2 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/5.601, allocations: 343.7 kB / 3.396 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/5.601, allocations: 0 / 3.396 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/5.601, allocations: 0.6562 kB / 3.396 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/5.601, allocations: 7.312 kB / 3.396 GB, free: 225.1 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/5.604, allocations: 1.636 MB / 3.398 GB, free: 224.1 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/5.604, allocations: 264.8 kB / 3.398 GB, free: 224.1 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/5.604, allocations: 121.6 kB / 3.398 GB, free: 224.1 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008891/5.605, allocations: 1.039 MB / 3.399 GB, free: 223 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/5.605, allocations: 42.89 kB / 3.399 GB, free: 222.9 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/5.605, allocations: 0 / 3.399 GB, free: 222.9 MB / 0.9324 GB Notification: Performance of matching and sorting (n=25): time 0.001302/5.607, allocations: 309.2 kB / 3.399 GB, free: 222.9 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/5.607, allocations: 62.27 kB / 3.399 GB, free: 222.8 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/5.607, allocations: 255.4 kB / 3.4 GB, free: 222.7 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/5.607, allocations: 26.92 kB / 3.4 GB, free: 222.7 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/5.607, allocations: 169.3 kB / 3.4 GB, free: 222.6 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/5.607, allocations: 88.36 kB / 3.4 GB, free: 222.5 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/5.607, allocations: 0 / 3.4 GB, free: 222.5 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.000114/5.607, allocations: 345.2 kB / 3.4 GB, free: 222.2 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/5.607, allocations: 60.77 kB / 3.4 GB, free: 222.2 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/5.608, allocations: 109.5 kB / 3.4 GB, free: 222.2 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/5.608, allocations: 132.6 kB / 3.4 GB, free: 222.2 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/5.608, allocations: 0 / 3.4 GB, free: 222.2 MB / 0.9324 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006286/5.609, allocations: 274.7 kB / 3.401 GB, free: 222.1 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/5.609, allocations: 5.031 kB / 3.401 GB, free: 222.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/5.609, allocations: 2.062 kB / 3.401 GB, free: 222.1 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/5.609, allocations: 5 kB / 3.401 GB, free: 222.1 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/5.609, allocations: 61.64 kB / 3.401 GB, free: 222.1 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/5.609, allocations: 2 kB / 3.401 GB, free: 222.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/5.609, allocations: 28.58 kB / 3.401 GB, free: 222.1 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/5.609, allocations: 15.81 kB / 3.401 GB, free: 222.1 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/5.609, allocations: 107 kB / 3.401 GB, free: 222 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/5.61, allocations: 36.34 kB / 3.401 GB, free: 222 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/5.61, allocations: 298.2 kB / 3.401 GB, free: 221.9 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/5.61, allocations: 3.734 kB / 3.401 GB, free: 221.9 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/5.61, allocations: 0 / 3.401 GB, free: 221.9 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/5.61, allocations: 6.125 kB / 3.401 GB, free: 221.9 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/5.612, allocations: 0.792 MB / 3.402 GB, free: 221.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/5.612, allocations: 5.344 kB / 3.402 GB, free: 221.6 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/5.612, allocations: 54.19 kB / 3.402 GB, free: 221.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/5.612, allocations: 7.5 kB / 3.402 GB, free: 221.6 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/5.612, allocations: 8.344 kB / 3.402 GB, free: 221.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/5.612, allocations: 4.266 kB / 3.402 GB, free: 221.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/5.612, allocations: 2.781 kB / 3.402 GB, free: 221.6 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008228/5.613, allocations: 0.6095 MB / 3.403 GB, free: 221.2 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001154/5.614, allocations: 1.137 MB / 3.404 GB, free: 220.5 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/5.614, allocations: 137 kB / 3.404 GB, free: 220.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/5.614, allocations: 4.062 kB / 3.404 GB, free: 220.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/5.615, allocations: 31.73 kB / 3.404 GB, free: 220.4 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/5.615, allocations: 14.05 kB / 3.404 GB, free: 220.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/5.615, allocations: 17.03 kB / 3.404 GB, free: 220.4 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0001982/5.615, allocations: 202.3 kB / 3.404 GB, free: 220.3 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.00161/5.617, allocations: 340.6 kB / 3.405 GB, free: 220.3 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002389/5.619, allocations: 1.376 MB / 3.406 GB, free: 220 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0004215/5.619, allocations: 176.7 kB / 3.406 GB, free: 220 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/5.619, allocations: 0 / 3.406 GB, free: 220 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/5.62, allocations: 104.9 kB / 3.406 GB, free: 220 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009656/5.621, allocations: 141.9 kB / 3.406 GB, free: 220 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/5.622, allocations: 0.6722 MB / 3.407 GB, free: 219.8 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/5.623, allocations: 0.8726 MB / 3.408 GB, free: 219.1 MB / 0.9324 GB Notification: Performance of SimCode: time 1.824e-06/5.623, allocations: 0 / 3.408 GB, free: 219.1 MB / 0.9324 GB (rm -f AixLib_latest_AixLib.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo AixLib_latest_AixLib.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < AixLib_latest_AixLib.Airflow.Multizone.Examples.Orifice.pipe >> ../files/AixLib_latest_AixLib.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_latest_AixLib_Airflow_Multizone_Examples_Orifice.fmu > AixLib_latest_AixLib.Airflow.Multizone.Examples.Orifice.pipe 2>&1)