Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 7.059 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.001154/0.001154, allocations: 188.5 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008696/0.0008697, allocations: 87.42 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.371/0.3719, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.5474, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.522/1.069, allocations: 131.8 MB / 1.013 GB, free: 6.793 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.07, allocations: 76.92 kB / 1.013 GB, free: 6.75 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.007028/1.077, allocations: 2.178 MB / 1.016 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.077, allocations: 8 kB / 1.016 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/1.077, allocations: 3.906 kB / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/1.077, allocations: 163.1 kB / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/1.077, allocations: 0 / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-06/1.077, allocations: 4 kB / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.002e-05/1.077, allocations: 0 / 1.016 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.008e-05/1.077, allocations: 33.62 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/1.077, allocations: 0 / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/1.077, allocations: 4 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.077, allocations: 4 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/1.077, allocations: 129.6 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.324e-05/1.077, allocations: 17.14 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/1.077, allocations: 4.859 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006267/1.078, allocations: 453.6 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/1.078, allocations: 34.12 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/1.078, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001281/1.078, allocations: 41.62 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/1.078, allocations: 51.41 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.608e-05/1.078, allocations: 85 kB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/1.078, allocations: 25.7 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.057e-05/1.078, allocations: 80.14 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/1.078, allocations: 7.906 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-06/1.078, allocations: 0 / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/1.078, allocations: 310.8 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-06/1.078, allocations: 4.781 kB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/1.078, allocations: 0 / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/1.078, allocations: 7.688 kB / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.078, allocations: 0 / 1.017 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.932e-05/1.079, allocations: 33.69 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.079, allocations: 4 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.079, allocations: 0 / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/1.079, allocations: 0 / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.286e-05/1.079, allocations: 11.88 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/1.079, allocations: 3.938 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/1.079, allocations: 8 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/1.079, allocations: 0 / 1.017 GB, free: 3.121 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 5.6e-05/1.079, allocations: 101 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/1.079, allocations: 4 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.494e-05/1.079, allocations: 44.62 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/1.079, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/1.079, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.079, allocations: 4.781 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.682e-05/1.079, allocations: 126.3 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.079, allocations: 0 / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/1.079, allocations: 4 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.079, allocations: 0 / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/1.079, allocations: 0 / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.079, allocations: 7.984 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.079, allocations: 0 / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.09e-05/1.079, allocations: 60.36 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001537/1.079, allocations: 444.4 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/1.079, allocations: 77.11 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/1.079, allocations: 3.906 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-06/1.079, allocations: 0 / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/1.079, allocations: 4 kB / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/1.079, allocations: 0 / 1.018 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.225e-05/1.079, allocations: 79.31 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008004/1.08, allocations: 43.17 kB / 1.018 GB, free: 2.047 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.0004005/1.081, allocations: 171 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.692e-05/1.081, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.081, allocations: 3.688 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.715e-06/1.081, allocations: 4 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.697e-05/1.081, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001568/1.081, allocations: 43.94 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/1.081, allocations: 0.6879 MB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/1.081, allocations: 4.062 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)