Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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_AixLib_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Airflow.Multizone.Examples.Orifice,fileNamePrefix="AixLib_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.731/1.731, allocations: 265 MB / 272.3 MB, free: 8.836 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.001152/0.001152, allocations: 187 kB / 329.7 MB, free: 392 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.434/1.434, allocations: 221.4 MB / 0.5941 GB, free: 14.68 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.00118/0.00118, allocations: 106.9 kB / 0.6993 GB, free: 2.812 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05044/0.05044, allocations: 11.89 MB / 0.816 GB, free: 65.63 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.0004171/0.0004171, allocations: 17.31 kB / 0.924 GB, free: 86.88 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2182/0.2187, allocations: 117.8 MB / 1.039 GB, free: 9.211 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.4553, allocations: 110.2 MB / 1.147 GB, free: 10.88 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.564/5.02, allocations: 1.896 GB / 3.042 GB, free: 336.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/5.02, allocations: 85.95 kB / 3.043 GB, free: 336.2 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.6897/5.71, allocations: 360.7 MB / 3.395 GB, free: 2.004 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/5.71, allocations: 12 kB / 3.395 GB, free: 1.992 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/5.711, allocations: 187.1 kB / 3.395 GB, free: 1.809 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008431/5.712, allocations: 412.1 kB / 3.395 GB, free: 1.367 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/5.712, allocations: 8 kB / 3.395 GB, free: 1.359 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/5.712, allocations: 20 kB / 3.395 GB, free: 1.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004672/5.713, allocations: 261.1 kB / 3.396 GB, free: 1.086 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004867/5.713, allocations: 339.1 kB / 3.396 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/5.713, allocations: 0 / 3.396 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/5.713, allocations: 0 / 3.396 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/5.713, allocations: 8 kB / 3.396 GB, free: 0.7266 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4091/6.123, allocations: 1.638 MB / 3.398 GB, free: 348.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/6.123, allocations: 256.6 kB / 3.398 GB, free: 348.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/6.123, allocations: 122.4 kB / 3.398 GB, free: 348.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009972/6.124, allocations: 1.033 MB / 3.399 GB, free: 347.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/6.124, allocations: 37.06 kB / 3.399 GB, free: 347.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 2.946e-06/6.124, allocations: 0 / 3.399 GB, free: 347.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.001111/6.125, allocations: 317.3 kB / 3.399 GB, free: 347.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/6.125, allocations: 54.55 kB / 3.399 GB, free: 347.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/6.126, allocations: 256 kB / 3.4 GB, free: 347.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/6.126, allocations: 25.7 kB / 3.4 GB, free: 347.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/6.126, allocations: 171.2 kB / 3.4 GB, free: 347 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/6.126, allocations: 89.11 kB / 3.4 GB, free: 347 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/6.126, allocations: 3.656 kB / 3.4 GB, free: 347 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/6.126, allocations: 337.9 kB / 3.4 GB, free: 346.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/6.126, allocations: 59.5 kB / 3.4 GB, free: 346.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/6.126, allocations: 109.3 kB / 3.4 GB, free: 346.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/6.126, allocations: 134.1 kB / 3.4 GB, free: 346.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/6.126, allocations: 0 / 3.4 GB, free: 346.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005071/6.127, allocations: 277.7 kB / 3.401 GB, free: 346.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/6.127, allocations: 7.281 kB / 3.401 GB, free: 346.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/6.127, allocations: 0 / 3.401 GB, free: 346.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/6.127, allocations: 3.562 kB / 3.401 GB, free: 346.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/6.127, allocations: 62.44 kB / 3.401 GB, free: 346.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/6.127, allocations: 0 / 3.401 GB, free: 346.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/6.128, allocations: 35.11 kB / 3.401 GB, free: 346.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/6.128, allocations: 17.88 kB / 3.401 GB, free: 346.6 MB / 0.948 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.517e-05/6.128, allocations: 104.5 kB / 3.401 GB, free: 346.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/6.128, allocations: 41.92 kB / 3.401 GB, free: 346.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005808/6.128, allocations: 295.6 kB / 3.401 GB, free: 346.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/6.128, allocations: 2.75 kB / 3.401 GB, free: 346.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/6.128, allocations: 3.656 kB / 3.401 GB, free: 346.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/6.128, allocations: 6.969 kB / 3.401 GB, free: 346.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/6.13, allocations: 0.7918 MB / 3.402 GB, free: 346.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/6.13, allocations: 6.312 kB / 3.402 GB, free: 346.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/6.13, allocations: 52.28 kB / 3.402 GB, free: 346.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/6.13, allocations: 3.625 kB / 3.402 GB, free: 346.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/6.13, allocations: 7.375 kB / 3.402 GB, free: 346.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/6.13, allocations: 3.938 kB / 3.402 GB, free: 346.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/6.13, allocations: 3.312 kB / 3.402 GB, free: 346.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00072/6.131, allocations: 0.6059 MB / 3.403 GB, free: 345.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001061/6.132, allocations: 1.141 MB / 3.404 GB, free: 345 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/6.132, allocations: 133.8 kB / 3.404 GB, free: 344.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/6.132, allocations: 6.781 kB / 3.404 GB, free: 344.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/6.132, allocations: 31.86 kB / 3.404 GB, free: 344.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/6.132, allocations: 21.67 kB / 3.404 GB, free: 344.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/6.132, allocations: 6.938 kB / 3.404 GB, free: 344.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001577/6.132, allocations: 207.5 kB / 3.404 GB, free: 344.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0014/6.134, allocations: 344.8 kB / 3.405 GB, free: 344.8 MB / 0.948 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.001689/6.136, allocations: 1.365 MB / 3.406 GB, free: 344.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000295/6.136, allocations: 177 kB / 3.406 GB, free: 344.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/6.136, allocations: 0 / 3.406 GB, free: 344.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/6.136, allocations: 101.3 kB / 3.406 GB, free: 344.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/6.137, allocations: 145.9 kB / 3.406 GB, free: 344.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/6.138, allocations: 0.6711 MB / 3.407 GB, free: 344.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/6.138, allocations: 0.8806 MB / 3.408 GB, free: 343.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/6.138, allocations: 3.625 kB / 3.408 GB, free: 343.6 MB / 0.948 GB (rm -f AixLib_AixLib.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo AixLib_AixLib.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < AixLib_AixLib.Airflow.Multizone.Examples.Orifice.pipe >> ../files/AixLib_AixLib.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Airflow_Multizone_Examples_Orifice.fmu > AixLib_AixLib.Airflow.Multizone.Examples.Orifice.pipe 2>&1)