Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001318/0.001318, allocations: 173.3 kB / 366.3 MB, free: 2.012 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.542/1.542, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0009837/0.0009836, allocations: 80.17 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2724/0.2734, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6259/0.8993, allocations: 116.3 MB / 0.9727 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/1.09, allocations: 138 MB / 1.107 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/1.09, allocations: 76.44 kB / 1.107 GB, free: 10.45 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00711/1.097, allocations: 2.176 MB / 1.11 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.098, allocations: 11.98 kB / 1.11 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/1.098, allocations: 0 / 1.11 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/1.098, allocations: 163.1 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/1.098, allocations: 8.469 kB / 1.11 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/1.098, allocations: 0 / 1.11 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.524e-05/1.098, allocations: 4 kB / 1.11 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.322e-05/1.098, allocations: 29.64 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/1.098, allocations: 0 / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/1.098, allocations: 0 / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/1.098, allocations: 0.8438 kB / 1.11 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/1.098, allocations: 126.2 kB / 1.11 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.908e-05/1.098, allocations: 25.2 kB / 1.11 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/1.098, allocations: 4.859 kB / 1.11 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007128/1.099, allocations: 457.5 kB / 1.11 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/1.099, allocations: 34.47 kB / 1.11 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/1.099, allocations: 0 / 1.11 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001892/1.099, allocations: 33.64 kB / 1.11 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/1.099, allocations: 51.41 kB / 1.11 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.312e-05/1.099, allocations: 85.84 kB / 1.111 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/1.099, allocations: 25.7 kB / 1.111 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/1.099, allocations: 84.17 kB / 1.111 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/1.099, allocations: 3.984 kB / 1.111 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/1.099, allocations: 3.938 kB / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.099, allocations: 318.8 kB / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-06/1.099, allocations: 0 / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/1.099, allocations: 0 / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/1.099, allocations: 0 / 1.111 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.099, allocations: 4.938 kB / 1.111 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.411e-05/1.1, allocations: 37.77 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.1, allocations: 4 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.1, allocations: 0 / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/1.1, allocations: 0 / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.664e-05/1.1, allocations: 7.922 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/1.1, allocations: 4 kB / 1.111 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/1.1, allocations: 4 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/1.1, allocations: 0 / 1.111 GB, free: 6.492 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 5.994e-05/1.1, allocations: 101 kB / 1.111 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-06/1.1, allocations: 7.938 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.209e-05/1.1, allocations: 33.36 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/1.1, allocations: 0 / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.1, allocations: 0 / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.1, allocations: 7.984 kB / 1.111 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.617e-05/1.1, allocations: 122.2 kB / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.1, allocations: 0 / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/1.1, allocations: 0 / 1.111 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/1.1, allocations: 4.656 kB / 1.111 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/1.1, allocations: 4 kB / 1.111 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.1, allocations: 4.031 kB / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.1, allocations: 0 / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.303e-05/1.1, allocations: 61.06 kB / 1.111 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002066/1.1, allocations: 437.5 kB / 1.112 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/1.1, allocations: 85.16 kB / 1.112 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/1.1, allocations: 3.984 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-06/1.1, allocations: 1.312 kB / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/1.1, allocations: 0 / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/1.1, allocations: 0 / 1.112 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.753e-05/1.1, allocations: 79.28 kB / 1.112 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008234/1.101, allocations: 51.77 kB / 1.112 GB, free: 5.402 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.0004147/1.102, allocations: 171 kB / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.315e-05/1.102, allocations: 4 kB / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.102, allocations: 0 / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.526e-06/1.102, allocations: 8.047 kB / 1.112 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.061e-05/1.102, allocations: 4 kB / 1.112 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001513/1.102, allocations: 36.08 kB / 1.112 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/1.102, allocations: 0.6898 MB / 1.113 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/1.102, allocations: 0 / 1.113 GB, free: 4.434 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)