Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_BesselJ1",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.045/3.045, allocations: 248.6 MB / 255.9 MB, free: 7.152 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.003148/0.003148, allocations: 185.2 kB / 315.1 MB, free: 4.227 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.657/2.657, allocations: 205.1 MB / 0.5658 GB, free: 328 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.002278/0.002278, allocations: 89.78 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5417/0.544, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.7612, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6877/1.449, allocations: 131.9 MB / 1.012 GB, free: 8.281 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/1.449, allocations: 71.08 kB / 1.012 GB, free: 8.242 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.01061/1.46, allocations: 1.605 MB / 1.014 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.46, allocations: 12 kB / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/1.46, allocations: 0 / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/1.46, allocations: 166.9 kB / 1.014 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/1.46, allocations: 8 kB / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/1.46, allocations: 0 / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001286/1.461, allocations: 14.8 kB / 1.014 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/1.461, allocations: 37.08 kB / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.461, allocations: 4 kB / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/1.461, allocations: 0 / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/1.461, allocations: 0 / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/1.462, allocations: 247.4 kB / 1.014 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/1.462, allocations: 23.2 kB / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/1.462, allocations: 11.86 kB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/1.463, allocations: 445.5 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/1.463, allocations: 34.06 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.486e-06/1.463, allocations: 0 / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0003373/1.464, allocations: 37.64 kB / 1.015 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/1.464, allocations: 58.95 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.464, allocations: 93.03 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/1.464, allocations: 29.64 kB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/1.464, allocations: 84.05 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/1.464, allocations: 7.562 kB / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.464, allocations: 0 / 1.015 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002476/1.464, allocations: 317.3 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/1.464, allocations: 6.875 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/1.464, allocations: 0 / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/1.464, allocations: 15.23 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.464, allocations: 0 / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002543/1.465, allocations: 40.7 kB / 1.016 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.465, allocations: 4 kB / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.465, allocations: 192 / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.465, allocations: 3.938 kB / 1.016 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/1.465, allocations: 15.92 kB / 1.016 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.465, allocations: 0 / 1.016 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/1.465, allocations: 23.91 kB / 1.016 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/1.465, allocations: 0 / 1.016 GB, free: 4.902 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 0.0001251/1.465, allocations: 105 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/1.465, allocations: 0 / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/1.466, allocations: 52.17 kB / 1.016 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.466, allocations: 4.031 kB / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.466, allocations: 0 / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.466, allocations: 0 / 1.016 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/1.466, allocations: 134.2 kB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.466, allocations: 4 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.466, allocations: 11.98 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/1.466, allocations: 0 / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/1.466, allocations: 0 / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.466, allocations: 3.938 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.466, allocations: 7.906 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002487/1.467, allocations: 143.2 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004445/1.467, allocations: 0.5066 MB / 1.017 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/1.467, allocations: 81.17 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/1.467, allocations: 0 / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/1.467, allocations: 15.89 kB / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/1.467, allocations: 0 / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/1.467, allocations: 0 / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001082/1.468, allocations: 83.22 kB / 1.017 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002154/1.47, allocations: 31.05 kB / 1.017 GB, free: 3.656 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.0005924/1.47, allocations: 139.2 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001581/1.471, allocations: 13.75 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.471, allocations: 0 / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.772e-05/1.471, allocations: 7.938 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/1.471, allocations: 3.625 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/1.471, allocations: 71.69 kB / 1.017 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/1.472, allocations: 0.6912 MB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of SimCode: time 1.583e-06/1.472, allocations: 4 kB / 1.018 GB, free: 2.68 MB / 0.6355 GB