Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.139/2.139, allocations: 253.1 MB / 260.4 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00167/0.00167, allocations: 181.3 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 109.6 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.578e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2545, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6516/0.9061, allocations: 131.2 MB / 1.016 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.9064, allocations: 76.12 kB / 1.016 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005368/0.9118, allocations: 0.9602 MB / 1.017 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.9119, allocations: 0 / 1.017 GB, free: 6.355 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.0002786/0.9122, allocations: 322.4 kB / 1.017 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.9122, allocations: 8.031 kB / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.893e-05/0.9123, allocations: 3.906 kB / 1.017 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.9124, allocations: 159.1 kB / 1.018 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.9124, allocations: 0 / 1.018 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.9124, allocations: 4 kB / 1.018 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.14e-05/0.9125, allocations: 4 kB / 1.018 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.927e-05/0.9125, allocations: 29.64 kB / 1.018 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9126, allocations: 3.984 kB / 1.018 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.9126, allocations: 0 / 1.018 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.9126, allocations: 0.75 kB / 1.018 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.9127, allocations: 129.3 kB / 1.018 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.923e-05/0.9128, allocations: 18.61 kB / 1.018 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.9128, allocations: 8.859 kB / 1.018 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008915/0.9137, allocations: 437.5 kB / 1.018 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.9138, allocations: 38.12 kB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.9138, allocations: 4 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001667/0.914, allocations: 33.64 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.914, allocations: 55.39 kB / 1.018 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.709e-05/0.9141, allocations: 85 kB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.9141, allocations: 25.7 kB / 1.018 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.9141, allocations: 80.14 kB / 1.019 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.9142, allocations: 3.906 kB / 1.019 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.9142, allocations: 0 / 1.019 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9143, allocations: 314.9 kB / 1.019 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.9144, allocations: 4 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-06/0.9144, allocations: 0 / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.9144, allocations: 3.875 kB / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9144, allocations: 0 / 1.019 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.939e-05/0.9145, allocations: 30.55 kB / 1.019 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.9146, allocations: 11.94 kB / 1.019 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9146, allocations: 3.984 kB / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9146, allocations: 0 / 1.019 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/0.9147, allocations: 4.781 kB / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.9147, allocations: 0 / 1.019 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.9147, allocations: 3.906 kB / 1.019 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.9147, allocations: 7.938 kB / 1.019 GB, free: 4.277 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 6.93e-05/0.9148, allocations: 101 kB / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.9148, allocations: 3.938 kB / 1.019 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.9149, allocations: 44.64 kB / 1.019 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.915, allocations: 0 / 1.019 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.915, allocations: 0 / 1.019 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.915, allocations: 4.031 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.424e-05/0.9151, allocations: 130.2 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.9151, allocations: 0 / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/0.9151, allocations: 0 / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.9151, allocations: 0 / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-06/0.9151, allocations: 0 / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.9152, allocations: 0 / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.9152, allocations: 4 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001164/0.9153, allocations: 71.34 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.9154, allocations: 77.11 kB / 1.019 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.9154, allocations: 0 / 1.019 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/0.9154, allocations: 0 / 1.019 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.9154, allocations: 7.984 kB / 1.019 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.9154, allocations: 0 / 1.019 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.164e-05/0.9155, allocations: 75.28 kB / 1.019 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003037/0.9158, allocations: 23.92 kB / 1.019 GB, free: 3.668 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.0003573/0.9161, allocations: 140.8 kB / 1.02 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.594e-05/0.9162, allocations: 8 kB / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9162, allocations: 0 / 1.02 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-06/0.9163, allocations: 3.938 kB / 1.02 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.9164, allocations: 7.906 kB / 1.02 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001602/0.9166, allocations: 47.86 kB / 1.02 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.9168, allocations: 0.6841 MB / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.9168, allocations: 0 / 1.02 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of Templates: time 0.003067/0.9199, allocations: 409 kB / 1.021 GB, free: 2.332 MB / 0.6355 GB