Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BesselJ0.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.028/2.028, allocations: 253.1 MB / 260.4 MB, free: 0.5352 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.001723/0.001723, allocations: 179.3 kB / 319.6 MB, free: 7.66 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 2.069/2.069, allocations: 205.4 MB / 0.5704 GB, free: 25.6 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.001259/0.001259, allocations: 100.4 kB / 0.6746 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.247e-05/1.26e-05, allocations: 4 kB / 0.7843 GB, free: 2.664 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4951/0.4952, allocations: 106.2 MB / 0.888 GB, free: 77.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2117/0.7069, allocations: 130.8 MB / 1.016 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.7073, allocations: 71.95 kB / 1.016 GB, free: 10 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.006966/0.7142, allocations: 1.211 MB / 1.017 GB, free: 8.793 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.7143, allocations: 0 / 1.017 GB, free: 8.793 MB / 0.6667 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.0005083/0.7148, allocations: 354.3 kB / 1.017 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7149, allocations: 12.03 kB / 1.017 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.7149, allocations: 0 / 1.017 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.7151, allocations: 171 kB / 1.018 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.7151, allocations: 0 / 1.018 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.7151, allocations: 3.984 kB / 1.018 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9e-05/0.7152, allocations: 15.94 kB / 1.018 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.85e-05/0.7153, allocations: 37.69 kB / 1.018 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7154, allocations: 0 / 1.018 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.7154, allocations: 0 / 1.018 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.7154, allocations: 0 / 1.018 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.7159, allocations: 245.4 kB / 1.018 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.248e-05/0.716, allocations: 30.58 kB / 1.018 GB, free: 7.805 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.716, allocations: 8.922 kB / 1.018 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008776/0.7169, allocations: 437.4 kB / 1.018 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.717, allocations: 38.5 kB / 1.018 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.717, allocations: 4 kB / 1.018 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0002101/0.7172, allocations: 37.7 kB / 1.018 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.7173, allocations: 51.41 kB / 1.018 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.7174, allocations: 96.98 kB / 1.019 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.7174, allocations: 25.7 kB / 1.019 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.7174, allocations: 87.98 kB / 1.019 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.7175, allocations: 0 / 1.019 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.7175, allocations: 0 / 1.019 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7176, allocations: 326.8 kB / 1.019 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.7177, allocations: 0 / 1.019 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.7177, allocations: 8 kB / 1.019 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.901e-05/0.7178, allocations: 7.984 kB / 1.019 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7178, allocations: 0 / 1.019 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001186/0.7179, allocations: 41.64 kB / 1.019 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7179, allocations: 4 kB / 1.019 GB, free: 6.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.7179, allocations: 4 kB / 1.019 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.718, allocations: 0 / 1.019 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.7181, allocations: 20.02 kB / 1.019 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7181, allocations: 0 / 1.019 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.7183, allocations: 15.89 kB / 1.019 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.7183, allocations: 3.938 kB / 1.019 GB, free: 6.461 MB / 0.6667 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.994e-05/0.7184, allocations: 107.5 kB / 1.019 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.7184, allocations: 4 kB / 1.019 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.7186, allocations: 52.86 kB / 1.019 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7186, allocations: 3.938 kB / 1.019 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7186, allocations: 0 / 1.019 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7186, allocations: 0 / 1.019 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.7188, allocations: 138.2 kB / 1.019 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7189, allocations: 0 / 1.019 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.719, allocations: 16.02 kB / 1.019 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.719, allocations: 0 / 1.019 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.719, allocations: 4 kB / 1.019 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.719, allocations: 0 / 1.019 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.719, allocations: 3.906 kB / 1.019 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001782/0.7192, allocations: 131.5 kB / 1.019 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.7193, allocations: 85.02 kB / 1.02 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.7193, allocations: 4.031 kB / 1.02 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.7195, allocations: 15.98 kB / 1.02 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.7195, allocations: 0 / 1.02 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.7196, allocations: 0 / 1.02 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.455e-05/0.7196, allocations: 83.41 kB / 1.02 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003707/0.72, allocations: 27.92 kB / 1.02 GB, free: 5.719 MB / 0.6667 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.0003732/0.7204, allocations: 135.3 kB / 1.02 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.934e-05/0.7205, allocations: 12 kB / 1.02 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7205, allocations: 0 / 1.02 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.612e-05/0.7205, allocations: 8 kB / 1.02 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.7208, allocations: 5.875 kB / 1.02 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.7211, allocations: 59.78 kB / 1.02 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.7214, allocations: 0.6918 MB / 1.021 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of SimCode: time 6.51e-07/0.7214, allocations: 128 / 1.021 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of Templates: time 0.003578/0.725, allocations: 0.6042 MB / 1.021 GB, free: 4.148 MB / 0.6667 GB