Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselY1.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_BesselY1",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). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.003/4.003, allocations: 248.6 MB / 255.9 MB, free: 7.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002809/0.002809, allocations: 191.7 kB / 315.1 MB, free: 4.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.3/3.3, allocations: 205.1 MB / 0.5658 GB, free: 336 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002141/0.00214, allocations: 97.66 kB / 0.67 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.7969/0.7991, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/1.122, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9419/2.064, allocations: 131.5 MB / 1.012 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004494/2.065, allocations: 70.08 kB / 1.012 GB, free: 8.562 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.01833/2.083, allocations: 2.173 MB / 1.014 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/2.083, allocations: 12 kB / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/2.083, allocations: 7.906 kB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/2.083, allocations: 167 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/2.083, allocations: 0 / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/2.083, allocations: 0 / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.782e-05/2.083, allocations: 4 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.051e-05/2.084, allocations: 26.45 kB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/2.084, allocations: 0 / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/2.084, allocations: 0 / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/2.084, allocations: 0 / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/2.084, allocations: 129.5 kB / 1.014 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.151e-05/2.084, allocations: 25.17 kB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/2.084, allocations: 4.859 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/2.086, allocations: 461.5 kB / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/2.086, allocations: 37.69 kB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 4.659e-06/2.086, allocations: 0 / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002514/2.086, allocations: 29.7 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/2.086, allocations: 51.41 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/2.086, allocations: 89.03 kB / 1.015 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/2.086, allocations: 25.7 kB / 1.015 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/2.086, allocations: 80.14 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/2.086, allocations: 3.906 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/2.086, allocations: 0 / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001923/2.087, allocations: 310.8 kB / 1.016 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/2.087, allocations: 4 kB / 1.016 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/2.087, allocations: 0 / 1.016 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/2.087, allocations: 7.922 kB / 1.016 GB, free: 5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/2.087, allocations: 4.062 kB / 1.016 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001771/2.087, allocations: 33.64 kB / 1.016 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/2.087, allocations: 8 kB / 1.016 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/2.087, allocations: 3.938 kB / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/2.087, allocations: 0 / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/2.087, allocations: 3.562 kB / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/2.087, allocations: 0 / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/2.087, allocations: 7.906 kB / 1.016 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/2.087, allocations: 0 / 1.016 GB, free: 4.938 MB / 0.6355 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 (1): * Single equations (assignments): 1 * 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 0.0001236/2.088, allocations: 105 kB / 1.016 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/2.088, allocations: 0 / 1.016 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/2.088, allocations: 40.64 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/2.088, allocations: 0 / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/2.088, allocations: 0 / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/2.088, allocations: 7.938 kB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/2.088, allocations: 134.1 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/2.088, allocations: 0 / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/2.088, allocations: 0 / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/2.088, allocations: 0 / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/2.088, allocations: 4.031 kB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/2.088, allocations: 4 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/2.088, allocations: 0 / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001796/2.088, allocations: 56.23 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004079/2.089, allocations: 445.4 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/2.089, allocations: 77.11 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/2.089, allocations: 0 / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.108e-05/2.089, allocations: 3.906 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/2.089, allocations: 7.172 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/2.089, allocations: 0.875 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.859e-05/2.089, allocations: 79.22 kB / 1.017 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002035/2.091, allocations: 43.88 kB / 1.017 GB, free: 3.859 MB / 0.6355 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 (1): * Single equations (assignments): 1 * 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.001011/2.092, allocations: 171.1 kB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001147/2.092, allocations: 0 / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/2.093, allocations: 8.062 kB / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/2.093, allocations: 0 / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/2.093, allocations: 0 / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/2.093, allocations: 62.97 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/2.094, allocations: 0.6802 MB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of SimCode: time 1.693e-06/2.094, allocations: 0 / 1.017 GB, free: 2.883 MB / 0.6355 GB