Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0") [: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 8.0.1-maint.8.0.x/package.mo): time 1.361/1.361, allocations: 285.5 MB / 292.8 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 177.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.115/1.115, allocations: 205.1 MB / 0.6195 GB, free: 10.39 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008357/0.0008357, allocations: 95.34 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.107e-05/1.11e-05, allocations: 4 kB / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6148/0.6148, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.7879, allocations: 137.3 MB / 1.098 GB, free: 2.832 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.7882, allocations: 72.98 kB / 1.098 GB, free: 2.762 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004382/0.7926, allocations: 1.213 MB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.7926, allocations: 0 / 1.099 GB, free: 1.59 MB / 0.698 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.0004143/0.793, allocations: 345.4 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.7931, allocations: 8.531 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.7931, allocations: 10.06 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.7933, allocations: 169.1 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.7933, allocations: 0 / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.7933, allocations: 0.5625 kB / 1.1 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.555e-05/0.7934, allocations: 8 kB / 1.1 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.401e-05/0.7935, allocations: 39.53 kB / 1.1 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.7935, allocations: 3.906 kB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.7935, allocations: 0.5938 kB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.7935, allocations: 0.8438 kB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.794, allocations: 246.1 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.7941, allocations: 32.27 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.7941, allocations: 8.922 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/0.7947, allocations: 439.4 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.7948, allocations: 43.17 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.913e-06/0.7948, allocations: 0.6562 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.7949, allocations: 37.7 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.795, allocations: 51.41 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.042e-05/0.7951, allocations: 89 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.7951, allocations: 25.7 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.7951, allocations: 88.08 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.7952, allocations: 7.891 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.7952, allocations: 0 / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7953, allocations: 318.9 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.7954, allocations: 7.938 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.7954, allocations: 4 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.7954, allocations: 7.938 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.7954, allocations: 0 / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.283e-05/0.7955, allocations: 46.16 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7955, allocations: 8 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7955, allocations: 3.281 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.7956, allocations: 4.094 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.7957, allocations: 10.56 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.7957, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.7957, allocations: 11.98 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.7957, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 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 5.842e-05/0.7958, allocations: 111.4 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.7958, allocations: 4 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.796, allocations: 49.45 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.796, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.796, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.796, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.7961, allocations: 142.1 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.7961, allocations: 0 / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.7962, allocations: 12.03 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.7962, allocations: 9.016 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.7962, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7962, allocations: 1.875 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7962, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001159/0.7964, allocations: 139.5 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.7964, allocations: 85.08 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.7964, allocations: 3.984 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.7965, allocations: 8 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.7966, allocations: 3.984 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.7966, allocations: 3.906 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.433e-05/0.7966, allocations: 79.84 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000244/0.7969, allocations: 27.94 kB / 1.102 GB, free: 14.55 MB / 0.7136 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.0002464/0.7971, allocations: 135.6 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.571e-05/0.7972, allocations: 12 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.7972, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.072e-05/0.7972, allocations: 8 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.7974, allocations: 1.5 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.7976, allocations: 64.61 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.7979, allocations: 0.692 MB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.7979, allocations: 4 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of Templates: time 0.002485/0.8004, allocations: 0.6042 MB / 1.103 GB, free: 13.01 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)