Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.3/2.3, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.00164, allocations: 187.5 kB / 360.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.1 MB / 0.6188 GB, free: 12.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 86.83 kB / 0.7318 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.346e-05/1.357e-05, allocations: 4 kB / 0.8503 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5602, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2805/0.8407, allocations: 136.5 MB / 1.096 GB, free: 4.203 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.8411, allocations: 68.7 kB / 1.096 GB, free: 4.137 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.005273/0.8464, allocations: 0.9568 MB / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8464, allocations: 0 / 1.097 GB, free: 3.211 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.0002872/0.8467, allocations: 322.4 kB / 1.097 GB, free: 2.852 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.8468, allocations: 9.156 kB / 1.097 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.8468, allocations: 1.688 kB / 1.097 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.8469, allocations: 163.1 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.847, allocations: 5.641 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.847, allocations: 0 / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.639e-05/0.847, allocations: 5.219 kB / 1.098 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.059e-05/0.8471, allocations: 32.41 kB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.8471, allocations: 3.938 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.8472, allocations: 0.7031 kB / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8472, allocations: 0 / 1.098 GB, free: 2.598 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001892/0.8474, allocations: 122.2 kB / 1.098 GB, free: 2.441 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.779e-05/0.8474, allocations: 19.17 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.8474, allocations: 8.516 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009384/0.8484, allocations: 441.5 kB / 1.098 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.522e-05/0.8485, allocations: 38.47 kB / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 3.066e-06/0.8485, allocations: 2.516 kB / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001697/0.8486, allocations: 34.31 kB / 1.098 GB, free: 1.797 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.8487, allocations: 55.34 kB / 1.098 GB, free: 1.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.506e-05/0.8488, allocations: 89.41 kB / 1.098 GB, free: 1.641 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.8488, allocations: 25.7 kB / 1.098 GB, free: 1.609 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.8488, allocations: 80.7 kB / 1.098 GB, free: 1.527 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.8489, allocations: 6.219 kB / 1.098 GB, free: 1.523 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-06/0.8489, allocations: 0 / 1.098 GB, free: 1.523 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.849, allocations: 310.8 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.849, allocations: 8 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.849, allocations: 1.688 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.328e-05/0.8491, allocations: 0 / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.8491, allocations: 3.906 kB / 1.099 GB, free: 1.199 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.21e-05/0.8492, allocations: 33.69 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.8492, allocations: 8.562 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.8492, allocations: 0.6875 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.8492, allocations: 0 / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.8493, allocations: 2.344 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.8493, allocations: 0.9375 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.8494, allocations: 4.656 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.8494, allocations: 0 / 1.099 GB, free: 1.148 MB / 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 7.468e-05/0.8495, allocations: 110.5 kB / 1.099 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.8495, allocations: 4.438 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.8496, allocations: 37.34 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8496, allocations: 1 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8496, allocations: 1.625 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8496, allocations: 0 / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.304e-05/0.8497, allocations: 130.8 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8497, allocations: 0.6875 kB / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.8498, allocations: 0 / 1.099 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.8498, allocations: 4.719 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.8498, allocations: 0 / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.8498, allocations: 8.484 kB / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8498, allocations: 0 / 1.099 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.947e-05/0.8499, allocations: 61.39 kB / 1.099 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.85, allocations: 77.3 kB / 1.099 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.85, allocations: 8.703 kB / 1.099 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.85, allocations: 2.062 kB / 1.099 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.8501, allocations: 7.984 kB / 1.099 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.8501, allocations: 0 / 1.099 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.396e-05/0.8501, allocations: 75.28 kB / 1.099 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000292/0.8504, allocations: 28.81 kB / 1.099 GB, free: 0.5273 MB / 0.698 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.000349/0.8508, allocations: 136.5 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.001e-05/0.8508, allocations: 4 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8509, allocations: 4.062 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.8509, allocations: 4 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.851, allocations: 3.938 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001497/0.8512, allocations: 44.06 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.8515, allocations: 0.6763 MB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.8515, allocations: 1.969 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.002853/0.8543, allocations: 408.5 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)