Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 249.4 MB / 256.7 MB, free: 6.957 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.001001/0.001001, allocations: 181.3 kB / 316 MB, free: 3.578 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.246/1.246, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0009566/0.0009564, allocations: 89.19 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3669/0.3679, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.5446, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5201/1.065, allocations: 131.7 MB / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/1.065, allocations: 81.31 kB / 1.013 GB, free: 6.844 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.006032/1.071, allocations: 2.097 MB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/1.071, allocations: 11.94 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/1.071, allocations: 3.906 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.134e-05/1.071, allocations: 159.1 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/1.071, allocations: 4 kB / 1.016 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/1.071, allocations: 4 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.468e-05/1.071, allocations: 3.938 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.163e-05/1.071, allocations: 29.69 kB / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/1.071, allocations: 0 / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/1.071, allocations: 0 / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/1.071, allocations: 4 kB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/1.072, allocations: 130 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.206e-05/1.072, allocations: 21.14 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.566e-05/1.072, allocations: 4.859 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/1.072, allocations: 441.6 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/1.072, allocations: 38.5 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/1.072, allocations: 0 / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/1.072, allocations: 32.89 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/1.072, allocations: 51.41 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.679e-05/1.072, allocations: 85 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/1.072, allocations: 25.7 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.26e-05/1.072, allocations: 88.12 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/1.072, allocations: 3.906 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-06/1.072, allocations: 4.031 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/1.073, allocations: 310.8 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-06/1.073, allocations: 0 / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/1.073, allocations: 0.75 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.686e-05/1.073, allocations: 7.5 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.073, allocations: 0 / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.78e-05/1.073, allocations: 37.62 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/1.073, allocations: 4 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.073, allocations: 4.969 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/1.073, allocations: 0 / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/1.073, allocations: 7.984 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/1.073, allocations: 3.938 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/1.073, allocations: 3.906 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/1.073, allocations: 0 / 1.017 GB, free: 3.289 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 4.984e-05/1.073, allocations: 104.9 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/1.073, allocations: 4 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579e-05/1.073, allocations: 39.97 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/1.073, allocations: 4.031 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.073, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.073, allocations: 7.891 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.88e-05/1.073, allocations: 122.2 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/1.073, allocations: 0 / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.282e-05/1.073, allocations: 7.938 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/1.073, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/1.073, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/1.073, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.073, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.063e-05/1.073, allocations: 68.91 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000144/1.073, allocations: 429.2 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/1.073, allocations: 81.09 kB / 1.018 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/1.073, allocations: 3.906 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/1.073, allocations: 8.062 kB / 1.018 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/1.073, allocations: 3.938 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/1.073, allocations: 0 / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.076e-05/1.073, allocations: 78.16 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007651/1.074, allocations: 43.11 kB / 1.018 GB, free: 2.215 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.0003546/1.075, allocations: 159.2 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.586e-05/1.075, allocations: 4 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.075, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.878e-06/1.075, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.619e-05/1.075, allocations: 4 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001384/1.075, allocations: 54.98 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/1.075, allocations: 0.6841 MB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/1.075, allocations: 0 / 1.019 GB, free: 1.254 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)