Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.353/1.353, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001015/0.001015, allocations: 187.2 kB / 361.1 MB, free: 7.137 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.072/1.072, 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.0008209/0.000821, allocations: 87.25 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.034e-05, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4223, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.5553, allocations: 136.6 MB / 1.097 GB, free: 3.395 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.5556, allocations: 75.95 kB / 1.097 GB, free: 3.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003381/0.559, allocations: 0.9571 MB / 1.098 GB, free: 2.395 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.559, allocations: 0 / 1.098 GB, free: 2.395 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.0002094/0.5592, allocations: 319.8 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.5592, allocations: 8.031 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.5593, allocations: 7.984 kB / 1.098 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.699e-05/0.5593, allocations: 163.6 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.5594, allocations: 3.906 kB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.5594, allocations: 0 / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.688e-05/0.5594, allocations: 3.938 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.169e-05/0.5595, allocations: 29.7 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.5595, allocations: 0 / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.5595, allocations: 0 / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5595, allocations: 0.9375 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.53e-05/0.5596, allocations: 124.3 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.252e-05/0.5596, allocations: 22.56 kB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.962e-05/0.5597, allocations: 8.953 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005913/0.5603, allocations: 440 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.5603, allocations: 36.09 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.5603, allocations: 4.438 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001175/0.5604, allocations: 31.3 kB / 1.099 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.5605, allocations: 51.41 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.945e-05/0.5605, allocations: 85 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.5605, allocations: 31.08 kB / 1.099 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.27e-05/0.5605, allocations: 84.73 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.5606, allocations: 3.938 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-06/0.5606, allocations: 0.5938 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.5607, allocations: 311.5 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.5607, allocations: 0.5625 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-06/0.5607, allocations: 4.484 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.5607, allocations: 4.688 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5607, allocations: 3.906 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.126e-05/0.5608, allocations: 35.55 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.5608, allocations: 5.969 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.5608, allocations: 0 / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5608, allocations: 4 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.289e-05/0.5609, allocations: 0.8906 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.5609, allocations: 0 / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.667e-06/0.5609, allocations: 1.344 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.5609, allocations: 0 / 1.1 GB, free: 344 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.051e-05/0.561, allocations: 109.5 kB / 1.1 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-06/0.561, allocations: 3.906 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.561, allocations: 39.58 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5611, allocations: 0.5938 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.5611, allocations: 0 / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.5611, allocations: 1.531 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.418e-05/0.5611, allocations: 130 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5611, allocations: 0 / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.341e-05/0.5612, allocations: 4 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5612, allocations: 5.484 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.5612, allocations: 3.938 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.5612, allocations: 0.625 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5612, allocations: 1.344 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.985e-05/0.5613, allocations: 63.59 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.5613, allocations: 77.11 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-06/0.5613, allocations: 3.906 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.5613, allocations: 0 / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-06/0.5613, allocations: 4 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.5614, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.101e-05/0.5614, allocations: 79.31 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001889/0.5616, allocations: 31.88 kB / 1.1 GB, free: 15.71 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.0002294/0.5618, allocations: 135.7 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.942e-05/0.5619, allocations: 11.92 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5619, allocations: 0 / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.5619, allocations: 0 / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.616e-05/0.562, allocations: 4 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001192/0.5621, allocations: 40.2 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.5623, allocations: 0.688 MB / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.5623, allocations: 0 / 1.101 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of Templates: time 0.001798/0.5641, allocations: 409.5 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)