Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselY1.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.867/2.867, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.002536/0.002536, allocations: 179.7 kB / 315.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.693/2.693, allocations: 205.1 MB / 0.5658 GB, free: 340 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001362/0.001361, allocations: 91.12 kB / 0.67 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5813/0.5827, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.851, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8324/1.683, allocations: 132.2 MB / 1.013 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.684, allocations: 71.77 kB / 1.013 GB, free: 7.949 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.01843/1.702, allocations: 2.5 MB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/1.702, allocations: 11.98 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/1.702, allocations: 4 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/1.703, allocations: 166.9 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/1.703, allocations: 0 / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/1.703, allocations: 4 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000123/1.703, allocations: 11.75 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/1.703, allocations: 37.67 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.703, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/1.703, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.703, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/1.704, allocations: 254.4 kB / 1.016 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.141e-05/1.704, allocations: 26.33 kB / 1.016 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/1.704, allocations: 8.922 kB / 1.016 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/1.705, allocations: 456.5 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.705, allocations: 34.56 kB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.156e-06/1.705, allocations: 0 / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002527/1.706, allocations: 40.95 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/1.706, allocations: 51.41 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/1.706, allocations: 92.56 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/1.706, allocations: 29.69 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/1.706, allocations: 87.98 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/1.706, allocations: 4 kB / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/1.706, allocations: 0 / 1.016 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.706, allocations: 317.6 kB / 1.017 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/1.706, allocations: 11.97 kB / 1.017 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/1.706, allocations: 3.562 kB / 1.017 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.285e-05/1.706, allocations: 4 kB / 1.017 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.706, allocations: 0 / 1.017 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001429/1.706, allocations: 45.56 kB / 1.017 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/1.706, allocations: 8 kB / 1.017 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.706, allocations: 0 / 1.017 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.706, allocations: 0.8438 kB / 1.017 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/1.707, allocations: 16.08 kB / 1.017 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.707, allocations: 0 / 1.017 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/1.707, allocations: 11.91 kB / 1.017 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/1.707, allocations: 0 / 1.017 GB, free: 3.863 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 9.239e-05/1.707, allocations: 101 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/1.707, allocations: 11.98 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/1.707, allocations: 56.69 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/1.707, allocations: 3.984 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.707, allocations: 3.938 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.707, allocations: 0 / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/1.707, allocations: 130.2 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.707, allocations: 0 / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/1.708, allocations: 20.02 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/1.708, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/1.708, allocations: 0.875 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.708, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.708, allocations: 3.906 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001916/1.708, allocations: 139.3 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003299/1.708, allocations: 0.5111 MB / 1.018 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/1.708, allocations: 77.11 kB / 1.018 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/1.708, allocations: 7.984 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/1.708, allocations: 11.91 kB / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/1.709, allocations: 3.984 kB / 1.018 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/1.709, allocations: 4.031 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.127e-05/1.709, allocations: 79.47 kB / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001332/1.71, allocations: 47.88 kB / 1.018 GB, free: 2.59 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.0006317/1.711, allocations: 166.8 kB / 1.018 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001237/1.711, allocations: 15.62 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.711, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/1.711, allocations: 8 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/1.711, allocations: 7.812 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/1.711, allocations: 69.31 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/1.712, allocations: 0.692 MB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/1.712, allocations: 0 / 1.019 GB, free: 1.586 MB / 0.6355 GB