Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_BesselJ0",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 3.46/3.46, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.002704/0.002704, allocations: 187.8 kB / 315.1 MB, free: 4.281 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.122/2.122, allocations: 205.1 MB / 0.5658 GB, free: 448 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.001243/0.001242, allocations: 89.55 kB / 0.67 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4743/0.4756, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.7086, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6785/1.387, allocations: 131.9 MB / 1.012 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.387, allocations: 68.16 kB / 1.012 GB, free: 8.312 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.007994/1.395, allocations: 1.567 MB / 1.014 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.605e-05/1.396, allocations: 8 kB / 1.014 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/1.396, allocations: 3.938 kB / 1.014 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/1.396, allocations: 167 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.396, allocations: 4 kB / 1.014 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/1.396, allocations: 0 / 1.014 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000144/1.396, allocations: 15.5 kB / 1.014 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/1.396, allocations: 37 kB / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.396, allocations: 0 / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/1.396, allocations: 0 / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/1.396, allocations: 0 / 1.014 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/1.397, allocations: 251.2 kB / 1.014 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.884e-05/1.397, allocations: 22.58 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.058e-05/1.397, allocations: 16.8 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008437/1.398, allocations: 437.5 kB / 1.015 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/1.398, allocations: 34.55 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.196e-06/1.398, allocations: 4 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002337/1.398, allocations: 37.2 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/1.398, allocations: 52.16 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/1.399, allocations: 96.09 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/1.399, allocations: 25.7 kB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/1.399, allocations: 95.72 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/1.399, allocations: 0 / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/1.399, allocations: 0 / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.399, allocations: 321.3 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/1.399, allocations: 3.938 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/1.399, allocations: 7.938 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.816e-05/1.399, allocations: 12 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.399, allocations: 0 / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001321/1.399, allocations: 41 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.399, allocations: 4 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.399, allocations: 4 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.399, allocations: 0 / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/1.399, allocations: 8 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/1.399, allocations: 8.016 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/1.4, allocations: 11.91 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/1.4, allocations: 0 / 1.015 GB, free: 5.016 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 8.893e-05/1.4, allocations: 104.2 kB / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/1.4, allocations: 7.938 kB / 1.016 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/1.4, allocations: 57.61 kB / 1.016 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.4, allocations: 4.219 kB / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.4, allocations: 0 / 1.016 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/1.4, allocations: 3.984 kB / 1.016 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/1.4, allocations: 140.7 kB / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.4, allocations: 0 / 1.016 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/1.4, allocations: 11.98 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/1.4, allocations: 4 kB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/1.4, allocations: 0 / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.4, allocations: 4 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.4, allocations: 3.906 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001641/1.401, allocations: 127.2 kB / 1.016 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002769/1.401, allocations: 0.5144 MB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/1.401, allocations: 81.11 kB / 1.017 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/1.401, allocations: 0 / 1.017 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/1.401, allocations: 11.89 kB / 1.017 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/1.401, allocations: 4 kB / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/1.401, allocations: 3.938 kB / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.033e-05/1.401, allocations: 83.27 kB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001348/1.403, allocations: 27.94 kB / 1.017 GB, free: 3.762 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.0004465/1.403, allocations: 127.2 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001181/1.403, allocations: 11.81 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.403, allocations: 0 / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.694e-05/1.403, allocations: 11.62 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/1.403, allocations: 7.984 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002928/1.404, allocations: 62.89 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/1.404, allocations: 0.6998 MB / 1.018 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/1.404, allocations: 0 / 1.018 GB, free: 2.793 MB / 0.6355 GB