Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_BesselY0",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.226/4.226, allocations: 248.6 MB / 255.9 MB, free: 7.105 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.002801/0.002801, allocations: 193.2 kB / 315.1 MB, free: 4.285 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.237/3.237, allocations: 205.1 MB / 0.5658 GB, free: 372 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.002133/0.002133, allocations: 91.27 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.6754/0.6776, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.9674, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8634/1.831, allocations: 131.5 MB / 1.012 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004518/1.831, allocations: 69.83 kB / 1.012 GB, free: 8.664 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.01723/1.849, allocations: 2.102 MB / 1.014 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/1.849, allocations: 12 kB / 1.014 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/1.849, allocations: 7.906 kB / 1.014 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/1.849, allocations: 163.1 kB / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/1.849, allocations: 0 / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/1.849, allocations: 0 / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.461e-05/1.849, allocations: 0 / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.209e-05/1.849, allocations: 29.7 kB / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.849, allocations: 0 / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.849, allocations: 0 / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/1.849, allocations: 0 / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/1.85, allocations: 134.1 kB / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.661e-05/1.85, allocations: 17.14 kB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/1.85, allocations: 12.94 kB / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/1.851, allocations: 449.1 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/1.851, allocations: 34.56 kB / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 3.877e-06/1.851, allocations: 0 / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002617/1.852, allocations: 29.69 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/1.852, allocations: 55.41 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.852, allocations: 85 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/1.852, allocations: 25.7 kB / 1.015 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/1.852, allocations: 92.55 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/1.852, allocations: 3.906 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/1.852, allocations: 0 / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.852, allocations: 310.8 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/1.852, allocations: 0 / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/1.852, allocations: 4 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/1.852, allocations: 0 / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.852, allocations: 0 / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001738/1.853, allocations: 41.69 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/1.853, allocations: 4 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.853, allocations: 4 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.853, allocations: 0 / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/1.853, allocations: 0 / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.853, allocations: 0 / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/1.853, allocations: 7.656 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/1.853, allocations: 3.938 kB / 1.015 GB, free: 5.105 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.0001198/1.853, allocations: 105 kB / 1.016 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/1.853, allocations: 4.031 kB / 1.016 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/1.853, allocations: 47.52 kB / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.853, allocations: 0 / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/1.853, allocations: 0 / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/1.853, allocations: 0 / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/1.854, allocations: 126.2 kB / 1.016 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.854, allocations: 4 kB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.524e-05/1.854, allocations: 0 / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.854, allocations: 0 / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/1.854, allocations: 0 / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.854, allocations: 8.016 kB / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.854, allocations: 0 / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000186/1.854, allocations: 64.86 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003324/1.854, allocations: 432.6 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/1.855, allocations: 81.17 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/1.855, allocations: 4 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.879e-05/1.855, allocations: 3.906 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/1.855, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/1.855, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.32e-05/1.855, allocations: 75.28 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002099/1.857, allocations: 43.42 kB / 1.016 GB, free: 4.035 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.001008/1.858, allocations: 166.6 kB / 1.017 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001191/1.858, allocations: 7.938 kB / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.858, allocations: 0 / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/1.858, allocations: 64 / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/1.858, allocations: 10.12 kB / 1.017 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/1.859, allocations: 43.92 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/1.859, allocations: 0.6841 MB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of SimCode: time 1.844e-06/1.859, allocations: 0 / 1.017 GB, free: 3.07 MB / 0.6355 GB