Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_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.279/1.279, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.001443/0.001442, allocations: 185.2 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.13/1.13, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0009055/0.0009055, allocations: 96.34 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3255/0.3265, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.4861, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.9687, allocations: 132.4 MB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.9689, allocations: 76.14 kB / 1.014 GB, free: 6.414 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.007546/0.9765, allocations: 2.425 MB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.9765, allocations: 8 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.9766, allocations: 0.75 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.9768, allocations: 171 kB / 1.017 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.9768, allocations: 0 / 1.017 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.9768, allocations: 4.812 kB / 1.017 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.312e-05/0.9769, allocations: 11.94 kB / 1.017 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.37e-05/0.977, allocations: 32.27 kB / 1.017 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.977, allocations: 0 / 1.017 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.977, allocations: 4 kB / 1.017 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.977, allocations: 3.938 kB / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.9775, allocations: 252.8 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.811e-05/0.9776, allocations: 26.58 kB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.9776, allocations: 11.8 kB / 1.017 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/0.9782, allocations: 444.7 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.9782, allocations: 38.55 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.9782, allocations: 4 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.9784, allocations: 41.14 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.9784, allocations: 55.31 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.9785, allocations: 95.61 kB / 1.018 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.9785, allocations: 25.7 kB / 1.018 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.9786, allocations: 84.17 kB / 1.018 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.9786, allocations: 7.844 kB / 1.018 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.9786, allocations: 0 / 1.018 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.9787, allocations: 318.8 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.9787, allocations: 0 / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.319e-05/0.9787, allocations: 7.125 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.9788, allocations: 7.984 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9788, allocations: 0 / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.302e-05/0.9789, allocations: 40.64 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.9789, allocations: 4 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.9789, allocations: 4 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.9789, allocations: 0 / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.9791, allocations: 11.98 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.9791, allocations: 7.844 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.9791, allocations: 16.02 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.9792, allocations: 0 / 1.018 GB, free: 2.379 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 (2): * Single equations (assignments): 2 * 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.838e-05/0.9792, allocations: 104.9 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.9793, allocations: 4 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.9794, allocations: 52.8 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.9794, allocations: 0 / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.9794, allocations: 3.938 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.9794, allocations: 0 / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.9795, allocations: 134.3 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9796, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.9796, allocations: 15.86 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.9796, allocations: 4 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.9796, allocations: 0 / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.9797, allocations: 3.906 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9797, allocations: 0 / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001295/0.9798, allocations: 143.4 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002192/0.98, allocations: 0.5033 MB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.9801, allocations: 85.05 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.9801, allocations: 3.906 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.91e-05/0.9802, allocations: 12.05 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.9802, allocations: 4 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.9802, allocations: 0 / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.766e-05/0.9803, allocations: 83.09 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007994/0.9811, allocations: 39.92 kB / 1.019 GB, free: 1.117 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 (2): * Single equations (assignments): 2 * 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.0003522/0.9814, allocations: 174.7 kB / 1.019 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.405e-05/0.9815, allocations: 11.56 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.9815, allocations: 0 / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.9815, allocations: 4.062 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.9817, allocations: 15.36 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.9819, allocations: 55.78 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002523/0.9821, allocations: 0.6992 MB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.9822, allocations: 0 / 1.02 GB, free: 116 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1)