Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.357/2.357, allocations: 284.9 MB / 292.2 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 177.3 kB / 360.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 79.86 kB / 0.7318 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.137e-05/1.15e-05, allocations: 4 kB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.5674, allocations: 115.2 MB / 0.9628 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.7801, allocations: 137.1 MB / 1.097 GB, free: 3.66 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.7804, allocations: 72.75 kB / 1.097 GB, free: 3.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006887/0.7873, allocations: 1.208 MB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.7874, allocations: 4 kB / 1.098 GB, free: 2.422 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.0005074/0.7879, allocations: 347.2 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.788, allocations: 9.031 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.788, allocations: 7.906 kB / 1.098 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.7882, allocations: 160.7 kB / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.7882, allocations: 0 / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.7882, allocations: 0.625 kB / 1.098 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.018e-05/0.7883, allocations: 15.98 kB / 1.098 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.71e-05/0.7884, allocations: 35.06 kB / 1.099 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.7884, allocations: 4.625 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7885, allocations: 1.312 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.7885, allocations: 0.625 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.789, allocations: 255.7 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.598e-05/0.7891, allocations: 22.58 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.7891, allocations: 14.36 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008459/0.79, allocations: 441.4 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.7901, allocations: 34.56 kB / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.584e-06/0.7901, allocations: 0 / 1.099 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002308/0.7903, allocations: 37.7 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.7904, allocations: 51.41 kB / 1.099 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.7905, allocations: 98.11 kB / 1.099 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.7905, allocations: 25.7 kB / 1.099 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.7905, allocations: 92.09 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.7906, allocations: 7.906 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.7906, allocations: 0 / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7908, allocations: 314.8 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.7908, allocations: 4 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.7908, allocations: 4 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.7909, allocations: 7.938 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7909, allocations: 0 / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001262/0.791, allocations: 49.66 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.7911, allocations: 8 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.7911, allocations: 0 / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.7911, allocations: 0 / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.7913, allocations: 11.98 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7913, allocations: 0 / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.7914, allocations: 12.03 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.7914, allocations: 1.312 kB / 1.1 GB, free: 116 kB / 0.698 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.183e-05/0.7915, allocations: 112.9 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.7916, allocations: 7.953 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.7918, allocations: 46.58 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.7918, allocations: 0 / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.7918, allocations: 3.984 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7918, allocations: 0 / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.792, allocations: 142.2 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.792, allocations: 0 / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.7922, allocations: 15.98 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.7922, allocations: 0.75 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.7922, allocations: 0 / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.7922, allocations: 0.875 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7922, allocations: 0 / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000177/0.7924, allocations: 145.7 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.7925, allocations: 81.09 kB / 1.1 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.7925, allocations: 0 / 1.1 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.7927, allocations: 8 kB / 1.1 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.7927, allocations: 3.984 kB / 1.1 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.7927, allocations: 5.969 kB / 1.1 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.515e-05/0.7928, allocations: 84.08 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003638/0.7932, allocations: 31.84 kB / 1.101 GB, free: 15.36 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.0003609/0.7935, allocations: 123.9 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001024/0.7936, allocations: 12 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7937, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.7937, allocations: 15.94 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.7939, allocations: 3.984 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.7942, allocations: 64.8 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.7945, allocations: 0.688 MB / 1.101 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of SimCode: time 8.01e-07/0.7945, allocations: 0 / 1.101 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.003558/0.7981, allocations: 0.597 MB / 1.102 GB, free: 13.83 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)