Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="AixLib_latest_AixLib_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="AixLib_latest_AixLib_Utilities_Math_Examples_VectorFunctions",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.582/1.582, allocations: 265 MB / 272.3 MB, free: 8.805 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.001006/0.001006, allocations: 181.2 kB / 329.7 MB, free: 372 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.192/1.192, allocations: 221.4 MB / 0.5941 GB, free: 14.51 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.0009607/0.0009606, allocations: 100.6 kB / 0.6993 GB, free: 2.633 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04805/0.04805, allocations: 11.89 MB / 0.816 GB, free: 65.55 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.0003724/0.0003725, allocations: 16.81 kB / 0.924 GB, free: 86.91 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.1991/0.1995, allocations: 117.8 MB / 1.039 GB, free: 9.141 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.4549, allocations: 110.2 MB / 1.147 GB, free: 10.81 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.9519, allocations: 134.5 MB / 1.278 GB, free: 55.73 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.9522, allocations: 71.5 kB / 1.278 GB, free: 55.7 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.005058/0.9573, allocations: 1.824 MB / 1.28 GB, free: 54.11 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.9573, allocations: 8 kB / 1.28 GB, free: 54.1 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.9574, allocations: 11.81 kB / 1.28 GB, free: 54.09 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.9576, allocations: 199.9 kB / 1.28 GB, free: 53.86 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.9576, allocations: 0.5156 kB / 1.28 GB, free: 53.86 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.9576, allocations: 4 kB / 1.28 GB, free: 53.86 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001477/0.9578, allocations: 61.03 kB / 1.28 GB, free: 53.81 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.9579, allocations: 90.34 kB / 1.28 GB, free: 53.73 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.9579, allocations: 0 / 1.28 GB, free: 53.73 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.958, allocations: 7.109 kB / 1.28 GB, free: 53.73 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.958, allocations: 3.906 kB / 1.28 GB, free: 53.73 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.9585, allocations: 361.5 kB / 1.281 GB, free: 53.37 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 6.489e-05/0.9586, allocations: 42.02 kB / 1.281 GB, free: 53.32 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.9586, allocations: 34.91 kB / 1.281 GB, free: 53.3 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.9587, allocations: 8 kB / 1.281 GB, free: 53.29 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.9587, allocations: 38.42 kB / 1.281 GB, free: 53.25 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.9587, allocations: 0 / 1.281 GB, free: 53.25 MB / 0.7293 GB Notification: Performance of matching and sorting (n=6): time 0.0002817/0.959, allocations: 91.45 kB / 1.281 GB, free: 53.17 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.959, allocations: 51.41 kB / 1.281 GB, free: 53.11 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.222e-05/0.9591, allocations: 119.5 kB / 1.281 GB, free: 52.98 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.9591, allocations: 25.7 kB / 1.281 GB, free: 52.95 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.9592, allocations: 104 kB / 1.281 GB, free: 52.85 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.9592, allocations: 15.09 kB / 1.281 GB, free: 52.84 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.9592, allocations: 3.938 kB / 1.281 GB, free: 52.84 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.9593, allocations: 325 kB / 1.281 GB, free: 52.52 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.9593, allocations: 23.55 kB / 1.281 GB, free: 52.5 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.9593, allocations: 26.5 kB / 1.281 GB, free: 52.48 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.9594, allocations: 27.53 kB / 1.281 GB, free: 52.46 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9594, allocations: 4 kB / 1.281 GB, free: 52.46 MB / 0.7293 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000143/0.9596, allocations: 90.7 kB / 1.282 GB, free: 52.38 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.9596, allocations: 6.656 kB / 1.282 GB, free: 52.38 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.9596, allocations: 8 kB / 1.282 GB, free: 52.37 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.9596, allocations: 3.906 kB / 1.282 GB, free: 52.37 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.9598, allocations: 23.97 kB / 1.282 GB, free: 52.34 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.9598, allocations: 0 / 1.282 GB, free: 52.34 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.9599, allocations: 12 kB / 1.282 GB, free: 52.33 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.9599, allocations: 9.016 kB / 1.282 GB, free: 52.32 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.168e-05/0.9599, allocations: 108.7 kB / 1.282 GB, free: 52.21 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.96, allocations: 7.906 kB / 1.282 GB, free: 52.2 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.9602, allocations: 125.8 kB / 1.282 GB, free: 52.11 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9602, allocations: 0 / 1.282 GB, free: 52.11 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9602, allocations: 0 / 1.282 GB, free: 52.11 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9602, allocations: 6.141 kB / 1.282 GB, free: 52.1 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.9604, allocations: 181.4 kB / 1.282 GB, free: 51.9 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9604, allocations: 4 kB / 1.282 GB, free: 51.9 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.9605, allocations: 23.98 kB / 1.282 GB, free: 51.88 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.9605, allocations: 3.906 kB / 1.282 GB, free: 51.87 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.9605, allocations: 2.156 kB / 1.282 GB, free: 51.87 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9606, allocations: 0 / 1.282 GB, free: 51.87 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9606, allocations: 3.938 kB / 1.282 GB, free: 51.87 MB / 0.7293 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001723/0.9607, allocations: 193.5 kB / 1.282 GB, free: 51.68 MB / 0.7293 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002135/0.961, allocations: 0.5675 MB / 1.283 GB, free: 51.12 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.961, allocations: 81.02 kB / 1.283 GB, free: 51.02 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.961, allocations: 3.984 kB / 1.283 GB, free: 51.02 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.9611, allocations: 16 kB / 1.283 GB, free: 51 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.9612, allocations: 11.42 kB / 1.283 GB, free: 50.99 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.9612, allocations: 4 kB / 1.283 GB, free: 50.99 MB / 0.7293 GB Notification: Performance of sort global known variables: time 3.671e-05/0.9613, allocations: 102.1 kB / 1.283 GB, free: 50.89 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0007833/0.962, allocations: 15.91 kB / 1.283 GB, free: 50.88 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.000145/0.9622, allocations: 99.25 kB / 1.283 GB, free: 50.77 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.9623, allocations: 68.66 kB / 1.283 GB, free: 50.72 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9623, allocations: 4 kB / 1.283 GB, free: 50.71 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 5.055e-05/0.9624, allocations: 45.92 kB / 1.283 GB, free: 50.68 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.9625, allocations: 3.562 kB / 1.283 GB, free: 50.68 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.9629, allocations: 136.1 kB / 1.283 GB, free: 50.54 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.9631, allocations: 0.7153 MB / 1.284 GB, free: 49.8 MB / 0.7293 GB Notification: Performance of SimCode: time 2.1e-07/0.9631, allocations: 3.188 kB / 1.284 GB, free: 49.8 MB / 0.7293 GB (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_latest_AixLib_Utilities_Math_Examples_VectorFunctions.fmu > AixLib_latest_AixLib.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)