Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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.346/1.346, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.000989/0.000989, allocations: 189.2 kB / 361.1 MB, free: 7.074 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.02/1.02, allocations: 205.1 MB / 0.6195 GB, free: 11.89 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.0007581/0.0007581, allocations: 85.11 kB / 0.7326 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.116e-06/8.136e-06, allocations: 4 kB / 0.8511 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4563, allocations: 115.3 MB / 0.9637 GB, free: 77.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.5986, allocations: 136.6 MB / 1.097 GB, free: 3.434 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.5988, allocations: 72.56 kB / 1.097 GB, free: 3.363 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003367/0.6022, allocations: 0.9187 MB / 1.098 GB, free: 2.477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.6022, allocations: 0 / 1.098 GB, free: 2.477 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002195/0.6025, allocations: 319.2 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.6025, allocations: 12.69 kB / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.6025, allocations: 0.9375 kB / 1.098 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.625e-05/0.6026, allocations: 159.9 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.6026, allocations: 3.906 kB / 1.099 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.6027, allocations: 2.562 kB / 1.099 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.296e-05/0.6027, allocations: 6.125 kB / 1.099 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.461e-05/0.6028, allocations: 33.7 kB / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.6028, allocations: 1.312 kB / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.6028, allocations: 0 / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6028, allocations: 3.281 kB / 1.099 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.6029, allocations: 130.1 kB / 1.099 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.485e-05/0.603, allocations: 18.61 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.603, allocations: 6.672 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005555/0.6035, allocations: 439.9 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.6036, allocations: 42.41 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.6036, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.6037, allocations: 29.7 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.6038, allocations: 52 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.555e-05/0.6038, allocations: 85.84 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.6038, allocations: 25.7 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.6038, allocations: 80.7 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.6039, allocations: 0.5312 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-06/0.6039, allocations: 0.5312 kB / 1.099 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.604, allocations: 312 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/0.604, allocations: 4 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.604, allocations: 3.938 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.822e-05/0.604, allocations: 5.734 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.604, allocations: 3.906 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.464e-05/0.6041, allocations: 37.64 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.6041, allocations: 9.375 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6041, allocations: 0.5625 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.6042, allocations: 0 / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/0.6042, allocations: 1.25 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.6042, allocations: 0 / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.6042, allocations: 4 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.6042, allocations: 1.844 kB / 1.1 GB, free: 428 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 (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 5.187e-05/0.6043, allocations: 101.8 kB / 1.1 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-06/0.6043, allocations: 7.891 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.696e-05/0.6044, allocations: 33.27 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6044, allocations: 2.156 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6044, allocations: 0.5625 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6044, allocations: 0 / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.907e-05/0.6045, allocations: 130.9 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6045, allocations: 0 / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.6045, allocations: 2.719 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6045, allocations: 7.844 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.6045, allocations: 0.7188 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6045, allocations: 4 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6045, allocations: 1.281 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.36e-05/0.6046, allocations: 57.2 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.6047, allocations: 82.72 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.6047, allocations: 4.656 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-06/0.6047, allocations: 192 / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.6048, allocations: 8 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.6048, allocations: 0 / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.195e-05/0.6048, allocations: 75.28 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002062/0.605, allocations: 19.94 kB / 1.1 GB, free: 15.82 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 (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.0002447/0.6052, allocations: 144.1 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.359e-05/0.6053, allocations: 7.938 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.6053, allocations: 0 / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.153e-06/0.6053, allocations: 4 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.092e-05/0.6054, allocations: 14.7 kB / 1.1 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001317/0.6056, allocations: 40.06 kB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.6058, allocations: 0.6802 MB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.6058, allocations: 0 / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of Templates: time 0.002029/0.6078, allocations: 407.9 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)