Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.472/1.472, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001053/0.001053, allocations: 173.3 kB / 366.3 MB, free: 1.945 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.387/1.387, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.0009168/0.0009169, allocations: 87.59 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.245e-05, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6567/0.6567, allocations: 116.3 MB / 0.9726 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.8163, allocations: 137.6 MB / 1.107 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.8165, allocations: 78.23 kB / 1.107 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.003458/0.82, allocations: 0.9535 MB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.8201, allocations: 2.625 kB / 1.108 GB, free: 11.83 MB / 0.7136 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.000223/0.8203, allocations: 326.4 kB / 1.108 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.8203, allocations: 8.031 kB / 1.108 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.8204, allocations: 0 / 1.108 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.8205, allocations: 159.1 kB / 1.108 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.8205, allocations: 3.906 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.8205, allocations: 4.531 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.016e-05/0.8205, allocations: 0 / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.855e-05/0.8206, allocations: 34.95 kB / 1.108 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.8206, allocations: 3.984 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.8206, allocations: 3.984 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.8206, allocations: 4.594 kB / 1.109 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.8207, allocations: 126.3 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.874e-05/0.8208, allocations: 14.58 kB / 1.109 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.8208, allocations: 5.516 kB / 1.109 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005758/0.8214, allocations: 448.2 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.8214, allocations: 35 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.8214, allocations: 0.5938 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.8216, allocations: 31.2 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.8216, allocations: 59.33 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.054e-05/0.8216, allocations: 85 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.8217, allocations: 26.3 kB / 1.109 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.8217, allocations: 80.8 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.8217, allocations: 7.938 kB / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-06/0.8217, allocations: 0.6875 kB / 1.109 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8219, allocations: 311.3 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-06/0.8219, allocations: 0.75 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/0.8219, allocations: 0 / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.8219, allocations: 4.625 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8219, allocations: 4.625 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.371e-05/0.822, allocations: 34.39 kB / 1.11 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.822, allocations: 4 kB / 1.11 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.822, allocations: 0.6562 kB / 1.11 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.822, allocations: 4.703 kB / 1.11 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.488e-05/0.8221, allocations: 4 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.8221, allocations: 0.6562 kB / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-06/0.8221, allocations: 0 / 1.11 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-06/0.8221, allocations: 2.188 kB / 1.11 GB, free: 9.762 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 (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.733e-05/0.8222, allocations: 105.7 kB / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.8222, allocations: 8.594 kB / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.461e-05/0.8223, allocations: 34.23 kB / 1.11 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.8223, allocations: 3.984 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.8223, allocations: 0.9688 kB / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.8223, allocations: 0 / 1.11 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.162e-05/0.8224, allocations: 123.1 kB / 1.11 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.8224, allocations: 0 / 1.11 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.8224, allocations: 5.188 kB / 1.11 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.8224, allocations: 4.406 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.8224, allocations: 0.5312 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.8224, allocations: 0.5938 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8224, allocations: 1.688 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.176e-05/0.8225, allocations: 67.69 kB / 1.11 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.8226, allocations: 81.11 kB / 1.11 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.8226, allocations: 3.906 kB / 1.11 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.292e-05/0.8226, allocations: 0.8125 kB / 1.11 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.8226, allocations: 0 / 1.11 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.8226, allocations: 0 / 1.11 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.92e-05/0.8227, allocations: 75.28 kB / 1.11 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000218/0.8229, allocations: 35.89 kB / 1.11 GB, free: 9.145 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.0002491/0.8232, allocations: 135.2 kB / 1.11 GB, free: 9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.178e-05/0.8232, allocations: 8 kB / 1.11 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8232, allocations: 0 / 1.11 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.401e-06/0.8232, allocations: 3.938 kB / 1.11 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.885e-05/0.8233, allocations: 0 / 1.11 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001312/0.8235, allocations: 40.08 kB / 1.11 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.8237, allocations: 0.6888 MB / 1.111 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8237, allocations: 0 / 1.111 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.002067/0.8258, allocations: 409.2 kB / 1.112 GB, free: 7.84 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)