Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.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.526/1.526, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001049/0.001049, allocations: 185.2 kB / 366.3 MB, free: 1.934 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.391/1.391, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.0008834/0.0008834, allocations: 97.36 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/6.923e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4471, allocations: 116.3 MB / 0.9726 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.5941, allocations: 138.3 MB / 1.108 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.5943, allocations: 73.14 kB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004613/0.599, allocations: 1.237 MB / 1.109 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.599, allocations: 0 / 1.109 GB, free: 8.832 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004522/0.5995, allocations: 363.2 kB / 1.109 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.5995, allocations: 8.031 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.5996, allocations: 3.906 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.5997, allocations: 167 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.5998, allocations: 0 / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.5998, allocations: 3.984 kB / 1.109 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.578e-05/0.5999, allocations: 12.56 kB / 1.109 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.353e-05/0.5999, allocations: 37.69 kB / 1.109 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.6, allocations: 3.906 kB / 1.109 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6, allocations: 0 / 1.109 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.6, allocations: 0 / 1.109 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.6004, allocations: 245.5 kB / 1.11 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.6005, allocations: 31.41 kB / 1.11 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.6006, allocations: 12.92 kB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/0.6012, allocations: 445.4 kB / 1.11 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.6013, allocations: 34.56 kB / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.6013, allocations: 0 / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001701/0.6014, allocations: 41.64 kB / 1.11 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.6015, allocations: 55.41 kB / 1.11 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.6015, allocations: 96.98 kB / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.6016, allocations: 25.7 kB / 1.11 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/0.6016, allocations: 84.64 kB / 1.111 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.6016, allocations: 3.906 kB / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.6016, allocations: 0 / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.874e-05/0.6017, allocations: 318.9 kB / 1.111 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.6018, allocations: 4 kB / 1.111 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.366e-05/0.6018, allocations: 8 kB / 1.111 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.6018, allocations: 4.938 kB / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6018, allocations: 0 / 1.111 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.5e-05/0.6019, allocations: 45.59 kB / 1.111 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6019, allocations: 4 kB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.602, allocations: 4 kB / 1.111 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.602, allocations: 8.094 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.6021, allocations: 11.98 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.6021, allocations: 3.938 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.6022, allocations: 10.47 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.6022, allocations: 0 / 1.111 GB, free: 6.492 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 6.067e-05/0.6022, allocations: 113.4 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.6023, allocations: 0 / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.6024, allocations: 49 kB / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.6024, allocations: 0 / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6024, allocations: 0 / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6024, allocations: 0 / 1.111 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.6026, allocations: 139.4 kB / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6026, allocations: 0 / 1.111 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/0.6026, allocations: 16.02 kB / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6026, allocations: 0 / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.6027, allocations: 0 / 1.111 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6027, allocations: 4 kB / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6027, allocations: 0 / 1.111 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001354/0.6028, allocations: 139.4 kB / 1.111 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.6029, allocations: 85.14 kB / 1.111 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.6029, allocations: 0 / 1.111 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.603, allocations: 7.984 kB / 1.111 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.603, allocations: 4 kB / 1.111 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.603, allocations: 7.906 kB / 1.111 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.891e-05/0.6031, allocations: 80.59 kB / 1.112 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002434/0.6033, allocations: 27.88 kB / 1.112 GB, free: 5.746 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.0002491/0.6036, allocations: 143.3 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.131e-05/0.6037, allocations: 15.94 kB / 1.112 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.6037, allocations: 0 / 1.112 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.986e-05/0.6037, allocations: 12 kB / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.6038, allocations: 0 / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.6041, allocations: 55.92 kB / 1.112 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.6043, allocations: 0.6934 MB / 1.112 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.6044, allocations: 0 / 1.112 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.002635/0.607, allocations: 0.6069 MB / 1.113 GB, free: 4.188 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)