Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.387/1.387, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.001042/0.001042, allocations: 175.5 kB / 361.1 MB, free: 7.09 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.117/1.117, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008732/0.0008733, allocations: 91.38 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.454e-06, allocations: 0 / 0.851 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5658, allocations: 115.3 MB / 0.9637 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.739, allocations: 137.4 MB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.7393, allocations: 72.7 kB / 1.098 GB, free: 2.555 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004515/0.7438, allocations: 1.247 MB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.7438, allocations: 4.719 kB / 1.099 GB, free: 1.348 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.0003934/0.7442, allocations: 353.2 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.7443, allocations: 9.25 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.7443, allocations: 7.906 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.7444, allocations: 164.2 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.7445, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.7445, allocations: 4.781 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.924e-05/0.7446, allocations: 8 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/0.7446, allocations: 39.56 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.7447, allocations: 4.656 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.7447, allocations: 0.8438 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7447, allocations: 0 / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.7451, allocations: 245.4 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.742e-05/0.7452, allocations: 27.2 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.7452, allocations: 9.766 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006343/0.7459, allocations: 450.1 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.7459, allocations: 34.56 kB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7459, allocations: 0 / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002316/0.7462, allocations: 42.27 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.7462, allocations: 51.91 kB / 1.1 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.7463, allocations: 94.3 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.7463, allocations: 25.7 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.7463, allocations: 88.61 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.7464, allocations: 3.906 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.7464, allocations: 0.75 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7465, allocations: 318.9 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.7465, allocations: 5.125 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.207e-05/0.7466, allocations: 4 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.862e-05/0.7466, allocations: 4 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7466, allocations: 0 / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.335e-05/0.7467, allocations: 49.53 kB / 1.101 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.7467, allocations: 8 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7467, allocations: 1.438 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.7467, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.7468, allocations: 16.08 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.7469, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.7469, allocations: 10.47 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.7469, allocations: 0 / 1.101 GB, free: 15.05 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.543e-05/0.747, allocations: 113.8 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.747, allocations: 8 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.7472, allocations: 45 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7472, allocations: 1.688 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7472, allocations: 0 / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.7472, allocations: 0.5625 kB / 1.101 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.7473, allocations: 134.1 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7473, allocations: 0 / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.7474, allocations: 23.95 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7474, allocations: 0 / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.7474, allocations: 7.75 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.7474, allocations: 0 / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7474, allocations: 0 / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001183/0.7476, allocations: 139.5 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.7476, allocations: 77.86 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.7476, allocations: 5.406 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-05/0.7477, allocations: 8 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.7478, allocations: 3.984 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.7478, allocations: 3.906 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.625e-05/0.7478, allocations: 79.28 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002505/0.7481, allocations: 31.88 kB / 1.102 GB, free: 14.3 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.0003138/0.7484, allocations: 144.1 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.271e-05/0.7485, allocations: 19.92 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.7485, allocations: 0 / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.838e-05/0.7485, allocations: 4 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.7487, allocations: 0 / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.7489, allocations: 60.73 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.7492, allocations: 0.6841 MB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7492, allocations: 4.125 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.002531/0.7517, allocations: 0.6123 MB / 1.103 GB, free: 12.75 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)