Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.441/1.441, allocations: 285.5 MB / 292.8 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009756/0.0009756, allocations: 177.2 kB / 361.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.237/1.237, allocations: 205.1 MB / 0.6195 GB, free: 10.41 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00087/0.0008702, allocations: 96.11 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2481/0.249, allocations: 121.5 MB / 0.8512 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.828, allocations: 115.3 MB / 0.9638 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.9838, allocations: 137 MB / 1.098 GB, free: 3.047 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.9841, allocations: 76.84 kB / 1.098 GB, free: 2.973 MB / 0.698 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.006598/0.9907, allocations: 2.168 MB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.9908, allocations: 9.844 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.9908, allocations: 1.031 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.9909, allocations: 165 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.9909, allocations: 4.406 kB / 1.1 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.991, allocations: 3.938 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.139e-05/0.991, allocations: 1.297 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.225e-05/0.9911, allocations: 38.97 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.9911, allocations: 0 / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.9911, allocations: 0 / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.9912, allocations: 0.5312 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.9913, allocations: 123.5 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/0.9914, allocations: 17.77 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.9914, allocations: 12.89 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007537/0.9922, allocations: 454.1 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.9922, allocations: 38.41 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.9922, allocations: 0.5 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001749/0.9924, allocations: 34.59 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.9924, allocations: 52.19 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.931e-05/0.9925, allocations: 85 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.9925, allocations: 30.33 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.9926, allocations: 84.17 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.9926, allocations: 3.938 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-06/0.9926, allocations: 0 / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9927, allocations: 310.8 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.9927, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.9928, allocations: 4 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/0.9928, allocations: 4 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9928, allocations: 3.906 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.338e-05/0.9929, allocations: 38.52 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.9929, allocations: 8.094 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.9929, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.9929, allocations: 4 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.953e-05/0.993, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.993, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-06/0.993, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.993, allocations: 2.625 kB / 1.101 GB, free: 15.09 MB / 0.7136 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 6.343e-05/0.9931, allocations: 105 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.9931, allocations: 3.906 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.968e-05/0.9932, allocations: 40.69 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.9932, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.9932, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9932, allocations: 0.5156 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.051e-05/0.9933, allocations: 126.2 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.9933, allocations: 0 / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.9933, allocations: 7.938 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.9933, allocations: 3.906 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.9933, allocations: 3.984 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.9933, allocations: 1.031 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9934, allocations: 4.031 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.892e-05/0.9934, allocations: 57.14 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001992/0.9936, allocations: 437.4 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.9937, allocations: 77.77 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.9937, allocations: 9.938 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.9937, allocations: 3.938 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-06/0.9937, allocations: 0 / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.9937, allocations: 0 / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.534e-05/0.9938, allocations: 75.28 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008046/0.9946, allocations: 51.77 kB / 1.102 GB, free: 14 MB / 0.7136 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.000433/0.995, allocations: 181.8 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.703e-05/0.9951, allocations: 0 / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9951, allocations: 0 / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.9951, allocations: 4 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.866e-05/0.9952, allocations: 4.125 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/0.9954, allocations: 46.97 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.9956, allocations: 0.6841 MB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.9956, allocations: 0 / 1.103 GB, free: 13.03 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)