Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_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.859/3.859, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.003002/0.003002, allocations: 185.2 kB / 315.1 MB, free: 4.27 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.666/2.666, allocations: 205.1 MB / 0.5658 GB, free: 296 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.001958/0.001958, allocations: 99.23 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5251/0.5272, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.7305, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6517/1.382, allocations: 131.2 MB / 1.012 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.383, allocations: 68.89 kB / 1.012 GB, free: 8.906 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00592/1.389, allocations: 1.28 MB / 1.013 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.389, allocations: 8 kB / 1.013 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/1.389, allocations: 7.406 kB / 1.013 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/1.389, allocations: 163.1 kB / 1.013 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/1.389, allocations: 0 / 1.013 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/1.389, allocations: 4 kB / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.291e-05/1.389, allocations: 0 / 1.013 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.422e-05/1.389, allocations: 25.7 kB / 1.013 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/1.389, allocations: 3.938 kB / 1.013 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/1.389, allocations: 7.984 kB / 1.013 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/1.389, allocations: 0 / 1.013 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/1.389, allocations: 130.2 kB / 1.013 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.524e-05/1.389, allocations: 14.58 kB / 1.013 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/1.389, allocations: 4.859 kB / 1.013 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009121/1.39, allocations: 452.5 kB / 1.014 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/1.39, allocations: 34.55 kB / 1.014 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.714e-06/1.39, allocations: 0 / 1.014 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001614/1.39, allocations: 29.7 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.39, allocations: 55.34 kB / 1.014 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.965e-05/1.39, allocations: 89.03 kB / 1.014 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/1.39, allocations: 25.7 kB / 1.014 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/1.39, allocations: 82.77 kB / 1.014 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/1.391, allocations: 4.656 kB / 1.014 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/1.391, allocations: 0 / 1.014 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.391, allocations: 314.8 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/1.391, allocations: 0 / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/1.391, allocations: 2.562 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.558e-05/1.391, allocations: 0 / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.391, allocations: 8.062 kB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.063e-05/1.391, allocations: 37.12 kB / 1.014 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.391, allocations: 7.938 kB / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.391, allocations: 0 / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.391, allocations: 0 / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/1.391, allocations: 7.938 kB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/1.391, allocations: 0 / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/1.391, allocations: 3.906 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/1.391, allocations: 0 / 1.014 GB, free: 6.043 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 (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 7.653e-05/1.391, allocations: 105 kB / 1.014 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-06/1.391, allocations: 3.938 kB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/1.391, allocations: 40.64 kB / 1.015 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.391, allocations: 4 kB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.391, allocations: 0 / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.391, allocations: 0 / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.121e-05/1.391, allocations: 126.2 kB / 1.015 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/1.391, allocations: 0.875 kB / 1.015 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/1.391, allocations: 3.984 kB / 1.015 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.391, allocations: 4.031 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/1.391, allocations: 4 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.391, allocations: 0 / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.391, allocations: 2.812 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.645e-05/1.392, allocations: 60.3 kB / 1.015 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002642/1.392, allocations: 441.1 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/1.392, allocations: 77.11 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/1.392, allocations: 0 / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/1.392, allocations: 3.906 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/1.392, allocations: 0 / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/1.392, allocations: 4 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.468e-05/1.392, allocations: 79.27 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001115/1.393, allocations: 23.5 kB / 1.015 GB, free: 4.988 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 (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.0003755/1.394, allocations: 135.2 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.884e-05/1.394, allocations: 7.938 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.394, allocations: 3.562 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.833e-06/1.394, allocations: 0 / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/1.394, allocations: 4 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000171/1.394, allocations: 47.91 kB / 1.016 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/1.394, allocations: 0.684 MB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/1.394, allocations: 0 / 1.016 GB, free: 4.051 MB / 0.6355 GB