Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.269/1.269, allocations: 249.4 MB / 256.7 MB, free: 6.988 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.001076/0.001076, allocations: 180.5 kB / 316 MB, free: 3.52 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.176/1.176, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.0008269/0.0008269, allocations: 79.34 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3269/0.3278, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.4902, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.955, allocations: 132.5 MB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.9552, allocations: 77.62 kB / 1.014 GB, free: 6.059 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.007621/0.9628, allocations: 2.502 MB / 1.017 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.9629, allocations: 12 kB / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.9629, allocations: 0 / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.963, allocations: 167 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.963, allocations: 0 / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.963, allocations: 0 / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.507e-05/0.9631, allocations: 14.73 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.035e-05/0.9632, allocations: 33.14 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.9632, allocations: 1.938 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.9632, allocations: 0 / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.9632, allocations: 0 / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.9636, allocations: 251.8 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.088e-05/0.9637, allocations: 29.52 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.9637, allocations: 8.172 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.9643, allocations: 456.8 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.9643, allocations: 30.56 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9643, allocations: 0 / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.9645, allocations: 40.94 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.9645, allocations: 59.31 kB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.909e-05/0.9646, allocations: 96.31 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.9646, allocations: 25.7 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.9646, allocations: 88.11 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.9647, allocations: 3.906 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.9647, allocations: 0 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.9648, allocations: 317.7 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.9648, allocations: 4 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.9648, allocations: 7.875 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.737e-05/0.9648, allocations: 4 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.9648, allocations: 0 / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.288e-05/0.9649, allocations: 41.64 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.9649, allocations: 4 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.9649, allocations: 192 / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.965, allocations: 0 / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.9651, allocations: 15.98 kB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9651, allocations: 8.703 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.9651, allocations: 20 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.9651, allocations: 0 / 1.018 GB, free: 1.973 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.209e-05/0.9652, allocations: 108.9 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.9652, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.9653, allocations: 53.11 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9653, allocations: 4 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.9654, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.9654, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.9655, allocations: 144.1 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9655, allocations: 4 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.9656, allocations: 11.98 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9656, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.9656, allocations: 0 / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.9656, allocations: 7.906 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9656, allocations: 0 / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001125/0.9657, allocations: 138.7 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002478/0.966, allocations: 0.509 MB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.966, allocations: 77.11 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.966, allocations: 7.906 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.9661, allocations: 12.05 kB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.9662, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.9662, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.616e-05/0.9662, allocations: 78.97 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008157/0.9671, allocations: 51.73 kB / 1.019 GB, free: 0.7031 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.0003681/0.9674, allocations: 163.1 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.32e-05/0.9675, allocations: 11 kB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9675, allocations: 0 / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.9676, allocations: 11.94 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.9677, allocations: 4 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002184/0.968, allocations: 63.53 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.9683, allocations: 0.6918 MB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9683, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1)