Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.1.4-maint.8.1.x/package.mo): time 1.601/1.601, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001473/0.001473, allocations: 185.2 kB / 366.3 MB, free: 1.984 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.484/1.484, allocations: 205.1 MB / 0.6256 GB, free: 7.461 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.00103/0.00103, allocations: 94.45 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3052/0.3062, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7444/1.051, allocations: 116.3 MB / 0.9726 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/1.237, allocations: 138.7 MB / 1.108 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.237, allocations: 73.94 kB / 1.108 GB, free: 11.71 MB / 0.7136 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.008262/1.246, allocations: 2.501 MB / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.246, allocations: 8.688 kB / 1.111 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/1.246, allocations: 8.344 kB / 1.111 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/1.246, allocations: 167.1 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/1.246, allocations: 0.5312 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/1.246, allocations: 2.75 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.619e-05/1.246, allocations: 8 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.284e-05/1.246, allocations: 34.45 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/1.246, allocations: 7.906 kB / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/1.246, allocations: 0 / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.246, allocations: 0 / 1.111 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/1.247, allocations: 245.5 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.025e-05/1.247, allocations: 26.52 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/1.247, allocations: 8.922 kB / 1.111 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006943/1.247, allocations: 461.4 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/1.248, allocations: 30.56 kB / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.248, allocations: 0 / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002054/1.248, allocations: 41.69 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/1.248, allocations: 51.41 kB / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.493e-05/1.248, allocations: 94.34 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/1.248, allocations: 25.7 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/1.248, allocations: 96.02 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/1.248, allocations: 7.844 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/1.248, allocations: 0 / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.248, allocations: 314.8 kB / 1.112 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/1.248, allocations: 8 kB / 1.112 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/1.248, allocations: 4 kB / 1.112 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/1.248, allocations: 4.062 kB / 1.112 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.248, allocations: 0 / 1.112 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.25e-05/1.248, allocations: 45.61 kB / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.248, allocations: 4 kB / 1.112 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.248, allocations: 3.984 kB / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/1.248, allocations: 0 / 1.112 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/1.248, allocations: 13.22 kB / 1.112 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/1.248, allocations: 4.031 kB / 1.112 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/1.248, allocations: 7.984 kB / 1.112 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/1.248, allocations: 4 kB / 1.112 GB, free: 7.281 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 (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 7.436e-05/1.249, allocations: 105.6 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/1.249, allocations: 4 kB / 1.112 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/1.249, allocations: 51.19 kB / 1.112 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/1.249, allocations: 8.016 kB / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.249, allocations: 4 kB / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/1.249, allocations: 0 / 1.112 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/1.249, allocations: 138.1 kB / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/1.249, allocations: 0 / 1.113 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.613e-05/1.249, allocations: 8 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/1.249, allocations: 0.8438 kB / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/1.249, allocations: 0 / 1.113 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.249, allocations: 4 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/1.249, allocations: 5.156 kB / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001415/1.249, allocations: 143.4 kB / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002855/1.249, allocations: 0.5116 MB / 1.113 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/1.25, allocations: 78.48 kB / 1.113 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/1.25, allocations: 0 / 1.113 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/1.25, allocations: 11.98 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/1.25, allocations: 1.031 kB / 1.113 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.25, allocations: 4 kB / 1.113 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.631e-05/1.25, allocations: 79.22 kB / 1.113 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009197/1.251, allocations: 59.83 kB / 1.113 GB, free: 5.977 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 (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.0004974/1.251, allocations: 163.1 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.867e-05/1.251, allocations: 19.94 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.251, allocations: 0 / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.232e-05/1.251, allocations: 4 kB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/1.252, allocations: 4.938 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/1.252, allocations: 59.86 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004568/1.252, allocations: 0.6919 MB / 1.114 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/1.252, allocations: 0 / 1.114 GB, free: 4.977 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1)