Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.468/1.468, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001242/0.001243, allocations: 175.4 kB / 361.1 MB, free: 7.09 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.272/1.272, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000921/0.000921, allocations: 98.73 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2363/0.2372, allocations: 121.4 MB / 0.8511 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.7981, allocations: 115.3 MB / 0.9638 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.9498, allocations: 136.9 MB / 1.097 GB, free: 3.023 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.95, allocations: 80.45 kB / 1.098 GB, free: 2.945 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.006223/0.9563, allocations: 2.103 MB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.9563, allocations: 8.5 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.9564, allocations: 0 / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.332e-05/0.9565, allocations: 159.1 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.9565, allocations: 4.656 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.9565, allocations: 1.547 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.567e-05/0.9566, allocations: 4.594 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.618e-05/0.9566, allocations: 31.69 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.9566, allocations: 0.5938 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.9567, allocations: 0 / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.9567, allocations: 0.5625 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.9568, allocations: 130.7 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.185e-05/0.9568, allocations: 26.27 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.9568, allocations: 5.578 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.9575, allocations: 447.7 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.9575, allocations: 35.69 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.9575, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.000197/0.9578, allocations: 30.23 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.9578, allocations: 60.11 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.686e-05/0.9578, allocations: 85.5 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.9579, allocations: 26.7 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.9579, allocations: 80.14 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.9579, allocations: 0.7188 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.9579, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.9581, allocations: 319.5 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-06/0.9581, allocations: 0.7812 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.9581, allocations: 0 / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.21e-05/0.9581, allocations: 0.875 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9582, allocations: 11.84 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.826e-05/0.9582, allocations: 30.58 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.9582, allocations: 6.75 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.9583, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.9583, allocations: 5.672 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.231e-05/0.9583, allocations: 4 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.9583, allocations: 4.125 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-06/0.9584, allocations: 0 / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.9584, allocations: 1.188 kB / 1.101 GB, free: 15.14 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.707e-05/0.9584, allocations: 101 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-06/0.9584, allocations: 3.906 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.9586, allocations: 40.64 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9586, allocations: 7.984 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.9586, allocations: 0 / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.9586, allocations: 32 / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.764e-05/0.9587, allocations: 127.2 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9587, allocations: 0 / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.9587, allocations: 0 / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.9587, allocations: 8.516 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.9587, allocations: 0 / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.9587, allocations: 0 / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.9587, allocations: 1.375 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.636e-05/0.9588, allocations: 61.12 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001655/0.959, allocations: 445.4 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.959, allocations: 77.11 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.959, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.9591, allocations: 2.531 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.9591, allocations: 0.5156 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.9591, allocations: 4.062 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.852e-05/0.9591, allocations: 79.28 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007884/0.9599, allocations: 51.83 kB / 1.102 GB, free: 14.05 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.0003555/0.9603, allocations: 160.2 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.367e-05/0.9603, allocations: 7.938 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9603, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.9603, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.351e-05/0.9604, allocations: 5 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001454/0.9606, allocations: 44.02 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.9609, allocations: 0.688 MB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.9609, allocations: 4.125 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)